aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static/js/console.js
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-22 20:43:25 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-22 20:43:25 +0800
commit8215466fbfce7c3c48dcde64f1d8093369c88a2c (patch)
treec4d7f5ce0e7d6486e27b646f43d4048ab041e4ce /fg21sim/webui/static/js/console.js
parentb73e9b03d2370c1e199f39988b22cbe0a3e7b200 (diff)
downloadfg21sim-8215466fbfce7c3c48dcde64f1d8093369c88a2c.tar.bz2
webui: products: Implement HPX conversion function
Diffstat (limited to 'fg21sim/webui/static/js/console.js')
-rw-r--r--fg21sim/webui/static/js/console.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/fg21sim/webui/static/js/console.js b/fg21sim/webui/static/js/console.js
index 71603ed..2bb9525 100644
--- a/fg21sim/webui/static/js/console.js
+++ b/fg21sim/webui/static/js/console.js
@@ -33,7 +33,7 @@ var updateTaskStatus = function (status) {
$("#task-status").removeClass("label-success label-warning label-danger")
.addClass("label-default");
$("#task-status .icon").removeClass("fa-check-circle fa-question-circle")
- .removeClass("fa-spin fa-spinner")
+ .removeClass("fa-cog fa-spinner")
.addClass("fa-coffee");
}
else if (!running && finished) {
@@ -41,7 +41,7 @@ var updateTaskStatus = function (status) {
$("#task-status").removeClass("label-default label-warning label-danger")
.addClass("label-success");
$("#task-status .icon").removeClass("fa-coffee fa-question-circle")
- .removeClass("fa-spin fa-spinner")
+ .removeClass("fa-cog fa-spinner")
.addClass("fa-check-circle");
}
else if (running && !finished) {
@@ -50,7 +50,7 @@ var updateTaskStatus = function (status) {
.addClass("label-warning");
$("#task-status .icon").removeClass("fa-coffee fa-check-circle")
.removeClass("fa-question-circle")
- .addClass("fa-spin fa-spinner");
+ .addClass("fa-cog fa-spinner");
}
else {
// Unknown status: ERROR ??
@@ -58,7 +58,7 @@ var updateTaskStatus = function (status) {
$("#task-status").removeClass("label-default label-success label-warning")
.addClass("label-danger");
$("#task-status .icon").removeClass("fa-coffee fa-check-circle")
- .removeClass("fa-spin fa-spinner")
+ .removeClass("fa-cog fa-spinner")
.addClass("fa-question-circle");
}
console.log("Task status:", ts);