dc3be5c8626f05cdb2decf69c3879ebf0624c6c0
[portal/sdk.git] /
1 <h1 class="heading-page">Step 4 - Report Form Fields</h1>
2 <div ng-show="showLoader" class="span loader-container">
3         <i class="icon-primary-spinner" role="img"
4                 aria-label="Please wait while we load your content"></i>
5 </div>
6 <div ng-hide="showLoader">
7         <div class="form-row" >
8                 <h2>Report Form Fields 4</h2>
9                 <table class="striped">
10                 <thead>
11                     <tr>
12                         <th default-sort="a" sortable="true" >Order Number</th>
13                         <th>Field Name</th>
14                         <th>Edit</th>
15                         <th>Order</th>
16                         <th>Delete</th>                
17                     </tr>
18                 </thead>
19                 <tbody>
20                     <tr ng-repeat = "rowData in formFieldData">
21                         <td>{{rowData.orderSeq}}</td>
22                         <td>{{rowData.name}}[{{rowData.id}}]</td>
23                         <td><a ng-click="openFormFieldPopup(rowData,'edit')" class="icon-misc-pen"></a></td>
24                                         <td>
25                                                 <span ng-if="!$first">
26                                                         <a ng-click="formFieldReOrder(rowData.id, formFieldData[$index-1].id)"  class="icon-controls-upPRIMARY"></a>
27                                                 </span>
28                                                 <span ng-if="!$last">
29                                                         <a ng-click="formFieldReOrder(formFieldData[$index+1].id, rowData.id)"  class="icon-controls-down"></a>
30                                                 </span>
31                                         </td>
32                                         <td><a ng-click="deleteFormField(rowData)" class="icon-misc-trash"></a></td>
33                     </tr>
34                 </tbody>
35             </table>    
36         </div>
37         <div align="right">
38                 <button class="btn btn-alt btn-small" type="button" ng-click="addFormField()">Add</button>
39         </div>
40 <!--    <div class="form-row">
41                 <button class="btn btn-alt btn-small" type="button"             ng-click="previous()" >Previous</button>
42                 <button class="btn btn-alt btn-small" type="button"             ng-click="next()" >Next</button>
43         </div> -->
44         
45 </div>
46
47