_macros.html: Add a second Pie chart to facts/<fact>

The second chart is in order of the value of the fact. So in the
uptime fact we see 1 day before 2 days before 50 days.
This commit is contained in:
Spencer Krum
2013-08-28 17:07:33 -07:00
committed by Daniele Sluijters
parent 23af033cbb
commit e1603608bc
2 changed files with 27 additions and 2 deletions

View File

@@ -3,5 +3,6 @@
{% block content %}
<h1>{{name}}</h1>
{{macros.facts_graph(facts, autofocus=True, show_node=True, margin_bottom=10)}}
{{macros.facts_graph_value(facts, autofocus=True, show_node=True, margin_bottom=10)}}
{{macros.facts_table(facts, autofocus=True, show_node=True, margin_bottom=10)}}
{% endblock content %}