summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2013-03-25 19:07:01 +0100
committerChristian Franke <nobody@nowhere.ws>2013-03-25 19:07:01 +0100
commit88c6b4ed85fbe23caf42dc69db03f79c3e60cd2e (patch)
tree7012f7fa4ac63996283b076b76ce93753eb47d38
parentff4405de1f639d9b5f4f1ce3923e017f4c4978c9 (diff)
Update status backend
-rwxr-xr-xscripts/status_script.py2
-rw-r--r--scripts/sub_api.py2
-rw-r--r--template/template/template.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/status_script.py b/scripts/status_script.py
index 8881735..abafd8a 100755
--- a/scripts/status_script.py
+++ b/scripts/status_script.py
@@ -12,7 +12,7 @@ class SublabStatus(object):
if self.json is not None:
return self.json
- with contextlib.closing(urllib.urlopen('http://taifun.local.sublab.org/subcan.json')) as response:
+ with contextlib.closing(urllib.urlopen('http://argonaut.local.sublab.org/subcan.json')) as response:
self.json = json.load(response)
return self.json
diff --git a/scripts/sub_api.py b/scripts/sub_api.py
index 8d1eb32..69f0737 100644
--- a/scripts/sub_api.py
+++ b/scripts/sub_api.py
@@ -10,7 +10,7 @@ import os.path
base_path = os.path.realpath(os.path.dirname(__file__))
base_path = os.path.join(base_path, '..')
json_template = os.path.join(base_path, "template", "template.spaceapi.json")
-input_url = "http://taifun.local.sublab.org/subcan.json"
+input_url = "http://argonaut.local.sublab.org/subcan.json"
output_file = os.path.join(base_path, "public", "status.json")
status_dict = { "open" : True , "closed" : False }
diff --git a/template/template/template.html b/template/template/template.html
index f08e881..1990642 100644
--- a/template/template/template.html
+++ b/template/template/template.html
@@ -118,14 +118,14 @@ Git</a>
<span class="box triesteonline">Online</span>&nbsp;&nbsp;<span class="box triesteoffline">Offline</span>
</td>
</tr>
- <tr>
+ <!--<tr>
<td class="status">
Nautilus:
</td>
<td class="status">
<span class="box nautilusonline">Online</span>&nbsp;&nbsp;<span class="box nautilusoffline">Offline</span>
</td>
- </tr>
+ </tr>-->
</table>
</div>
<hr>