Admin: More distinctive coloring for different task states.
This commit is contained in:
parent
8b8835e4ac
commit
d97635d32a
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue