overview: Add a count, info if nothing is changing
The Nodes status detail now shows for how many nodes we have events. Additionally when there are no events we simply show an alert that nothing is going on.
This commit is contained in:
@@ -52,7 +52,8 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
<h2>Node Status Detail</h2>
|
{% if nodes %}
|
||||||
|
<h2>Nodes status detail ({{nodes|length}})</h2>
|
||||||
<table class='dashboard table table-striped table-condensed'>
|
<table class='dashboard table table-striped table-condensed'>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -83,7 +84,12 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{% else %}
|
||||||
|
<h2>Nodes status detail</h2>
|
||||||
|
<div class="alert alert-info">
|
||||||
|
Nothing seems to be changing.
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user