blob: b878e10eb11dcecedf351f919382ca146b0b47f9 [file] [log] [blame]
Luji7fecb1a72016-09-18 22:50:29 +08001<!DOCTYPE html>
Seshu-Kumar-M8415db02016-09-15 17:36:27 +08002<!--
3
Seshu-Kumar-Mf7800f42016-09-16 18:35:58 +08004 Copyright 2016, Huawei Technologies Co., Ltd.
Seshu-Kumar-M8415db02016-09-15 17:36:27 +08005
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18-->
Luji7fecb1a72016-09-18 22:50:29 +080019<html lang="en">
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080020<head>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080021 <meta charset="UTF-8">
Luji7fecb1a72016-09-18 22:50:29 +080022 <title>Lifecycle Manager</title>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080023 <link href="css/bootstrap.min.css" rel="stylesheet" />
24 <link href="css/VMMain.css" rel="stylesheet" />
25 <link href="css/bootstrap-table.min.css" rel="stylesheet" />
Luji7fecb1a72016-09-18 22:50:29 +080026 <script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
27 <script type="text/javascript" src="js/bootstrap.min.js"></script>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080028 <script type="text/javascript" src="js/rest.js"></script>
29 <script type="text/javascript" src="js/bootstrap-table.min.js"></script>
Luji796f794f2016-09-18 17:20:12 +080030 <script type="text/javascript" src="js/gsolcm.js"></script>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080031 <script type="text/javascript">
32 $(document).ready(function() {
33 var jsondata = [];
34 //jsondata = loadNeData();
35 $('#sai').bootstrapTable({
36 //Assigning data to table
37 data: jsondata
38 });
Luji7332febf2016-09-18 13:54:00 +080039 new lcmHandler();
Luji7fecb1a72016-09-18 22:50:29 +080040 });
41
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080042 function operateFormatter(value, row, index) {
43 return [
44 '<img class="siteDeleteImg" src="images/delete.png" href="javascript:void(0)" style="cursor: pointer" name="title" title="Delete" />'
45 ].join('');
Luji7fecb1a72016-09-18 22:50:29 +080046
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080047 }
48 window.operateEvents = {
49 'click .siteDeleteImg': function (e, value, row, index) {
50 // TO DO ajex call for delete
51 var result = deleteNe(row.id, row);
52 }
53 };
Luji7fecb1a72016-09-18 22:50:29 +080054
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080055 </script>
56</head>
57<body id="open_base_site_cotentBody" class="cotentBody ng-scope">
58 <div class="container-fluid ms-controller">
59 <h3> Life Cycle Manager </h3>
60
61 <div class="uploadBtn">
62 <div id="open_base_tpL_userHeader" class="userHeader">
63 <div id="open_base_tpL_buttonGroup" class="openoButton_buttonGroupClass">
64 <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;">
65 <div class="openoButton_buttonInnerClass openo-corner-all openoButton_Image" id="false_button">
66 <span class="openo-widget-button-image openoButton_buttonLeftImg" style="background-image: url(images/add.png);"></span>
67 <span class="openoButton_buttonCenterText openoButton_buttonCenterTextFont">Create</span>
68 <span class="openo-widget-button-image openoButton_buttonImgDefault"></span>
69 </div>
70 </div>
71 </div>
72 </div>
73 </div>
Luji7fecb1a72016-09-18 22:50:29 +080074
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080075 <div class="row-fluid" data-name="table_zone">
Luji7fecb1a72016-09-18 22:50:29 +080076 <div id="ict_virtualApplication_table_div">
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +080077 <div>
78 <div class="top">
79 <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">
80 <thead id="soverlayTable_thead" class="openo-table-thead">
81 <tr class="active">
82 <!--<th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayName" data-sortable="true">
83 <div class="openo-table-th-border"></div>
84 <div class="DataTables_sort_wrapper openo-ellipsis ">
85 <span id="overlayName_sorticon" class="openo-table-th-sorticon overflow_elip openoTable_sortable leftHeaderAlign openo-table-disable-element">Service ID
86 </span>
87 </div>
88 </th>-->
89 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayDesc" data-sortable="true">
90 <div class="openo-table-th-border"></div>
91 <div class="DataTables_sort_wrapper openo-ellipsis ">
92 <span id="overlayDesc_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Name
93 </span></div></th>
94 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayThincCPE" data-sortable="true">
95 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
96 <span id="overlayThincCPE_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Template Name
97 </span></div></th>
98 <!--<th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayPortVlanID" data-sortable="true">
99 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
100 <span id="overlayPortVlanID_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Type
101 </span></div></th> -->
102 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayDCName" data-sortable="true">
103 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
Luji7fecb1a72016-09-18 22:50:29 +0800104 <span id="overlayDCName_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Instruction </span></div></th>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800105 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayVPC" data-sortable="true">
106 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
107 <span id="overlayVPC_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Create Time
108 </span>
109 </div>
110 </th>
111 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayVPCCIDR" data-sortable="true">
112 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
113 <span id="overlayVPCCIDR_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Creator
114 </span>
115 </div>
116 </th>
117 <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">
118 <div class="openo-table-th-border"></div>
119 <div class="DataTables_sort_wrapper openo-ellipsis ">
120 <span id="portAction_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Action</span>
121 </div>
Luji7fecb1a72016-09-18 22:50:29 +0800122 </th>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800123 </tr></thead>
Luji7fecb1a72016-09-18 22:50:29 +0800124
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800125 </table>
126 </div>
127 </div>
128 </div>
129 </div>
130 <!-- <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> -->
131
132 <div id="vmAppDialog" class="modal fade" tabindex="-1" role="dialog"
133 aria-labelledby="myModalLabel" aria-hidden="false">
134 <div class="modal-dialog">
Luji7fecb1a72016-09-18 22:50:29 +0800135 <div class="modal-content">
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800136 <div class="content">
137 <div class="modal-header">
Luji7fecb1a72016-09-18 22:50:29 +0800138 <button type="button" class="close" data-dismiss="modal"
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800139 aria-hidden="true">×
140 </button>
141 <h4 class="modal-title" id="myModalLabel">
142 <span>Create</span>
143 </h4>
144 </div>
145 <form class="form-horizontal" role="form" id="neForm">
146 <div id="wizard">
Luji7fecb1a72016-09-18 22:50:29 +0800147 <div class="modal-body">
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800148 <ul class="nav nav-pills nav-justified vmapp-margin">
Luji7fecb1a72016-09-18 22:50:29 +0800149
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800150 </ul>
151 <div class="tab-content">
152 <ul class="nav nav-tabs">
Luji7fecb1a72016-09-18 22:50:29 +0800153 <li class="active"><a id= "basicInfoTab" href="#basicTab" data-toggle="tab">Basic Info</a></li>
Luji7332febf2016-09-18 13:54:00 +0800154 <li ><a id="parameterTabHeader" href="#parameterTab" data-toggle="tab">Template Parameters</a></li>
Luji7fecb1a72016-09-18 22:50:29 +0800155 </ul>
Luji7332febf2016-09-18 13:54:00 +0800156 <div id="myTabContent" class="tab-content" >
157 <div class="tab-pane active" id="basicTab">
158 <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
159 <label class="col-sm-3 control-label">
160 <span>Service Name</span>
161 <span class="required">*</span>
162 </label>
163 <div class="col-sm-7">
Luji7fecb1a72016-09-18 22:50:29 +0800164 <input type="text" id="svcName" name="svcName" class="form-control" placeholder="Service Name"/>
Luji7332febf2016-09-18 13:54:00 +0800165 </div>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800166 </div>
Luji7332febf2016-09-18 13:54:00 +0800167 <div class="form-group">
168 <label class="col-sm-3 control-label">
169 <span>Service Description</span>&nbsp;&nbsp;&nbsp;
170 </label>
171 <div class="col-sm-7">
172 <input type="text" id="svcDesc" name="svcDesc" class="form-control" placeholder="Service Description"/>
173 </div>
Luji7fecb1a72016-09-18 22:50:29 +0800174 </div>
Luji7332febf2016-09-18 13:54:00 +0800175 <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
176 <label class="col-sm-3 control-label">
177 <span>Service Template</span>
178 <span class="required">*</span>
179 </label>
180 <div class="col-sm-7">
Luji7fecb1a72016-09-18 22:50:29 +0800181 <select class="form-control" style ="padding-top: 0px;padding-bottom: 0px;" id="svcTempl"
Luji7332febf2016-09-18 13:54:00 +0800182 name="svcTempl">
183 <option value="1.1">1.1</option>
184 <option value="1.2">1.2</option>
185 </select>
186 </div>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800187 </div>
Luji7fecb1a72016-09-18 22:50:29 +0800188 </div>
189 <div class="tab-pane" id="parameterTab">
190
Luji7332febf2016-09-18 13:54:00 +0800191 </div>
Luji7fecb1a72016-09-18 22:50:29 +0800192 </div>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800193 </div>
194 </div>
Luji7fecb1a72016-09-18 22:50:29 +0800195 <div class="modal-footer">
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800196 <button type="button" class="btn SDBtn" data-dismiss="modal" aria-hidden="true" id="createNS">
197 <span id="nfv-virtualApplication-iui-text-cancelBtn">OK</span>
Luji7fecb1a72016-09-18 22:50:29 +0800198 </button>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800199 <button type="button" class="btn button-previous SDBtn">
200 <span id="nfv-virtualApplication-iui-text-previousBtn">Cancel</span>
201 </button>
Luji7fecb1a72016-09-18 22:50:29 +0800202
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800203 </div>
Luji7fecb1a72016-09-18 22:50:29 +0800204 </div>
Seshu-Kumar-Ma06adb72016-09-14 16:45:06 +0800205 </form>
206 </div>
207 </div>
208 </div>
209 </div>
210 </div>
211 <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;">
212 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_0">
213 <label class="openo-ellipsis openo-select-blank-item" style="width: 100%; display: block; height: 20px;"></label>
214 </div>
215 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_1">
216 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">ETH</label>
217 </div>
218 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_2">
219 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;" title="POS">POS</label>
220 </div>
221 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_3">
222 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Trunk</label>
223 </div>
224 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_4">
225 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Loopback</label>
226 </div>
227 </div>
228
229
230</body>
Luji7fecb1a72016-09-18 22:50:29 +0800231</html>