diff options
author | Simon Rettberg | 2014-06-11 15:27:12 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-06-11 15:27:12 +0200 |
commit | 7c84f4ea0b83794b6fde1aa26fc11b55c7542c0b (patch) | |
tree | e8ad3624dfab5f2bcfcd6779b86ceb520f59aa69 /script | |
parent | Improved some help text :) (diff) | |
download | slx-admin-7c84f4ea0b83794b6fde1aa26fc11b55c7542c0b.tar.gz slx-admin-7c84f4ea0b83794b6fde1aa26fc11b55c7542c0b.tar.xz slx-admin-7c84f4ea0b83794b6fde1aa26fc11b55c7542c0b.zip |
Add animation class slx-rotation that will make an element rotate (used for "in progress")
Diffstat (limited to 'script')
-rw-r--r-- | script/taskmanager.js | 2 |
1 files changed, 1 insertions, 1 deletions
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') { |