blob: b4279a3c97de86914ba0bf4e20a0d79d7de9c461 (
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
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
|
<!DOCTYPE html>
<!--
Copyright 2016-2017 ZTE Corporation.
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.
-->
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<link href="../../thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
<link href="../../thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<link href="../../thirdparty/uniform/css/uniform.default.css" rel="stylesheet"/>
<link href="../../thirdparty/css/ngict-component.css" rel="stylesheet" type="text/css">
<link href="css/vim.css" rel="stylesheet" type="text/css"/>
<link href="css/skill.css" rel="stylesheet" type="text/css"/>
<link href="../../thirdparty/animate/animate.min.css" rel="stylesheet" type="text/css"/>
<style>
.ms-controller {
visibility: hidden
}
</style>
</head>
<body>
<div class="ms-controller container-fluid" ms-controller="vimController">
<div id="addVimDlg" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true" data-backdrop="static">
<div class="modal-dialog">
<div class="modal-content Changepasswd">
<div class="content">
<div class="modal-header">
<h4 id="myModalLabel">{{ modalTitle }}</h4>
</div>
<!-- modal body begin-->
<div class="modal-body">
<!--<div class="alert alert-info" ms-visible="executeWait.visible">{{executeWait.text}}</div>
<div class="alert alert-danger " ms-visible="executeError.visible">{{executeError.text}}</div>-->
<form class="form-horizontal" id="vim_form" role="form">
<div class="form-group">
<label class="control-label col-sm-3">
<span>Cloud Owner</span>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['cloudOwner']" name="Cloud Owner" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>Cloud Region Id</span>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['cloudRegionId']" name="cloudRegionId" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>Cloud Type</span>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-sm-7">
<select ms-duplex="currentElement['cloudType']">
<option value='openstack'>openstack</option>
<option value='vmware'>vmware</option>
</select>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>Cloud Region Version</span>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['cloudRegionVersion']" name="cloudRegionVersion" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>Owner Defined Type</span>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['ownerDefinedType']" name="ownerDefinedType" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>Cloud Zone</span>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['cloudZone']" name="cloudZone" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>Complex Name</span>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['complexName']" name="complexName" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>Cloud Extra Info</span>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['cloudExtraInfo']" name="cloudExtraInfo" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>username</span>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['vimAuthInfos'][0].userName" name="username" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>password</span>
</label>
<div class="col-sm-7">
<input type="password" ms-duplex="currentElement['vimAuthInfos'][0].password" name="password" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>Auth Url</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['vimAuthInfos'][0]['authUrl']" name="authUrl" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>sslCacert</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['vimAuthInfos'][0]['sslCacert']" name="sslCacert" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>ssl Insecure</span>
</label>
<div class="col-sm-7">
<select ms-duplex="currentElement['vimAuthInfos'][0]['sslInsecure']" name="sslInsecure" class="form-control">
<option value="false">false</option>
<option value="true">true</option>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">
<span>Cloud Domain</span>
</label>
<div class="col-sm-7">
<input type="text" ms-duplex="currentElement['vimAuthInfos'][0]['cloudDomain']" name="cloudDomain" class="form-control"/>
<span class="help-block"></span>
</div>
</div>
</form>
</div>
<!-- modal body end-->
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true"><span
id_i18n="com_zte_ums_eco_roc_vim_cancel" name_i18n="com_zte_conductor_ui_i18n"></span>
</button>
<button class="btn btn-primary" type="submit" ms-attr-disabled="isSave" ms-click="$saveVimTable()">
<span id_i18n="com_zte_ums_eco_roc_vim_save" name_i18n="com_zte_conductor_ui_i18n"></span>
</button>
</div>
</div>
</div>
</div>
</div>
<div class="row-fluid col-sm-12" data-name="cond_zone">
<div class="col-sm-4">
<button class="btn white radius_l" id="app-new-btn" ms-click="$showVimTable(-1, 'add')">
<i class="ict-new"></i> <span id_i18n="com_zte_ums_eco_roc_vim_register"
name_i18n="com_zte_conductor_ui_i18n"></span>
</button>
</div>
<!-- <div class="fa fa-refresh text-muted refresh-status-text"><small><span id_i18n="com_zte_ums_eco_roc_vim_status_update_time" name_i18n="com_zte_conductor_ui_i18n"></span></small><small ms-text="vimStatusTime"></small></div>-->
</div>
<div class="row-fluid col-sm-12 " ms-each-el="vimInfo">
<div class="col-sm-3 animated-panel zoomIn" style="-webkit-animation-delay: 0.1s;">
<div class="hpanel stats">
<div class="panel-body h-200" ms-hover="hpanel_show">
<div class="pull-left">
<span class="label label-success" ms-text="$Status.displayActive"></span>
</div>
<div class="stats-icon pull-right">
<i class="fa fa-cloud fa-5x color_cloud"></i>
</div>
<div class="m-t-xl">
<h3 class="md-text-overflow" ms-attr-title="'cloudOwner:' + el['cloudOwner']" ms-text="'cloudOwner:' + el['cloudOwner']"></h3>
<h3 class="md-text-overflow" ms-attr-title="'cloudRegionId:' + el['cloudRegionId']" ms-text="'cloudRegionId:' + el['cloudRegionId']"></h3>
<div class="font">
<span id_i18n="com_zte_ums_eco_roc_vim_display_type"name_i18n="com_zte_conductor_ui_i18n"></span>
<span class="md-text-overflow" ms-attr-title="el['cloudType']" ms-text="el['cloudType']"></span>
</div>
<div class="font">
<span id_i18n="com_zte_ums_eco_roc_vim_display_version"name_i18n="com_zte_conductor_ui_i18n"></span>
<span class="md-text-overflow" ms-attr-title="el['cloudRegionVersion']" ms-text="el['cloudRegionVersion']"></span>
</div>
</div>
</div>
<div class="panel-footer">
<div class="pull-right">
<a class="btn btn-default btn-sm" ms-click="$showVimTable($index, 'update')"><i
class="fa fa-pencil-square-o fa-lg"></i></a>
<a class="btn btn-default btn-sm" ms-click="delVim($index)"><i class="fa fa-trash-o fa-lg"> </i></a>
<!--<a class="btn btn-default btn-sm" ms-click="gotoChartPage(el.oid,el.name,el.user)"><i class="fa fa-pie-chart fa-lg"> </i></a>-->
</div>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="col-md-12">
<div class="pull-left text-muted">
<small><span id_i18n="com_zte_ums_eco_roc_vim_total" name_i18n="com_zte_conductor_ui_i18n"></span>
<span class="blue-font" ms-text="vimInfo.size()"></span>
<span id_i18n="com_zte_ums_eco_roc_vim_metric" name_i18n="com_zte_conductor_ui_i18n"></span></small>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="../../thirdparty/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../../thirdparty/js/tools.js"></script>
<script type="text/javascript" src="../../thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
<script type="text/javascript" src="../../thirdparty/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../../thirdparty/jquery-validation/js/jquery.validate.js"></script>
<script type="text/javascript" src="../../thirdparty/jquery-validation/js/additional-methods.min.js"></script>
<script type="text/javascript" src="../../thirdparty/bootbox/bootbox.min.js"></script>
<script type="text/javascript" src="i18n/loadi18nApp.js"></script>
<script type="text/javascript" src="js/vim-validate.js"></script>
<script src="../../thirdparty/avalon/avalon.js"></script>
<script type="text/javascript" src="js/vimUtil.js"></script>
<script type="text/javascript" src="js/vimController.js"></script>
<script src="../../thirdparty/bootstrap-growl/bootstrap-growl.min.js"></script>
<script type="text/javascript" src="../../thirdparty/js/core/hk.min.js"></script>
</body>
</html>
|