node: Give the node overview some breathing room.

The interface was too packed causing the facts and reports tables to be
jammed into place.

Currently working on a complete new node overview page but this should
make things a bit more workable in the meantime.
This commit is contained in:
Daniele Sluijters
2013-11-05 16:10:46 +01:00
parent 754784f4af
commit 79ac5b3cb0

View File

@@ -2,34 +2,34 @@
{% import '_macros.html' as macros %}
{% block content %}
<div class="row-fluid">
<div class="span4">
<div class="span12">
<h1>Details</h1>
<table class="table table-striped table-condensed" style="table-layout:fixed">
<thead>
<tr>
<th>Hostname</th>
<th>Facts uploaded at</th>
<th>Catalog compiled at</th>
<th>Report uploaded at</th>
</tr>
</thead>
<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.catalog_timestamp}}</td>
<td rel="utctimestamp">{{node.report_timestamp}}</td>
</tr>
</tbody>
</table>
</div>
<div class="span4">
</div>
<div class="row-fluid">
<div class="span6">
<h1>Facts</h1>
{{macros.facts_table(facts, link_facts=True, condensed=True, margin_top=10)}}
</div>
<div class="span4">
<div class="span6">
<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>