Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Louis
pypimonitor
Commits
fcd54c91
Commit
fcd54c91
authored
May 26, 2016
by
Louis
Browse files
Hide table and charts if there is no packages
parent
e34d4f16
Pipeline
#7397
failed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pypimonitor/data/templates/index.html
View file @
fcd54c91
...
...
@@ -23,6 +23,7 @@
{% endif %}
{% if packages %}
{{ linecharts.plot(packages.values()) }}
<table>
...
...
@@ -53,6 +54,7 @@
{%- endfor %}
</tbody>
</table>
{% endif %}
{% for package in packages|sort %}
{{ linecharts.plot([packages[package]]) }}
...
...
Write
Preview
Supports
Markdown
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