forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjslog.html
More file actions
32 lines (32 loc) · 1.3 KB
/
Copy pathjslog.html
File metadata and controls
32 lines (32 loc) · 1.3 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
<div class="starter-template">
<h1 translate lib="web">entities</h1>
</div>
<button type="button" ng-click="ctrl.loadData()" ng-disabled="ctrl.loading" translate lib="web">reload</button>
<button type="button" ng-click="ctrl.DeleteMany()" ng-disabled="ctrl.loading" translate lib="web">empty</button>
<div class="row">
<table id="table1" class="table table-striped" when-scrolled="ctrl.more()" style="width: 100%;">
<thead class="thead-dark">
<tr>
<th ng-click="ctrl.ToggleOrder('_type')"><b translate lib="web">type</b></th>
<th ng-click="ctrl.ToggleOrder('_createdby')"><b translate lib="web">createdby</b></th>
<th ng-click="ctrl.ToggleOrder('host')"><b translate lib="web">host</b></th>
<th ng-click="ctrl.ToggleOrder('_created')"><b translate lib="web">created</b></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="model in ctrl.models">
<td>{{model._type}}</td>
<td>{{model._createdby}}</td>
<td>{{model.host}}</td>
<td>
<timesince ng-model="model._created" />
</td>
<td class="btn-cell">
{{model.message}}
</td>
<td>{{(model.initiator.length > 100) ? model.initiator.substr(0, 100 - 1) : model.initiator }}</td>
</tr>
</tbody>
</table>