From 8215466fbfce7c3c48dcde64f1d8093369c88a2c Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 22 Nov 2016 20:43:25 +0800 Subject: webui: products: Implement HPX conversion function --- fg21sim/webui/static/js/console.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fg21sim/webui/static/js/console.js') 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); -- cgit v1.2.2