Files
puppetboard/puppetboard/templates/node.html
Daniele Sluijters 754784f4af Make fact value clickable.
In the Facts view you can now click on the value of a fact and get a
listing of all the nodes with that value for that fact.

Closes #13
2013-11-05 15:44:34 +01:00

38 lines
1.2 KiB
HTML

{% extends 'layout.html' %}
{% import '_macros.html' as macros %}
{% block content %}
<div class="row-fluid">
<div class="span4">
<h1>Details</h1>
<table class="table table-striped table-condensed" style="table-layout:fixed">
<tbody>
<tr>
<td style="width:140px">Hostname</td>
<td style="word-wrap:break-word"><b>{{node.name}}</b></td>
</tr>
<tr>
<td>Catalog compiled at</td>
<td rel="utctimestamp">{{node.catalog_timestamp}}</td>
</tr>
<tr>
<td>Facts retrieved at</td>
<td rel="utctimestamp">{{node.facts_timestamp}}</td>
</tr>
<tr>
<td>Report uploaded at</td>
<td rel="utctimestamp">{{node.report_timestamp}}</td>
</tr>
</tbody>
</table>
</div>
<div class="span4">
<h1>Facts</h1>
{{macros.facts_table(facts, link_facts=True, condensed=True, margin_top=10)}}
</div>
<div class="span4">
<h1>Reports</h1>
{{ macros.reports_table(reports, node.name, condensed=True, hash_truncate=True, show_conf_col=False, show_agent_col=False, show_host_col=False)}}
</div>
</div>
{% endblock content %}