2014-08-30 20:05:44 +02:00
|
|
|
h2 Tasks
|
|
|
|
small(ng-if="status.length > 0" ng-bind="status")
|
2014-08-25 22:19:05 +02:00
|
|
|
|
2014-08-30 20:05:44 +02:00
|
|
|
table.table.table-hover
|
|
|
|
thead
|
|
|
|
tr
|
|
|
|
th Job Name
|
|
|
|
th Play File
|
|
|
|
th Status
|
|
|
|
th
|
|
|
|
tbody
|
|
|
|
tr(ng-repeat="task in tasks.tasks")
|
|
|
|
td {{ task.data.job.name }}
|
|
|
|
td {{ task.data.job.play_file }}
|
|
|
|
td
|
|
|
|
i.fa.fa-fw.fa-spin.fa-cog(ng-if="task.data.status == 'Running'")
|
|
|
|
i.fa.fa-fw.fa-check(ng-if="task.data.status == 'Completed'")
|
|
|
|
i.fa.fa-fw.fa-times(ng-if="task.data.status == 'Failed'")
|
|
|
|
| {{ task.data.status }}
|
|
|
|
td
|
|
|
|
.btn-group.pull-right
|
|
|
|
button.btn.btn-default.btn-xs(ng-click="openOutput(task)" ng-if="task.data.status != 'Queued'")
|
|
|
|
i.fa.fa-fw.fa-file-code-o
|
|
|
|
| See Output
|
|
|
|
button.btn.btn-danger.btn-xs(ng-click="removeTask(task)" ng-if="task.data.status != 'Running'")
|
|
|
|
i.fa.fa-fw.fa-times
|
|
|
|
| Remove Task
|
|
|
|
|
|
|
|
#taskOutput.modal.fade
|
|
|
|
.modal-dialog.modal-lg
|
|
|
|
.modal-content
|
|
|
|
.modal-header
|
|
|
|
button(data-dismiss="modal").close: span ×
|
|
|
|
h4.modal-title Task Output
|
|
|
|
.modal-body
|
|
|
|
pre: code: {{ openTask.data.output }}
|