blob: 0067c3114d022d5daf0ddc2091adb2cbb3645b01 [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>
32 <script type="text/javascript">
33 $(document).ready(function() {
34 var jsondata = [];
35 //jsondata = loadNeData();
36 $('#sai').bootstrapTable({
37 //Assigning data to table
38 data: jsondata
39 });
40
41 });
42 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('');
46
47 }
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 };
54
55 </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>
74
75 <div class="row-fluid" data-name="table_zone">
76 <div id='ict_virtualApplication_table_div'>
77 <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 ">
104 <span id="overlayDCName_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Instruction </span></div></th>
105 <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>
122 </th>
123 </tr></thead>
124
125 </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">
135 <div class="modal-content">
136 <div class="content">
137 <div class="modal-header">
138 <button type="button" class="close" data-dismiss="modal"
139 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">
147 <div class="modal-body">
148 <ul class="nav nav-pills nav-justified vmapp-margin">
149
150 </ul>
151 <div class="tab-content">
152 <ul class="nav nav-tabs">
153 <li><a href="#">Basic Info</a>
154 <div class="tab-pane active" id="basicTab">
155 <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
156 <label class="col-sm-3 control-label">
157 <span>Service Name</span>
158 <span class="required">*</span>
159 </label>
160 <div class="col-sm-7">
161 <input type="text" id="svcName" name="svcName" class="form-control" placeholder="Service Name"/>
162 </div>
163 </div>
164 <div class="form-group">
165 <label class="col-sm-3 control-label">
166 <span>Service Description</span>&nbsp;&nbsp;&nbsp;
167 </label>
168 <div class="col-sm-7">
169 <input type="text" id="svcDesc" name="svcDesc" class="form-control" placeholder="Service Description"/>
170 </div>
171 </div>
172 <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
173 <label class="col-sm-3 control-label">
174 <span>Service Template</span>
175 <span class="required">*</span>
176 </label>
177 <div class="col-sm-7">
178 <select class="form-control" style ="padding-top: 0px;padding-bottom: 0px;" id="svcTempl"
179 name="svcTempl">
180 <option value="1.1">1.1</option>
181 <option value="1.2">1.2</option>
182 </select>
183 </div>
184 </div>
185 </div>
186 </li>
187 </ul>
188 </div>
189 </div>
190 <div class="modal-footer">
191 <button type="button" class="btn SDBtn" data-dismiss="modal" aria-hidden="true" id="createNS">
192 <span id="nfv-virtualApplication-iui-text-cancelBtn">OK</span>
193 </button>
194 <button type="button" class="btn button-previous SDBtn">
195 <span id="nfv-virtualApplication-iui-text-previousBtn">Cancel</span>
196 </button>
197
198 </div>
199 </div>
200 </form>
201 </div>
202 </div>
203 </div>
204 </div>
205 </div>
206 <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;">
207 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_0">
208 <label class="openo-ellipsis openo-select-blank-item" style="width: 100%; display: block; height: 20px;"></label>
209 </div>
210 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_1">
211 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">ETH</label>
212 </div>
213 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_2">
214 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;" title="POS">POS</label>
215 </div>
216 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_3">
217 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Trunk</label>
218 </div>
219 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_4">
220 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Loopback</label>
221 </div>
222 </div>
223
224
225</body>
226</html>