Semaphore/public/html/projects/dashboard.jade

28 lines
1.1 KiB
Plaintext
Raw Normal View History

.row
.col-sm-7
h3.no-top-margin Project activity
ul.list-unstyled
li(ng-repeat="event in events")
2016-12-21 11:12:35 +01:00
strong: time(ng-bind="event.createdFormatted")
2016-04-17 02:20:23 +02:00
span : 
span(ng-bind="event.object_name")
2016-04-17 12:41:36 +02:00
span(ng-if="event.object_name.length > 0") - 
span {{ event.description }}
2016-05-16 17:58:18 +02:00
.col-sm-5(style="border-left: 1px solid #EEE;")
h4.no-top-margin Task history
2016-05-16 17:58:18 +02:00
ul.nav.nav-pills.nav-stacked.task-history-list
2016-05-08 11:36:17 +02:00
li(ng-repeat="task in tasks"): a(ng-click="openTask(task)" href="#")
span(ng-class="{ 'text-muted': task.status == 'waiting', 'text-info': task.status == 'running', 'text-danger': task.status == 'error', 'text-success': task.status == 'success' }")
2016-05-16 17:58:18 +02:00
span(ng-if="task.playbook.length == 0") {{ task.tpl_playbook }}
span(ng-if="task.playbook.length > 0") {{ task.playbook }}
2016-12-21 11:12:35 +01:00
span.pull-right(ng-if="task.status == 'waiting'") {{ task.createdFormatted }}
span.pull-right(ng-if="task.status != 'waiting'") {{ task.startFormatted }}
2016-04-17 02:20:23 +02:00
br
2016-05-16 17:58:18 +02:00
span  
span.pull-right {{ task.duration }} minutes
br
span  
span.pull-right(ng-if="task.user_name") by {{ task.user_name }}