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/templates | |
parent | fff2edd3a10a7f9585d4a734740420256246b9b5 (diff) |
add network_monitor
Diffstat (limited to 'sublab_project/templates')
-rw-r--r-- | sublab_project/templates/base.html | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/sublab_project/templates/base.html b/sublab_project/templates/base.html index ccca784..41b7d59 100644 --- a/sublab_project/templates/base.html +++ b/sublab_project/templates/base.html @@ -1,3 +1,4 @@ +{% load host_status %} <!DOCTYPE HTML> <html> <head> @@ -13,9 +14,6 @@ {# <meta name="description" lang="en" content="$template_desc_en"> #} <link rel="stylesheet" href="{{ STATIC_URL }}css/sublab.css" type="text/css"> - <link rel="stylesheet" href="{{ STATIC_URL }}autogen/taifun.status.css" type="text/css"> - <link rel="stylesheet" href="{{ STATIC_URL }}autogen/trieste.status.css" type="text/css"> - <link rel="stylesheet" href="{{ STATIC_URL }}autogen/nautilus.status.css" type="text/css"> <link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.png"> {% block feeds %} @@ -92,28 +90,13 @@ <div class="status"> <table> <tr> - <td class="status"> - Taifun: - </td> - <td class="statusinfo"> - <span class="taifunonline">Online</span> <span class="taifunoffline">Offline</span> - </td> + {% host_status 'taifun' %} </tr> <tr> - <td class="status"> - Trieste: - </td> - <td class="status"> - <span class="triesteonline">Online</span> <span class="triesteoffline">Offline</span> - </td> + {% host_status 'trieste' %} </tr> <tr> - <td class="status"> - Nautilus: - </td> - <td class="status"> - <span class="nautilusonline">Online</span> <span class="nautilusoffline">Offline</span> - </td> + {% host_status 'nautilus' %} </tr> </table> </div> |