forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUsers.html
More file actions
55 lines (55 loc) · 2.17 KB
/
Copy pathUsers.html
File metadata and controls
55 lines (55 loc) · 2.17 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
<div class="row">
<h1 translate lib="web">users</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="col-sm-12 text-right">
<a href="#/User" class="btn btn-info" translate lib="web">Adduser</a>
</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('username')"><b translate lib="web">username</b></th>
<th ng-click="ctrl.ToggleOrder('_created')"><b translate lib="web">created</b></th>
<th ng-click="ctrl.ToggleOrder('lastseen')"><b translate lib="web">lastseen</b></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="model in ctrl.models">
<td>{{model.name}}</td>
<td>{{model.username}}</td>
<td>
<timesince ng-model="model._created" />
</td>
<td>
<timesince ng-model="model.lastseen" />
</td>
<!-- <td class="btn-cell" height="40px" width="200">
<canvas id="bar" class="model.chart-base" chart-type="model.chart.charttype" chart-data="model.chart.data"
chart-labels="model.chart.labels" chart-series="model.chart.series" height="40px" width="200">
</canvas>
</td> -->
<td class="btn-cell">
<a ng-href ng-click="ctrl.Impersonate(model)" ng-show="model._id != ctrl.WebSocketClient.user._id"><i
class="fas fa-user-secret" style="color: #007bff;"></i></a>
</td>
<td class="btn-cell">
<a ng-href="#/User/{{model._id}}"><i class="az-edit"></i></a>
</td>
<td class="btn-cell">
<a href ng-click="ctrl.DeleteOne(model)" ng-disabled="ctrl.loading==true"><i class="az-trash"></i></a>
</td>
</tr>
</tbody>
</table>