mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-27 02:52:14 +01:00
Merge pull request #235 from rakshazi/patch-1
Task history: changed status colors
This commit is contained in:
commit
4de2ef7f84
@ -13,7 +13,7 @@
|
||||
h4.no-top-margin Task history
|
||||
ul.nav.nav-pills.nav-stacked.task-history-list
|
||||
li(ng-repeat="task in tasks"): a(ng-click="openTask(task)" href="#")
|
||||
span(ng-class="{ 'text-warning': task.status == 'waiting' || task.status == 'running', 'text-danger': task.status == 'error', 'text-success': task.status == 'success' }")
|
||||
span(ng-class="{ 'text-muted': task.status == 'waiting', 'text-info': task.status == 'running', 'text-danger': task.status == 'error', 'text-success': task.status == 'success' }")
|
||||
span(ng-if="task.playbook.length == 0") {{ task.tpl_playbook }}
|
||||
span(ng-if="task.playbook.length > 0") {{ task.playbook }}
|
||||
span.pull-right(ng-if="task.status == 'waiting'") {{ task.created | date:'short' }}
|
||||
|
Loading…
Reference in New Issue
Block a user