diff options
author | Christian Franke <nobody@nowhere.ws> | 2012-01-11 09:49:53 +0100 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2012-01-11 09:49:53 +0100 |
commit | 9a94e0095a51981cc668ac0269667a307c45923c (patch) | |
tree | 76a92a43a24b0a7b376912e310353677c746c074 /sublab_project/sublab_monitor/templates | |
parent | fff2edd3a10a7f9585d4a734740420256246b9b5 (diff) |
add network_monitor
Diffstat (limited to 'sublab_project/sublab_monitor/templates')
-rw-r--r-- | sublab_project/sublab_monitor/templates/sublab_monitor/host_status.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sublab_project/sublab_monitor/templates/sublab_monitor/host_status.html b/sublab_project/sublab_monitor/templates/sublab_monitor/host_status.html new file mode 100644 index 0000000..5d26dd9 --- /dev/null +++ b/sublab_project/sublab_monitor/templates/sublab_monitor/host_status.html @@ -0,0 +1,6 @@ +<td class="status"> {{ hostname|capfirst }}: </td> +<td class="status"> + <span class="{{ status|yesno:"green,grey" }}">Online</span> + + <span class="{{ status|yesno:"grey,red,grey" }}">Offline</span> +</td> |