summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/kpi-dashboard/views/userapi-edit.html
blob: 0ec3c5b5049771acf98b7c96bb4c74d78314be1e (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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>