Admin: More distinctive coloring for different task states.
This commit is contained in:
parent
8b8835e4ac
commit
d97635d32a
|
@ -10,10 +10,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-disabled {
|
.task-disabled {
|
||||||
color: lightcoral;
|
color: #eea236;
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.task-state-running {
|
||||||
|
color: darkblue;
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-state-failed {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
.task-description {
|
.task-description {
|
||||||
max-width: 220px;
|
max-width: 220px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -381,7 +381,9 @@ angular.module('ffffngAdmin').config(function(NgAdminConfigurationProvider, Rest
|
||||||
if (!task) {
|
if (!task) {
|
||||||
return;
|
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