diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-11-21 14:54:15 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-11-21 14:54:15 +0800 |
commit | 30b87f5d9c3fd3a27755e3974435afab2a42d081 (patch) | |
tree | 37d7d89a33069edc45146bec7bbdf16a9b858c38 /testapi/opnfv_testapi/ui/components/projects/project/updateModal.html | |
parent | b8c925baa4f00185d5465e6f85ebce832c0c41f6 (diff) |
move self-developed front-end codes to ui/
Change-Id: I0b64661e73d940a577f27ded9322086788e4f5f3
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/projects/project/updateModal.html')
-rw-r--r-- | testapi/opnfv_testapi/ui/components/projects/project/updateModal.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/ui/components/projects/project/updateModal.html b/testapi/opnfv_testapi/ui/components/projects/project/updateModal.html new file mode 100644 index 0000000..ab8d64e --- /dev/null +++ b/testapi/opnfv_testapi/ui/components/projects/project/updateModal.html @@ -0,0 +1,26 @@ +<div class="modal-header"><h3 class="modal-title">Confirm</h3></div> +<div class="modal-body"> + <div class="form-group"> + <h4>Update</h4> + <div class="row"> + <div ng-repeat="require in updateModal.createRequirements"> + <div class="update-project" style="margin-left:24px;"> + <p class="input-group"> + <label for="cpid">{{require.label|capitalize}}: </label> + <a ng-if="require.type == 'text'"> + <input type="text" dynamic-model="'updateModal.' + require.label"/> + </a> + <a ng-if="require.type == 'textarea'"> + <textarea rows="2" cols="50" value={{require.vaule}} dynamic-model="'updateModal.' + require.label"> + </textarea> + </a> + </p> + </div> + </div> + </div> + </div> +</div> +<div class="modal-footer"> + <button class="btn btn-primary" ng-click="updateModal.confirm()">Ok</button> + <button class="btn btn-default" ng-click="updateModal.cancel()">Cancel</button> +</div> |