Added the report column to the dashboard page

This commit is contained in:
Fotis Gimian
2015-05-10 14:53:21 +10:00
parent 59b7717e8f
commit 62d1f26f7a
3 changed files with 16 additions and 6 deletions

View File

@@ -65,7 +65,8 @@
<thead>
<tr>
<th class="five wide">Status</th>
<th class="ten wide">Hostname</th>
<th class="five wide">Hostname</th>
<th class="five wide">Report</th>
<th class="one wide"></th>
</tr>
</thead>
@@ -99,9 +100,16 @@
<a href="{{url_for('node', node_name=node.name)}}">{{ node.name }}</a>
</td>
<td>
<a title="Latest Report" href="{{url_for('report_latest', node_name=node.name)}}">
<i class="large tasks darkblue icon"></i>
</a>
{% if node.report_timestamp %}
<a href="{{url_for('report_latest', node_name=node.name)}}" rel='utctimestamp'>{{ node.report_timestamp }}</a>
{% else %}
<i class="large ban circle icon"></i>
{% endif %}
</td>
<td>
{% if node.report_timestamp %}
<a title='Reports' href="{{url_for('reports_node', node=node.name)}}"><i class='large darkblue book icon'></i></a>
{% endif %}
</td>
</tr>
{% endif %}