Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / kpi-dashboard / views / userapi-edit.html
diff --git a/ecomp-portal-FE/client/kpi-dashboard/views/userapi-edit.html b/ecomp-portal-FE/client/kpi-dashboard/views/userapi-edit.html
new file mode 100644 (file)
index 0000000..0ec3c5b
--- /dev/null
@@ -0,0 +1,71 @@
+<!--
+  ================================================================================
+  eCOMP Portal
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property
+  ================================================================================
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  ================================================================================
+  -->
+<div>
+       <div class="modal-header">
+               <h3 class="modal-title">Update API</h3>
+       </div>
+       <div class="workflow-popup-body">
+               <form name="userstoryForm" class="css-form" novalidate>
+                       <div class="control-group">
+
+                               <label class="fn-ebz-text large" for="userstoryRelease">API Type: </label>
+
+                               <div>
+                       <div class="form-field" att-select="userApiTypes" ng-model="selectedUserApiType.apiType" placeholder="Select an API type"></div>                                
+                                       
+                                       <div ng-show="userstoryForm.$submitted || userstoryForm.userstoryRelease.$touched">
+                                               <span ng-show="userstoryForm.userstoryRelease.$error.required">Workflow Name is required !!!</span> 
+                                       </div>
+                               </div>
+                       </div>
+                       
+                       
+                       <div class="control-group">
+                               <label class="fn-ebz-text large" for="workflowKey">API: </label>
+                               <div>
+                                       <input type="text" id="workflowKey" ng-model="userApis[selectedUserApiType.apiType.index].totalApi" class="fn-ebz-text extra-large"
+                                               name="workflowKey" required="required" placeholder="Production" />
+
+                                       <div ng-show="workflowForm.$submitted || workflowForm.workflowKey.$touched">
+                                               <span ng-show="workflowForm.workflowKey.$error.required">Production is required !!!</span> 
+                                       </div>
+
+                               </div>
+                       </div>                  
+
+
+                       <div class="control-group">
+                               <label class="fn-ebz-text large" for="workflowRunLink">Comments</label>
+                               <div class="controls">
+                                       <input type = "text" ng-model = "userApis[selectedUserApiType.apiType.index].comment" id = "workflowRunLink" name = "workflowRunLink" class="fn-ebz-text extra-large"/>
+                               </div>
+                                                                               
+                       </div>
+
+                       
+                       <div class="modal-footer">
+                               <button class="fn-ebz-btn sm" type="button" ng-click="ok()">Save</button>
+                               <button class="fn-ebz-btn sm" type="button" ng-click="cancel()">Cancel</button>
+                       </div>
+               </form>
+               <br />
+       </div>
+</div>