forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRobots.html
More file actions
86 lines (84 loc) · 3.63 KB
/
Copy pathRobots.html
File metadata and controls
86 lines (84 loc) · 3.63 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<div class="row">
<h1 translate lib="web">robots</h1>
<p class="col-md-5 lead"></p>
<div class="form-group col-sm-3 form-horizontal">
<label class="sr-only">Filter</label>
<div class="input-group unframed-addons">
<div class="input-group-addon"><i class="fas fa-search"></i></div>
<input ng-model="ctrl.searchstring" ng-change="ctrl.Search()" class="form-control input-md"
ng-model-options="{debounce: 400}" />
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
</div>
<div class=" col-md-6 text-right">
<!-- <a ng-href="#/Entity/{{ctrl.collection}}" class="btn btn-info" translate lib="web">addentity</a> -->
<input type="checkbox" ng-model="ctrl.showinactive" ng-change="ctrl.loadData()"> <span translate
lib="web">showinactive</span>
<input type="checkbox" ng-model="ctrl.showall" ng-change="ctrl.loadData()"> <span translate lib="web">showall</span>
<!-- <a ng-href="#/Entity/{{ctrl.collection}}" class="btn btn-info"><i class="az-add-lg"></i></a> -->
</div>
</div>
<div ng-show="ctrl.errormessage != ''"" class=" alert alert-danger" role="alert">{{ctrl.errormessage}}</div>
<table id="table1" class="table table-striped table-hover table-sm" when-scrolled="ctrl.more()" style="width: 100%;">
<thead class="thead-dark">
<tr>
<th scope="col" ng-click="ctrl.ToggleOrder('name')"><b translate lib="web">name</b></th>
<th scope="col" ng-click="ctrl.ToggleOrder('_rpaheartbeat')"><b translate lib="web">robot</b></th>
<th scope="col" ng-click="ctrl.ToggleOrder('_noderedheartbeat')"><b translate lib="web">nodered</b></th>
<th scope="col" ng-click="ctrl.ToggleOrder('_webheartbeat')"><b translate lib="web">web</b></th>
<!-- <th scope="col" ng-click="ctrl.ToggleOrder('_heartbeat')"><b translate lib="web">heartbeat</b></th> -->
<th scope="col" ng-click="ctrl.ToggleOrder('_lastopenrpaclientversion')"><b translate
lib="web">lastclientversion</b>
</th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="model in ctrl.models">
<td>{{model.name}}</td>
<td>
<timesince ng-model="model._rpaheartbeat" />
</td>
<td>
<timesince ng-model="model._noderedheartbeat" />
</td>
<td>
<timesince ng-model="model._webheartbeat" />
</td>
<!-- <td>
<timesince ng-model="model._heartbeat" />
</td> -->
<td>{{model._lastopenrpaclientversion}}</td>
<td class="btn-cell">
<a href ng-click="ctrl.ShowWorkflows(model)" class="table-btn">workflows</a>
</td>
<td class="btn-cell">
<a ng-href ng-click="ctrl.Impersonate(model)" ng-show="model._id != ctrl.WebSocketClientService.user._id"><i
class="fas fa-user-secret" style="color: #007bff;"></i></a>
</td>
<td class="btn-cell">
<a href ng-click="ctrl.OpenNodered(model)" ng-show="model.hasnodered==true" class="table-btn"><i
class="fas fa-project-diagram"></i></a>
</td>
<td class="btn-cell">
<a ng-href="#/Payment/{{model._id}}" class="table-btn"
ng-show="menuctrl.WebSocketClientService.stripe_api_key != '' && menuctrl.hasrole('admins') && model._hasbilling == true"><i
class="fas fa-money-bill-wave"></i></a>
</td>
<td class="btn-cell">
<a ng-href="#/Nodered/{{model._id}}" class="table-btn"><i class="fas fa-tools"></i></a>
</td>
<td class="btn-cell">
<a ng-href="#/Entity/{{ctrl.collection}}/{{model._id}}" class="table-btn"><i class="az-edit"></i></a>
</td>
</tr>
</tbody>
</table>