aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/header.html
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-03 19:17:44 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-03 19:17:44 +0800
commitc3e41b62dfdbdbdd17703caf98754531879bd753 (patch)
tree1c5b33e602e2e6ddf792aa9d8a10033ec2ff07d9 /fg21sim/webui/templates/header.html
parent8d653b602b8e75011e031a4018625dd4ab203da0 (diff)
downloadfg21sim-c3e41b62dfdbdbdd17703caf98754531879bd753.tar.bz2
webui: Add a manual reconnection button to the header banner
Also add a global variable "ws_reconnect" to control the timeout between reconnection and the maximum reconnection times (default: 100).
Diffstat (limited to 'fg21sim/webui/templates/header.html')
-rw-r--r--fg21sim/webui/templates/header.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/fg21sim/webui/templates/header.html b/fg21sim/webui/templates/header.html
index b086515..d96dc48 100644
--- a/fg21sim/webui/templates/header.html
+++ b/fg21sim/webui/templates/header.html
@@ -16,6 +16,7 @@
<span class="icon fa fa-question-circle" aria-hidden="true"></span>
<span class="text">N/A</span>
</span>
+ <span id="ws-reconnect" class="btn fa fa-refresh" aria-hidden="true"></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>