forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWorkitemQueues.html
More file actions
52 lines (50 loc) · 2.27 KB
/
Copy pathWorkitemQueues.html
File metadata and controls
52 lines (50 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<div id="title" class="row">
<h1>{{ctrl.queue}} <span translate lib="web">workitemqueues</span></h1>
</div>
<div class="row">
<div class="col-md-6">
</div>
<div class="col-md-6 text-right">
<a ng-href="#/WorkitemQueue" class="btn btn-info" ng-show="ctrl.loading == false" title="Add new Workitem queue"><em
class="fas fa-plus"></em></a>
<em class="fas fa-plus btn disabled" ng-show="ctrl.loading == true"></em>
<em class="fas fa-cog fa-spin" ng-show="ctrl.loading==true" title="Hang on, loading data"></em>
<!-- <em class="fas fa-cog" ng-show="ctrl.loading!=true" title="I spin, while loading data"></em> -->
</div>
</div>
<div ng-show="ctrl.errormessage != ''"" class=" alert alert-danger" role="alert">{{ctrl.errormessage}}</div>
<table id="table1" class="table table-striped" when-scrolled="ctrl.more()" style="width: 100%;">
<thead class="thead-dark">
<tr>
<th ng-click="ctrl.ToggleOrder('name')"><b translate lib="web">name</b></th>
<th ng-click="ctrl.ToggleOrder('maxretries')"><b translate lib="web">maxretries</b></th>
<th ng-click="ctrl.ToggleOrder('projectid')"><b translate lib="web">projectid</b></th>
<th class="text-right"></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="model in ctrl.models">
<td class="text-truncate">
<a style="color: inherit; text-decoration: inherit;" ng-href="#/WorkitemQueue/{{model._id}}">
{{model.name}}</a></td>
<td class="text-truncate">{{model.maxretries}}</td>
<td class="text-truncate">
<a ng-href="#/Entity/openrpa/{{model.projectid}}">
{{model.projectid}}
</a>
</td>
<td>
<div class="w-200 text-right">
<a class="btn" ng-href="#/WorkitemQueue/{{model._id}}" title="Edit Workitem queue">
<em class="fas fa-edit"></em>
</a>
<a href ng-click="ctrl.PurgeWorkitemQueue(model)" title="Purge all work items from queue" class="btn"
ng-disabled="ctrl.loading==true"><em class="fas fa-eraser"></em></a>
<a href ng-click="ctrl.DeleteWorkitemQueue(model)" class="btn"
title="Delete Workitem Queue, fail if not empty" ng-disabled="ctrl.loading==true"><em
class="fas fa-trash"></em></a>
</div>
</td>
</tr>
</tbody>
</table>