blob: 0b68d768bf6fc1e128d830674da978740003058a [file] [log] [blame]
Seshu-Kumar-M8415db02016-09-15 17:36:27 +08001<!--
2
Seshu-Kumar-Mf7800f42016-09-16 18:35:58 +08003 Copyright 2016, Huawei Technologies Co., Ltd.
Seshu-Kumar-M8415db02016-09-15 17:36:27 +08004
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17-->
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080018
19<!DOCTYPE html>
20<html>
21<head>
22 <head lang="en">
23 <meta charset="UTF-8">
24 <title></title>
25 <link href="css/bootstrap.min.css" rel="stylesheet" />
26 <link href="css/VMMain.css" rel="stylesheet" />
27 <link href="css/bootstrap-table.min.css" rel="stylesheet" />
28 <script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
29 <script type="text/javascript" src="js/bootstrap.min.js"></script>
30 <script type="text/javascript" src="js/rest.js"></script>
31 <script type="text/javascript" src="js/bootstrap-table.min.js"></script>
Luji796f794f2016-09-18 17:20:12 +080032 <script type="text/javascript" src="js/gsolcm.js"></script>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080033 <script type="text/javascript">
34 $(document).ready(function() {
35 var jsondata = [];
36 //jsondata = loadNeData();
37 $('#sai').bootstrapTable({
38 //Assigning data to table
39 data: jsondata
40 });
Luji7332febf2016-09-18 13:54:00 +080041 new lcmHandler();
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080042 });
Luji7332febf2016-09-18 13:54:00 +080043
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080044 function operateFormatter(value, row, index) {
45 return [
46 '<img class="siteDeleteImg" src="images/delete.png" href="javascript:void(0)" style="cursor: pointer" name="title" title="Delete" />'
47 ].join('');
48
49 }
50 window.operateEvents = {
51 'click .siteDeleteImg': function (e, value, row, index) {
52 // TO DO ajex call for delete
53 var result = deleteNe(row.id, row);
54 }
55 };
56
57 </script>
58</head>
59<body id="open_base_site_cotentBody" class="cotentBody ng-scope">
60 <div class="container-fluid ms-controller">
61 <h3> Life Cycle Manager </h3>
62
63 <div class="uploadBtn">
64 <div id="open_base_tpL_userHeader" class="userHeader">
65 <div id="open_base_tpL_buttonGroup" class="openoButton_buttonGroupClass">
66 <div class="openo openo-widget-button openoButton_buttonClass_parent ng-isolate-scope openoButton_buttonClass defaultbutton openoButton_button_default" tabindex="0" id="false" text="res.brApp_ui_res_btn_create" icon-url="./images/add.png" cls="defaultbutton" click="clickAdd" style="display: inline-block; padding-left: 0px; padding-right: 0px;">
67 <div class="openoButton_buttonInnerClass openo-corner-all openoButton_Image" id="false_button">
68 <span class="openo-widget-button-image openoButton_buttonLeftImg" style="background-image: url(images/add.png);"></span>
69 <span class="openoButton_buttonCenterText openoButton_buttonCenterTextFont">Create</span>
70 <span class="openo-widget-button-image openoButton_buttonImgDefault"></span>
71 </div>
72 </div>
73 </div>
74 </div>
75 </div>
76
77 <div class="row-fluid" data-name="table_zone">
78 <div id='ict_virtualApplication_table_div'>
79 <div>
80 <div class="top">
81 <table id="sai" data-pagination="true" data-page-size="5" data-pagination-first-text="First" data-pagination-pre-text="Previous" data-pagination-next-text="Next" data-pagination-last-text="Last">
82 <thead id="soverlayTable_thead" class="openo-table-thead">
83 <tr class="active">
84 <!--<th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayName" data-sortable="true">
85 <div class="openo-table-th-border"></div>
86 <div class="DataTables_sort_wrapper openo-ellipsis ">
87 <span id="overlayName_sorticon" class="openo-table-th-sorticon overflow_elip openoTable_sortable leftHeaderAlign openo-table-disable-element">Service ID
88 </span>
89 </div>
90 </th>-->
91 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayDesc" data-sortable="true">
92 <div class="openo-table-th-border"></div>
93 <div class="DataTables_sort_wrapper openo-ellipsis ">
94 <span id="overlayDesc_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Name
95 </span></div></th>
96 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayThincCPE" data-sortable="true">
97 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
98 <span id="overlayThincCPE_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Template Name
99 </span></div></th>
100 <!--<th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayPortVlanID" data-sortable="true">
101 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
102 <span id="overlayPortVlanID_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Type
103 </span></div></th> -->
104 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayDCName" data-sortable="true">
105 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
106 <span id="overlayDCName_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Instruction </span></div></th>
107 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayVPC" data-sortable="true">
108 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
109 <span id="overlayVPC_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Create Time
110 </span>
111 </div>
112 </th>
113 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayVPCCIDR" data-sortable="true">
114 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
115 <span id="overlayVPCCIDR_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Creator
116 </span>
117 </div>
118 </th>
119 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayOperation" align="center" data-formatter = "operateFormatter" data-events="operateEvents">
120 <div class="openo-table-th-border"></div>
121 <div class="DataTables_sort_wrapper openo-ellipsis ">
122 <span id="portAction_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Action</span>
123 </div>
124 </th>
125 </tr></thead>
126
127 </table>
128 </div>
129 </div>
130 </div>
131 </div>
132 <!-- <div id="tpListopenotable_pagination_wrapper" class="openo-table-pagination-wrapper" style="display: block;"><div class="pagination-container openo-pagination-theme openo-pagination"><div class="openoPagination_openoPaginationLengthOptions" id="tpListopenotable_wrapper_div"><input readonly="true" class="openo-pagination-select openopaginationselect" value="" id="tpListopenotable_wrapper_input" actualval="20" style="width: 32px;"><span class="openo-pagination-selectspan openopaginationselectspan" id="tpListopenotable_wrapper_trigger"></span></div><label style="display: block;float:left;">Total records: 23</label><li class="active"><span class="current prev openo-disabled" id="tpListopenotable_wrapper_prev">&nbsp;</span></li><ul><li class="active"><span class="current" id="tpListopenotable_wrapper_page_link_1">1</span></li><li><a class="page-link" id="tpListopenotable_wrapper_page_link_2">2</a></li><li><a class="page-link" id="tpListopenotable_wrapper_page_link_3">3</a></li><li><a class="page-link next" id="tpListopenotable_wrapper_next">&nbsp;</a></li></ul></div></div> -->
133
134 <div id="vmAppDialog" class="modal fade" tabindex="-1" role="dialog"
135 aria-labelledby="myModalLabel" aria-hidden="false">
136 <div class="modal-dialog">
137 <div class="modal-content">
138 <div class="content">
139 <div class="modal-header">
140 <button type="button" class="close" data-dismiss="modal"
141 aria-hidden="true">×
142 </button>
143 <h4 class="modal-title" id="myModalLabel">
144 <span>Create</span>
145 </h4>
146 </div>
147 <form class="form-horizontal" role="form" id="neForm">
148 <div id="wizard">
149 <div class="modal-body">
150 <ul class="nav nav-pills nav-justified vmapp-margin">
151
152 </ul>
153 <div class="tab-content">
154 <ul class="nav nav-tabs">
Luji7332febf2016-09-18 13:54:00 +0800155 <li class="active"><a id= "basicInfoTab" href="#basicTab" data-toggle="tab">Basic Info</a></li>
156 <li ><a id="parameterTabHeader" href="#parameterTab" data-toggle="tab">Template Parameters</a></li>
157 </ul>
158 <div id="myTabContent" class="tab-content" >
159 <div class="tab-pane active" id="basicTab">
160 <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
161 <label class="col-sm-3 control-label">
162 <span>Service Name</span>
163 <span class="required">*</span>
164 </label>
165 <div class="col-sm-7">
166 <input type="text" id="svcName" name="svcName" class="form-control" placeholder="Service Name"/>
167 </div>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800168 </div>
Luji7332febf2016-09-18 13:54:00 +0800169 <div class="form-group">
170 <label class="col-sm-3 control-label">
171 <span>Service Description</span>&nbsp;&nbsp;&nbsp;
172 </label>
173 <div class="col-sm-7">
174 <input type="text" id="svcDesc" name="svcDesc" class="form-control" placeholder="Service Description"/>
175 </div>
176 </div>
177 <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
178 <label class="col-sm-3 control-label">
179 <span>Service Template</span>
180 <span class="required">*</span>
181 </label>
182 <div class="col-sm-7">
183 <select class="form-control" style ="padding-top: 0px;padding-bottom: 0px;" id="svcTempl"
184 name="svcTempl">
185 <option value="1.1">1.1</option>
186 <option value="1.2">1.2</option>
187 </select>
188 </div>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800189 </div>
Luji7332febf2016-09-18 13:54:00 +0800190 </div>
191 <div class="tab-pane" id="parameterTab">
192
193 </div>
194 </div>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800195 </div>
196 </div>
197 <div class="modal-footer">
198 <button type="button" class="btn SDBtn" data-dismiss="modal" aria-hidden="true" id="createNS">
199 <span id="nfv-virtualApplication-iui-text-cancelBtn">OK</span>
200 </button>
201 <button type="button" class="btn button-previous SDBtn">
202 <span id="nfv-virtualApplication-iui-text-previousBtn">Cancel</span>
203 </button>
204
205 </div>
206 </div>
207 </form>
208 </div>
209 </div>
210 </div>
211 </div>
212 </div>
213 <div id="filterTpLogicalType_select_popupcontainer" class="openo openo-select-popup-container openo-hide" style="width: 155px; max-height: 130px; left: 628px; top: 104px; z-index: 1761;">
214 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_0">
215 <label class="openo-ellipsis openo-select-blank-item" style="width: 100%; display: block; height: 20px;"></label>
216 </div>
217 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_1">
218 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">ETH</label>
219 </div>
220 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_2">
221 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;" title="POS">POS</label>
222 </div>
223 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_3">
224 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Trunk</label>
225 </div>
226 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_4">
227 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Loopback</label>
228 </div>
229 </div>
230
231
232</body>
233</html>