forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.html
More file actions
54 lines (49 loc) · 2 KB
/
Copy pathTest.html
File metadata and controls
54 lines (49 loc) · 2 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
<div class="starter-template">
<h1 translate lib="web">sitename</h1>
<p class="lead">Clicking InsertMany laods 50 random items into entities colllection, DeleteMany deletes all,
one-by-one</p>
</div>
<input type="button" value="insertone" ng-click="ctrl.InsertNew()" class="btn btn-secondary"
ng-disabled="ctrl.loading==true" translate lib="web" />
<input type="button" value="InsertMany" ng-click="ctrl.InsertMany()" class="btn btn-secondary"
ng-disabled="ctrl.loading==true" translate lib="web" />
<input type="button" value="DeleteMany" ng-click="ctrl.DeleteMany()" class="btn btn-secondary"
ng-disabled="ctrl.loading==true" translate lib="web" />
<div id="dvMessage" ng-model="ctrl.message"> </div>
<br />
<div ng-show="ctrl.errormessage != ''"" class=" alert alert-danger" role="alert">{{ctrl.errormessage}}</div>
<pre>{{ ctrl.messages }}</pre>
<table id="table1" class="table table-striped" when-scrolled="ctrl.more()" style="width: 100%;">
<thead class="thead-dark">
<tr>
<th><b translate lib="web">createdby</b></th>
<th><b translate lib="web">name</b></th>
<th><b translate lib="web">created</b></th>
<th><b translate lib="web">updated</b></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="model in ctrl.models">
<td>{{model._createdby}}</td>
<td>{{model.name}}</td>
<td>
<timesince ng-model="model._created" />
</td>
<td>
<timesince ng-model="model._modified" />
</td>
<td class="btn-cell">
<a href ng-click="ctrl.UpdateOne(model)" ng-disabled="ctrl.loading==true" translate lib="web">Update</a>
<!-- <input type="button" value="Update" -->
</td>
<td class="btn-cell">
<a href ng-click="ctrl.DeleteOne(model)" ng-disabled="ctrl.loading==true" translate lib="web">Delete</a>
<!--
<input type="button" value="Delete" ng-click="ctrl.DeleteOne(model)" ng-disabled="ctrl.loading==true" />
-->
</td>
</tr>
</tbody>
</table>