forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHistory.html
More file actions
52 lines (50 loc) · 1.97 KB
/
Copy pathHistory.html
File metadata and controls
52 lines (50 loc) · 1.97 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 class="starter-template">
<h1 translate lib="web">entities</h1>
</div>
<div class="row">
<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('_createdby')"><b translate lib="web">createdby</b></th>
<th ng-click="ctrl.ToggleOrder('_modified')"><b translate lib="web">updated</b></th>
<th ng-click="ctrl.ToggleOrder('_version')"><b translate lib="web">version</b></th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="model in ctrl.models">
<td>{{model.name}}</td>
<td>{{model._createdby}}</td>
<td>
<timesince ng-model="model._modified" />
</td>
<td>{{model._version}}</td>
<td class="btn-cell">
<a href ng-click="ctrl.CompareNow(model)" translate lib="web">now</a>
<a href ng-click="ctrl.CompareThen(model)" translate lib="web">then</a>
<a href ng-click="ctrl.RevertTo(model)" translate lib="web">RevertTo</a>
</td>
</tr>
</tbody>
</table>
<div class="modal" tabindex="-1" role="dialog" id="exampleModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">{{ctrl.model.name}} </h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="visual"></div>
<hr />
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>