Files
puppetboard/puppetboard/templates/fact.html
Spencer Krum 7a0c4bd837 Selecting which graphs to show with config option
Known-good facts to graph are set as defaults. This list is merged
with whatever facts are listed in settings.py
2015-01-24 21:15:52 -08:00

14 lines
528 B
HTML

{% extends 'layout.html' %}
{% import '_macros.html' as macros %}
{% block content %}
<h1>{{name}}{% if value %}/{{value}}{% endif %} ({{facts|length}})</h1>
{% if render_graph %}
{{macros.facts_graph(facts, autofocus=True, show_node=True, margin_bottom=10)}}
{% endif %}
{% if value %}
{{macros.facts_table(facts, autofocus=True, show_node=True, show_value=False, margin_bottom=10)}}
{% else %}
{{macros.facts_table(facts, autofocus=True, show_node=True, link_facts=True, margin_bottom=10)}}
{% endif %}
{% endblock content %}