-
Notifications
You must be signed in to change notification settings - Fork 1
/
step3.html
217 lines (140 loc) · 5.17 KB
/
step3.html
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<div class="row">
<h2>EC2 Servers Information</h2>
<div class="panel panel-default">
<div class="panel-heading">
<div>
<h4 class="panel-title">
<button data-toggle="collapse" data-target="#collapse1">
<img alt="" style="width: 30px; height: 30px"
src="images/icon-plus-minus.png" id="collapseimage"
onclick="javascript:changeImage()">
</button>
</h4>
</div>
</div>
<div id="collapse1" class="panel-collapse collapse">
<div class="panel-body">
<div class="row">
<div class="col-xs-3">
<label for="ec2type">Type </label> <select
class="form-control input-sm" id="ec2type"
ng-model="vm.appform.ec2.type" required>
<option value="">Select...</option>
<option value="Instance">Instance</option>
<option value="ASG">ASG</option>
</select>
</div>
</div>
<div class="row">
<div class="col-xs-3">
<label for="ec2purpose">Purpose </label> <input type="text"
class="form-control input-sm" id="ec2purpose"
ng-model="vm.appform.ec2.purpose" placeholder="Purpose" required>
</div>
</div>
<div class="row">
<div class="col-xs-3">
<label for="ec2enviroments">Enviroments *</label> <select
class="form-control input-sm" id="ec2enviroments"
ng-model="vm.appform.ec2.enviroments" required>
<option value="">Select...</option>
<option value="Both">Both</option>
<option value="PRD">PRD</option>
<option value="M-F:8-8">DTA</option>
</select>
</div>
<div class="col-xs-3">
<label for="ec2operatingsystem">Operating System *</label> <select
class="form-control input-sm" id="ec2operatingsystem"
ng-model="vm.appform.ec2.operatingsystem" required>
<option value="">Select...</option>
<option value="Windows 2012 R2">Windows 2012 R2</option>
<option value="Linux">Linux</option>
</select>
</div>
<div class="col-xs-3">
<label for="ec2databaseincluded">Database included</label> <select
class="form-control input-sm" id="ec2databaseincluded"
ng-model="vm.appform.ec2.databaseincluded" required>
<option value="">Select...</option>
<option value="Yes">Yes</option>
<option value="No">No</option>
</select>
</div>
</div>
<div class="row">
<div class="col-xs-3">
<label for="ec2memory">Memory GB </label> <input type="text"
class="form-control input-sm" id="ec2memory"
ng-model="vm.appform.ec2.Memory" placeholder="Memory GB" required>
</div>
<div class="col-xs-3">
<label for="ec2vCPU">vCPU </label> <input type="text"
class="form-control input-sm" id="ec2vCPU"
ng-model="vm.appform.ec2.vcpu" placeholder="vCPU" required>
</div>
</div>
<div class="row">
<div class="col-xs-3">
<label for="ec2bootvolume">Boot volume capacity </label> <input
type="text" class="form-control input-sm" id="ec2bootvolume"
ng-model="vm.appform.ec2.bootvolume"
placeholder="Boot volume capacity" required>
</div>
</div>
<div class="row">
<div class="col-xs-3">
<label for="additionalvolume1">Additional volume1 capacity
</label> <input type="text" class="form-control input-sm"
id="additionalvolume1"
ng-model="vm.appform.ec2.additionalvolume1"
placeholder="Additional volume1 capacity" required>
</div>
<div class="col-xs-3">
<label for="additionalvolume2">Additional volume2 capacity
</label> <input type="text" class="form-control input-sm"
id="additionalvolume2"
ng-model="vm.appform.ec2.additionalvolume2"
placeholder="Additional volume2 capacity" required>
</div>
<div class="col-xs-3">
<label for="additionalvolume3">Additional volume3 capacity
</label> <input type="text" class="form-control input-sm"
id="additionalvolume3"
ng-model="vm.appform.ec2.additionalvolume3"
placeholder="Additional volume3 capacity" required>
</div>
<div class="col-xs-3">
<label for="additionalvolume4">Additional volume4 capacity
</label> <input type="text" class="form-control input-sm"
id="additionalvolume4"
ng-model="vm.appform.ec2.additionalvolume4"
placeholder="Additional volume4 capacity" required>
</div>
</div>
</div>
<div class="panel-footer">
<button type="button" class="btn btn-success"
ng-click="vm.createec2server()">+ add new EC2 server</button>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-body">
<div class="table-responsive">
<table style="width: 99%">
<tr>
<th style="width: 25%" ng-repeat='key in vm.appform.ec2keys'>{{key}}</th>
</tr>
<tr ng-repeat='ec2 in vm.appform.ec2list'>
<td style="width: 25%">{{ec2.Type}}</td>
<td style="width: 25%">{{ec2.Enviroments}}</td>
<td style="width: 25%">{{ec2.OperatingSystem}}</td>
<td style="width: 25%"><button type="button"
class="btn btn-danger" ng-click="vm.createec2server()">Delete</button></td>
</tr>
</table>
</div>
</div>
</div>
</div>