Commit a56108bf authored by Tristan Cavelier's avatar Tristan Cavelier

prettify index.html

parent 60f31b4a
......@@ -80,7 +80,7 @@ recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/webfile-directory/${:filename}
download-only = true
destination = ${buildout:parts-directory}/monitor-template-index
md5sum = 7400c8cfa16a15a0d41f512b8bbb1581
md5sum = 2ec0c725d7fda5e4847d0ad29347b656
filename = index.html.jinja2
mode = 0644
......
......@@ -14,11 +14,11 @@
{% for category in tree %}
<li class="pure-menu-heading category">{{ category }}</li>
{% for script in tree[category] %}
<li><a href="{{ category }}/{{ script }}" class="script">{{ script }}</a></li>
<li><a href="{{ category }}/{{ script }}" class="script">{{ ".".join(script.split(".")[:-1]) }}</a></li>
{% endfor %}
{% endfor %}
<li class="pure-menu-heading category">Files</li>
<li><a href="./private/" class="link"> User: admin</br> Password is yours</a></li>
<li><a href="./private/" class="link"> User: admin<br/> Password is yours</a></li>
<li class="pure-menu-heading category">Local Service</li>
{% set rewrite_list = monitor_rewrite.split() %}
{% for path in rewrite_list %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment