diff options
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> |