diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-02 14:27:28 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-02 14:27:28 +0800 |
commit | 4cb5f42fd11207482565ecf8dd8cebe033208ff7 (patch) | |
tree | f26b35d119406f245f22292aa21a5d1721f9cd66 /fg21sim/webui/templates/header.html | |
parent | 68cbe49b04104ca6e1dcfb25165b2100f853449a (diff) | |
download | fg21sim-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/header.html')
-rw-r--r-- | fg21sim/webui/templates/header.html | 5 |
1 files changed, 5 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> |