1
|
<p>
|
2
|
<button class="btn btn-sm btn-default" ng-click="refresh()"><span class="glyphicon glyphicon-refresh"></span> refresh</button>
|
3
|
</p>
|
4
|
<table class="table table-striped">
|
5
|
<thead>
|
6
|
<tr>
|
7
|
<th>Message Id</th>
|
8
|
<th>Resource Type</th>
|
9
|
<th>Action</th>
|
10
|
<th>Date</th>
|
11
|
<th>Status</th>
|
12
|
<th class="text-center">Error</th>
|
13
|
</tr>
|
14
|
</thead>
|
15
|
<tbody>
|
16
|
<tr ng-show="blackboards.length == 0">
|
17
|
<td colspan="6">No blackboard messsages</td>
|
18
|
</tr>
|
19
|
<tr ng-repeat="b in blackboards">
|
20
|
<td><a href="#/profile/{{b.profId}}">{{b.messageId}}</a></td>
|
21
|
<td>{{b.resourceType}}</td>
|
22
|
<td>{{b.action}}</td>
|
23
|
<td>{{b.date}}</td>
|
24
|
<td><span class="label label-default" ng-class="{'label-primary': b.actionStatus=='ASSIGNED', 'label-success': b.actionStatus=='ONGOING', 'label-success': b.actionStatus=='DONE', 'label-danger': b.actionStatus=='FAILED'}">{{b.actionStatus}}</span></td>
|
25
|
<td class="text-center"><span class="text-danger glyphicon glyphicon-warning-sign" title="{{b.error}}" ng-show="b.error"></span></td>
|
26
|
</tr>
|
27
|
</tbody>
|
28
|
</table>
|