Added the report column to the dashboard page
This commit is contained in:
@@ -13,7 +13,7 @@ $('.facts').tablesorter(
|
|||||||
|
|
||||||
$('.dashboard').tablesorter(
|
$('.dashboard').tablesorter(
|
||||||
headers:
|
headers:
|
||||||
2:
|
3:
|
||||||
sorter: false
|
sorter: false
|
||||||
sortList: [[0, 1]]
|
sortList: [[0, 1]]
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -21,7 +21,9 @@
|
|||||||
|
|
||||||
$('.dashboard').tablesorter({
|
$('.dashboard').tablesorter({
|
||||||
headers: {
|
headers: {
|
||||||
2: { sorter: false }
|
3: {
|
||||||
|
sorter: false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
sortList: [[0, 1]]
|
sortList: [[0, 1]]
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -65,7 +65,8 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="five wide">Status</th>
|
<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>
|
<th class="one wide"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -99,9 +100,16 @@
|
|||||||
<a href="{{url_for('node', node_name=node.name)}}">{{ node.name }}</a>
|
<a href="{{url_for('node', node_name=node.name)}}">{{ node.name }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a title="Latest Report" href="{{url_for('report_latest', node_name=node.name)}}">
|
{% if node.report_timestamp %}
|
||||||
<i class="large tasks darkblue icon"></i>
|
<a href="{{url_for('report_latest', node_name=node.name)}}" rel='utctimestamp'>{{ node.report_timestamp }}</a>
|
||||||
</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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user