aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-09 20:59:44 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-09 21:10:29 +0800
commit31e328d5ea6aff36e43ad54029589c7f15be82b7 (patch)
tree34d0855d1b683ce2a42b81f594adb3f5d5292543 /fg21sim/webui/templates
parent0c2ab928af57178e6d7d3265709c3f1c3b654013 (diff)
downloadfg21sim-31e328d5ea6aff36e43ad54029589c7f15be82b7.tar.bz2
webui: Implement status updating function
Add "updateTaskStatus()" to update the "#task-status" element. Also add function "getServerTaskStatus()" to get the task status from the server.
Diffstat (limited to 'fg21sim/webui/templates')
-rw-r--r--fg21sim/webui/templates/console.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/fg21sim/webui/templates/console.html b/fg21sim/webui/templates/console.html
index 5236a6e..e7853c9 100644
--- a/fg21sim/webui/templates/console.html
+++ b/fg21sim/webui/templates/console.html
@@ -11,7 +11,10 @@
<p class="status"><strong>
<span class="fa fa-dashboard" aria-hidden="true"></span>
Simulation status:
- <span id="task-status" class="label label-default">N/A</span>
+ <span id="task-status" class="label label-default">
+ <span class="icon fa fa-coffee" aria-hidden="true"></span>
+ <span class="text">Not started</span>
+ </span>
</strong></p>
<p class="button-group">