blob: d382b738547f1d226a3fe1e2ad81c1c0441731a8 [file] [log] [blame]
Seshu-Kumar-M2f8edc42016-09-13 20:23:41 +08001
2<!DOCTYPE html>
3<html>
4<head>
5 <head lang="en">
6 <meta charset="UTF-8">
7 <title></title>
8 <link href="css/bootstrap.min.css" rel="stylesheet" />
9 <link href="css/VMMain.css" rel="stylesheet" />
10 <link href="css/bootstrap-table.min.css" rel="stylesheet" />
11 <script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
12 <script type="text/javascript" src="js/bootstrap.min.js"></script>
13 <script type="text/javascript" src="js/rest.js"></script>
14 <script type="text/javascript" src="js/bootstrap-table.min.js"></script>
15 <script type="text/javascript">
16 $(document).ready(function() {
17 var jsondata = [];
18 //jsondata = loadNeData();
19 $('#sai').bootstrapTable({
20 //Assigning data to table
21 data: jsondata
22 });
23
24 });
25 function operateFormatter(value, row, index) {
26 return [
27 '<img class="siteDeleteImg" src="images/delete.png" href="javascript:void(0)" style="cursor: pointer" name="title" title="Delete" />'
28 ].join('');
29
30 }
31 window.operateEvents = {
32 'click .siteDeleteImg': function (e, value, row, index) {
33 // TO DO ajex call for delete
34 var result = deleteNe(row.id, row);
35 }
36 };
37
38 </script>
39</head>
40<body id="open_base_site_cotentBody" class="cotentBody ng-scope">
41 <div class="container-fluid ms-controller">
42 <h3> Life Cycle Manager </h3>
43
44 <div class="uploadBtn">
45 <div id="open_base_tpL_userHeader" class="userHeader">
46 <div id="open_base_tpL_buttonGroup" class="openoButton_buttonGroupClass">
47 <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;">
48 <div class="openoButton_buttonInnerClass openo-corner-all openoButton_Image" id="false_button">
49 <span class="openo-widget-button-image openoButton_buttonLeftImg" style="background-image: url(images/add.png);"></span>
50 <span class="openoButton_buttonCenterText openoButton_buttonCenterTextFont">Create</span>
51 <span class="openo-widget-button-image openoButton_buttonImgDefault"></span>
52 </div>
53 </div>
54 </div>
55 </div>
56 </div>
57
58 <div class="row-fluid" data-name="table_zone">
59 <div id='ict_virtualApplication_table_div'>
60 <div>
61 <div class="top">
62 <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">
63 <thead id="soverlayTable_thead" class="openo-table-thead">
64 <tr class="active">
65 <!--<th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayName" data-sortable="true">
66 <div class="openo-table-th-border"></div>
67 <div class="DataTables_sort_wrapper openo-ellipsis ">
68 <span id="overlayName_sorticon" class="openo-table-th-sorticon overflow_elip openoTable_sortable leftHeaderAlign openo-table-disable-element">Service ID
69 </span>
70 </div>
71 </th>-->
72 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayDesc" data-sortable="true">
73 <div class="openo-table-th-border"></div>
74 <div class="DataTables_sort_wrapper openo-ellipsis ">
75 <span id="overlayDesc_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Name
76 </span></div></th>
77 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayThincCPE" data-sortable="true">
78 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
79 <span id="overlayThincCPE_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Template Name
80 </span></div></th>
81 <!--<th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayPortVlanID" data-sortable="true">
82 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
83 <span id="overlayPortVlanID_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Type
84 </span></div></th> -->
85 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayDCName" data-sortable="true">
86 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
87 <span id="overlayDCName_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Instruction </span></div></th>
88 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayVPC" data-sortable="true">
89 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
90 <span id="overlayVPC_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Create Time
91 </span>
92 </div>
93 </th>
94 <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign" data-field="overlayVPCCIDR" data-sortable="true">
95 <div class="openo-table-th-border"></div><div class="DataTables_sort_wrapper openo-ellipsis ">
96 <span id="overlayVPCCIDR_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Creator
97 </span>
98 </div>
99 </th>
100 <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">
101 <div class="openo-table-th-border"></div>
102 <div class="DataTables_sort_wrapper openo-ellipsis ">
103 <span id="portAction_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Action</span>
104 </div>
105 </th>
106 </tr></thead>
107
108 </table>
109 </div>
110 </div>
111 </div>
112 </div>
113 <!-- <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> -->
114
115 <div id="vmAppDialog" class="modal fade" tabindex="-1" role="dialog"
116 aria-labelledby="myModalLabel" aria-hidden="false">
117 <div class="modal-dialog">
118 <div class="modal-content">
119 <div class="content">
120 <div class="modal-header">
121 <button type="button" class="close" data-dismiss="modal"
122 aria-hidden="true">×
123 </button>
124 <h4 class="modal-title" id="myModalLabel">
125 <span>Create</span>
126 </h4>
127 </div>
128 <form class="form-horizontal" role="form" id="neForm">
129 <div id="wizard">
130 <div class="modal-body">
131 <ul class="nav nav-pills nav-justified vmapp-margin">
132
133 </ul>
134 <div class="tab-content">
135 <ul class="nav nav-tabs">
136 <li><a href="#">Basic Info</a>
137 <div class="tab-pane active" id="basicTab">
138 <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
139 <label class="col-sm-3 control-label">
140 <span>Service Name</span>
141 <span class="required">*</span>
142 </label>
143 <div class="col-sm-7">
144 <input type="text" id="svcName" name="svcName" class="form-control" placeholder="Service Name"/>
145 </div>
146 </div>
147 <div class="form-group">
148 <label class="col-sm-3 control-label">
149 <span>Service Description</span>&nbsp;&nbsp;&nbsp;
150 </label>
151 <div class="col-sm-7">
152 <input type="text" id="svcDesc" name="svcDesc" class="form-control" placeholder="Service Description"/>
153 </div>
154 </div>
155 <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
156 <label class="col-sm-3 control-label">
157 <span>Service Template</span>
158 <span class="required">*</span>
159 </label>
160 <div class="col-sm-7">
161 <select class="form-control" style ="padding-top: 0px;padding-bottom: 0px;" id="svcTempl"
162 name="svcTempl">
163 <option value="1.1">1.1</option>
164 <option value="1.2">1.2</option>
165 </select>
166 </div>
167 </div>
168 </div>
169 </li>
170 </ul>
171 </div>
172 </div>
173 <div class="modal-footer">
174 <button type="button" class="btn SDBtn" data-dismiss="modal" aria-hidden="true" id="createNS">
175 <span id="nfv-virtualApplication-iui-text-cancelBtn">OK</span>
176 </button>
177 <button type="button" class="btn button-previous SDBtn">
178 <span id="nfv-virtualApplication-iui-text-previousBtn">Cancel</span>
179 </button>
180
181 </div>
182 </div>
183 </form>
184 </div>
185 </div>
186 </div>
187 </div>
188 </div>
189 <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;">
190 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_0">
191 <label class="openo-ellipsis openo-select-blank-item" style="width: 100%; display: block; height: 20px;"></label>
192 </div>
193 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_1">
194 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">ETH</label>
195 </div>
196 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_2">
197 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;" title="POS">POS</label>
198 </div>
199 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_3">
200 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Trunk</label>
201 </div>
202 <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_4">
203 <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Loopback</label>
204 </div>
205 </div>
206
207
208</body>
209</html>