blob: dc3be5c8626f05cdb2decf69c3879ebf0624c6c0 (
plain)
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
|
<h1 class="heading-page">Step 4 - Report Form Fields</h1>
<div ng-show="showLoader" class="span loader-container">
<i class="icon-primary-spinner" role="img"
aria-label="Please wait while we load your content"></i>
</div>
<div ng-hide="showLoader">
<div class="form-row" >
<h2>Report Form Fields 4</h2>
<table class="striped">
<thead>
<tr>
<th default-sort="a" sortable="true" >Order Number</th>
<th>Field Name</th>
<th>Edit</th>
<th>Order</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<tr ng-repeat = "rowData in formFieldData">
<td>{{rowData.orderSeq}}</td>
<td>{{rowData.name}}[{{rowData.id}}]</td>
<td><a ng-click="openFormFieldPopup(rowData,'edit')" class="icon-misc-pen"></a></td>
<td>
<span ng-if="!$first">
<a ng-click="formFieldReOrder(rowData.id, formFieldData[$index-1].id)" class="icon-controls-upPRIMARY"></a>
</span>
<span ng-if="!$last">
<a ng-click="formFieldReOrder(formFieldData[$index+1].id, rowData.id)" class="icon-controls-down"></a>
</span>
</td>
<td><a ng-click="deleteFormField(rowData)" class="icon-misc-trash"></a></td>
</tr>
</tbody>
</table>
</div>
<div align="right">
<button class="btn btn-alt btn-small" type="button" ng-click="addFormField()">Add</button>
</div>
<!-- <div class="form-row">
<button class="btn btn-alt btn-small" type="button" ng-click="previous()" >Previous</button>
<button class="btn btn-alt btn-small" type="button" ng-click="next()" >Next</button>
</div> -->
</div>
|