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
42 lines (42 loc) · 1.79 KB
/
Copy pathjslog.html
File metadata and controls
42 lines (42 loc) · 1.79 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
<div class="row">
<h1 translate lib="web">jslog</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>
<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 ng-show="ctrl.errormessage != ''"" class=" alert alert-danger" role="alert">{{ctrl.errormessage}}</div>
<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>