From 7c84f4ea0b83794b6fde1aa26fc11b55c7542c0b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 11 Jun 2014 15:27:12 +0200 Subject: Add animation class slx-rotation that will make an element rotate (used for "in progress") --- script/taskmanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') diff --git a/script/taskmanager.js b/script/taskmanager.js index c2305a2b..0184bdcd 100644 --- a/script/taskmanager.js +++ b/script/taskmanager.js @@ -99,7 +99,7 @@ function tmResult(data, status) } else if (task.statusCode === 'TASK_WAITING') { icon.attr('class', 'data-tm-icon glyphicon glyphicon-pause'); } else if (task.statusCode === 'TASK_PROCESSING') { - icon.attr('class', 'data-tm-icon glyphicon glyphicon-play'); + icon.attr('class', 'data-tm-icon glyphicon glyphicon-refresh slx-rotation'); } else if (task.statusCode === 'TASK_FINISHED') { icon.attr('class', 'data-tm-icon glyphicon glyphicon-ok'); } else if (task.statusCode === 'TASK_ERROR') { -- cgit v1.2.3-55-g7522