aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/webui/templates')
-rw-r--r--fg21sim/webui/templates/header.html5
-rw-r--r--fg21sim/webui/templates/index.html4
2 files changed, 9 insertions, 0 deletions
diff --git a/fg21sim/webui/templates/header.html b/fg21sim/webui/templates/header.html
index 6309b50..b086515 100644
--- a/fg21sim/webui/templates/header.html
+++ b/fg21sim/webui/templates/header.html
@@ -12,6 +12,11 @@
</a>
<span class="description">Foregrounds Simulation for EoR 21cm Signal Detection</span>
+ <span id="ws-status" class="label label-default">
+ <span class="icon fa fa-question-circle" aria-hidden="true"></span>
+ <span class="text">N/A</span>
+ </span>
+
<ul class="navigation-list float-right">
<li class="navigation-item"><a class="navigation-link button button-outline" href="#configs" title="Configurations"><span class="fa fa-wrench" aria-hidden="true"></span> Configurations</a></li>
<li class="navigation-item"><a class="navigation-link button button-outline" href="#console" title="Console"><span class="fa fa-gamepad" aria-hidden="true"></span> Console</a></li>
diff --git a/fg21sim/webui/templates/index.html b/fg21sim/webui/templates/index.html
index 105c4a0..8eb65cd 100644
--- a/fg21sim/webui/templates/index.html
+++ b/fg21sim/webui/templates/index.html
@@ -28,3 +28,7 @@
{% block footer %}
{% include "footer.html" %}
{% end %}
+
+{% block extra_script %}
+ <script src="{{ static_url('js/websocket.js') }}"></script>
+{% end %}