summaryrefslogtreecommitdiff
path: root/sublab_project/templates/base.html
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2012-01-11 09:49:53 +0100
committerChristian Franke <nobody@nowhere.ws>2012-01-11 09:49:53 +0100
commit9a94e0095a51981cc668ac0269667a307c45923c (patch)
tree76a92a43a24b0a7b376912e310353677c746c074 /sublab_project/templates/base.html
parentfff2edd3a10a7f9585d4a734740420256246b9b5 (diff)
add network_monitor
Diffstat (limited to 'sublab_project/templates/base.html')
-rw-r--r--sublab_project/templates/base.html25
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>&nbsp;&nbsp;<span class="taifunoffline">Offline</span>
- </td>
+ {% host_status 'taifun' %}
</tr>
<tr>
- <td class="status">
- Trieste:
- </td>
- <td class="status">
- <span class="triesteonline">Online</span>&nbsp;&nbsp;<span class="triesteoffline">Offline</span>
- </td>
+ {% host_status 'trieste' %}
</tr>
<tr>
- <td class="status">
- Nautilus:
- </td>
- <td class="status">
- <span class="nautilusonline">Online</span>&nbsp;&nbsp;<span class="nautilusoffline">Offline</span>
- </td>
+ {% host_status 'nautilus' %}
</tr>
</table>
</div>