Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos
Commits
a56108bf
Commit
a56108bf
authored
Jul 29, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prettify index.html
parent
60f31b4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
stack/monitor/buildout.cfg
stack/monitor/buildout.cfg
+1
-1
stack/monitor/webfile-directory/index.html.jinja2
stack/monitor/webfile-directory/index.html.jinja2
+2
-2
No files found.
stack/monitor/buildout.cfg
View file @
a56108bf
...
@@ -80,7 +80,7 @@ recipe = hexagonit.recipe.download
...
@@ -80,7 +80,7 @@ recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/webfile-directory/${:filename}
url = ${:_profile_base_location_}/webfile-directory/${:filename}
download-only = true
download-only = true
destination = ${buildout:parts-directory}/monitor-template-index
destination = ${buildout:parts-directory}/monitor-template-index
md5sum =
7400c8cfa16a15a0d41f512b8bbb1581
md5sum =
2ec0c725d7fda5e4847d0ad29347b656
filename = index.html.jinja2
filename = index.html.jinja2
mode = 0644
mode = 0644
...
...
stack/monitor/webfile-directory/index.html.jinja2
View file @
a56108bf
...
@@ -14,11 +14,11 @@
...
@@ -14,11 +14,11 @@
{% for category in tree %}
{% for category in tree %}
<li
class=
"pure-menu-heading category"
>
{{ category }}
</li>
<li
class=
"pure-menu-heading category"
>
{{ category }}
</li>
{% for script in tree[category] %}
{% 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 %}
{% endfor %}
{% endfor %}
<li
class=
"pure-menu-heading category"
>
Files
</li>
<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>
<li
class=
"pure-menu-heading category"
>
Local Service
</li>
{% set rewrite_list = monitor_rewrite.split() %}
{% set rewrite_list = monitor_rewrite.split() %}
{% for path in rewrite_list %}
{% for path in rewrite_list %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment