Added the report column to the dashboard page
This commit is contained in:
@@ -13,7 +13,7 @@ $('.facts').tablesorter(
|
||||
|
||||
$('.dashboard').tablesorter(
|
||||
headers:
|
||||
2:
|
||||
3:
|
||||
sorter: false
|
||||
sortList: [[0, 1]]
|
||||
)
|
||||
|
||||
@@ -21,7 +21,9 @@
|
||||
|
||||
$('.dashboard').tablesorter({
|
||||
headers: {
|
||||
2: { sorter: false }
|
||||
3: {
|
||||
sorter: false
|
||||
}
|
||||
},
|
||||
sortList: [[0, 1]]
|
||||
});
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user