aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/index.html
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-02 14:27:28 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-02 14:27:28 +0800
commit4cb5f42fd11207482565ecf8dd8cebe033208ff7 (patch)
treef26b35d119406f245f22292aa21a5d1721f9cd66 /fg21sim/webui/templates/index.html
parent68cbe49b04104ca6e1dcfb25165b2100f853449a (diff)
downloadfg21sim-4cb5f42fd11207482565ecf8dd8cebe033208ff7.tar.bz2
webui: Add preliminary WebSocket support to front-end UI
Add a label to the header banner to show the WebSocket support status and connection status.
Diffstat (limited to 'fg21sim/webui/templates/index.html')
-rw-r--r--fg21sim/webui/templates/index.html4
1 files changed, 4 insertions, 0 deletions
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 %}