diff --git a/admin/index.html b/admin/index.html
index 9c39a5f..73b8d7b 100644
--- a/admin/index.html
+++ b/admin/index.html
@@ -10,10 +10,18 @@
}
.task-disabled {
- color: lightcoral;
+ color: #eea236;
text-decoration: line-through;
}
+ .task-state-running {
+ color: darkblue;
+ }
+
+ .task-state-failed {
+ color: red;
+ }
+
.task-description {
max-width: 220px;
}
diff --git a/admin/js/main.js b/admin/js/main.js
index 5d408fc..e4cee3d 100644
--- a/admin/js/main.js
+++ b/admin/js/main.js
@@ -381,7 +381,9 @@ angular.module('ffffngAdmin').config(function(NgAdminConfigurationProvider, Rest
if (!task) {
return;
}
- return 'task-' + field + ' ' + (task.values.enabled ? 'task-enabled' : 'task-disabled');
+ return 'task-' + field + ' ' +
+ (task.values.enabled ? 'task-enabled' : 'task-disabled') + ' '
+ + 'task-state-' + task.values.state;
};
}