summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/scenarios/modals
diff options
context:
space:
mode:
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/scenarios/modals')
-rw-r--r--testapi/opnfv_testapi/ui/components/scenarios/modals/customModal.html16
-rw-r--r--testapi/opnfv_testapi/ui/components/scenarios/modals/projectModal.html2
2 files changed, 3 insertions, 15 deletions
diff --git a/testapi/opnfv_testapi/ui/components/scenarios/modals/customModal.html b/testapi/opnfv_testapi/ui/components/scenarios/modals/customModal.html
index 90e4544..0cd2663 100644
--- a/testapi/opnfv_testapi/ui/components/scenarios/modals/customModal.html
+++ b/testapi/opnfv_testapi/ui/components/scenarios/modals/customModal.html
@@ -8,18 +8,7 @@
<div class="update-project">
<label for="cpid" class="control-label col-sm-4">Custom: </label>
<table cellpadding="0" cellspacing="0">
- <tbody ng-repeat="custom in customModalCtrl.customs">
- <tr>
- <td>
- <div class="col-sm-12">
- <input type="text" class="form-control" value="{{custom}}" disabled/>
- <p class="help-block"></p>
- </div>
- </td>
- <td><input type="button" class="btn btn-danger" ng-click="customModalCtrl.remove($index)" value="Remove" /></td>
- </tr>
- </tbody>
- <tfoot>
+ <tbody>
<tr>
<td>
<div class="col-sm-12">
@@ -27,9 +16,8 @@
<p class="help-block"></p>
</div>
</td>
- <td><input type="button" class="btn btn-primary" ng-click="customModalCtrl.add()" value="Add" /></td>
</tr>
- </tfoot>
+ </tbody>
</table>
</div>
</div>
diff --git a/testapi/opnfv_testapi/ui/components/scenarios/modals/projectModal.html b/testapi/opnfv_testapi/ui/components/scenarios/modals/projectModal.html
index 0a14be9..171cc33 100644
--- a/testapi/opnfv_testapi/ui/components/scenarios/modals/projectModal.html
+++ b/testapi/opnfv_testapi/ui/components/scenarios/modals/projectModal.html
@@ -38,7 +38,7 @@
</tr>
</thead>
<tbody>
- <tr ng-repeat-start="(index, custom) in projectModalCtrl.project.customs" style="padding:9px">
+ <tr ng-repeat-start="custom in projectModalCtrl.project.customs" style="padding:9px">
<td>{{custom}}</td>
</tr>
<tr ng-repeat-end=>