forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForms.html
More file actions
40 lines (40 loc) · 1.72 KB
/
Copy pathForms.html
File metadata and controls
40 lines (40 loc) · 1.72 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
<div class="row">
<h1 translate lib="web">forms</h1>
</div>
<div class="col-sm-12 text-right">
<em class="fas fa-cog fa-spin" ng-show="ctrl.loading==true"></em>
<a ng-href="#/EditForm" class="btn btn-info" translate lib="web">addform</a>
</div>
<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%;">
<!-- <caption>List of workflow forms</caption> -->
<thead class="thead-dark">
<tr>
<th ng-click="ctrl.ToggleOrder('name')" scope="col"><strong translate lib="web">name</strong></th>
<th class="w-150" ng-click="ctrl.ToggleOrder('_createdby')" scope="col"><strong translate
lib="web">createdby</strong></th>
<th class="w-150" ng-click="ctrl.ToggleOrder('_created')" scope="col"><strong translate lib="web">created</strong>
</th>
<th class="w-150" ng-click="ctrl.ToggleOrder('_modified')" scope="col"><strong translate
lib="web">updated</strong></th>
<th class="w-150" scope="col"></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="model in ctrl.models">
<td><a style="color: inherit; text-decoration: inherit;" ng-href="#/EditForm/{{model._id}}">{{model.name}}</a></td>
<td>{{model._createdby}}</td>
<td>
<timesince ng-model="model._created" />
</td>
<td>
<timesince ng-model="model._modified" />
</td>
<td>
<a class="btn" ng-href="#/EditForm/{{model._id}}"><em class="fas fa-edit"></em></a>
<a class="btn" href ng-click="ctrl.DeleteOne(model)" ng-disabled="ctrl.loading==true"><em
class="fas fa-trash"></em></a>
</td>
</tr>
</tbody>
</table>