1
|
<wf-process-modal proc-id="currentId" visible="showGraphModal"></wf-process-modal>
|
2
|
|
3
|
<wf-process-log-modal entry="currentProc" visible="showLogModal"></wf-process-log-modal>
|
4
|
|
5
|
|
6
|
<form class="form-inline pull-right" style="margin-bottom: 20px;">
|
7
|
<input type="text" class="form-control input-sm" ng-model="searchHistory" placeholder="Filter..."/>
|
8
|
<button type="button" class="btn btn-default btn-sm" ng-click="doOnRefesh()">
|
9
|
<span class="glyphicon glyphicon-refresh"></span>
|
10
|
</button>
|
11
|
</form>
|
12
|
|
13
|
<table class="table table-striped" style="font-size:12px;">
|
14
|
<thead>
|
15
|
<tr>
|
16
|
<th style="width: 15%;">Process Id</th>
|
17
|
<th style="width: 40%;">Workflow name</th>
|
18
|
<th style="width: 15%;">Workflow family</th>
|
19
|
<th class="text-center" style="width: 10%;">Status</th>
|
20
|
<th class="text-right">Date</th>
|
21
|
</tr>
|
22
|
</thead>
|
23
|
<tbody>
|
24
|
<tr ng-repeat="h in filteredHistory = (ngModel | filter: searchHistory)">
|
25
|
<td><a href="javascript:void(0)" ng-click="showProcessLog(h)">{{h.procId}}</a></td>
|
26
|
<td>{{h.name}}</td>
|
27
|
<td>{{h.family}}</td>
|
28
|
<td class="text-center">
|
29
|
<span class="label label-success" ng-show="h.success">SUCCESS</span>
|
30
|
<span class="label label-danger" ng-hide="h.success">FAILURE</span>
|
31
|
</td>
|
32
|
<td class="text-right">{{ (h.endDate > 0 && h.endDate < 9999999999999) ? (h.endDate | date:"yyyy-MM-dd HH:mm:ss") : "-" }}</td>
|
33
|
</tr>
|
34
|
<tr ng-show="filteredHistory.length == 0">
|
35
|
<td colspan="5">No entry</td>
|
36
|
</tr>
|
37
|
</tbody>
|
38
|
</table>
|