Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 1 | <!DOCTYPE html>
|
Seshu-Kumar-M | 8415db0 | 2016-09-15 17:36:27 +0800 | [diff] [blame] | 2 | <!--
|
| 3 |
|
Seshu-Kumar-M | f7800f4 | 2016-09-16 18:35:58 +0800 | [diff] [blame] | 4 | Copyright 2016, Huawei Technologies Co., Ltd.
|
Seshu-Kumar-M | 8415db0 | 2016-09-15 17:36:27 +0800 | [diff] [blame] | 5 |
|
| 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 | -->
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 19 | <html lang="en">
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 20 | <head>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 21 | <meta charset="UTF-8">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 22 | <title>Lifecycle Manager</title>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 23 | <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" />
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 26 | <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-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 28 | <script type="text/javascript" src="js/rest.js"></script>
|
| 29 | <script type="text/javascript" src="js/bootstrap-table.min.js"></script>
|
Luji7 | 96f794f | 2016-09-18 17:20:12 +0800 | [diff] [blame] | 30 | <script type="text/javascript" src="js/gsolcm.js"></script>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 31 | <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 | });
|
Luji7 | 332febf | 2016-09-18 13:54:00 +0800 | [diff] [blame] | 39 | new lcmHandler();
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 40 | });
|
| 41 |
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 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('');
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 46 |
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 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 | };
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 54 |
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 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>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 74 |
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 75 | <div class="row-fluid" data-name="table_zone">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 76 | <div id="ict_virtualApplication_table_div">
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 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 ">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 104 | <span id="overlayDCName_sorticon" class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Service Instruction </span></div></th>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 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>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 122 | </th>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 123 | </tr></thead>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 124 |
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 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"> </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"> </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">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 135 | <div class="modal-content">
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 136 | <div class="content">
|
| 137 | <div class="modal-header">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 138 | <button type="button" class="close" data-dismiss="modal"
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 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">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 147 | <div class="modal-body">
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 148 | <ul class="nav nav-pills nav-justified vmapp-margin">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 149 |
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 150 | </ul>
|
| 151 | <div class="tab-content">
|
| 152 | <ul class="nav nav-tabs">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 153 | <li class="active"><a id= "basicInfoTab" href="#basicTab" data-toggle="tab">Basic Info</a></li>
|
Luji7 | 332febf | 2016-09-18 13:54:00 +0800 | [diff] [blame] | 154 | <li ><a id="parameterTabHeader" href="#parameterTab" data-toggle="tab">Template Parameters</a></li>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 155 | </ul>
|
Luji7 | 332febf | 2016-09-18 13:54:00 +0800 | [diff] [blame] | 156 | <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">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 164 | <input type="text" id="svcName" name="svcName" class="form-control" placeholder="Service Name"/>
|
Luji7 | 332febf | 2016-09-18 13:54:00 +0800 | [diff] [blame] | 165 | </div>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 166 | </div>
|
Luji7 | 332febf | 2016-09-18 13:54:00 +0800 | [diff] [blame] | 167 | <div class="form-group">
|
| 168 | <label class="col-sm-3 control-label">
|
| 169 | <span>Service Description</span>
|
| 170 | </label>
|
| 171 | <div class="col-sm-7">
|
| 172 | <input type="text" id="svcDesc" name="svcDesc" class="form-control" placeholder="Service Description"/>
|
| 173 | </div>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 174 | </div>
|
Luji7 | 332febf | 2016-09-18 13:54:00 +0800 | [diff] [blame] | 175 | <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">
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 181 | <select class="form-control" style ="padding-top: 0px;padding-bottom: 0px;" id="svcTempl"
|
Luji7 | 332febf | 2016-09-18 13:54:00 +0800 | [diff] [blame] | 182 | name="svcTempl">
|
| 183 | <option value="1.1">1.1</option>
|
| 184 | <option value="1.2">1.2</option>
|
| 185 | </select>
|
| 186 | </div>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 187 | </div>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 188 | </div>
|
| 189 | <div class="tab-pane" id="parameterTab">
|
| 190 |
|
Luji7 | 332febf | 2016-09-18 13:54:00 +0800 | [diff] [blame] | 191 | </div>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 192 | </div>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 193 | </div>
|
| 194 | </div>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 195 | <div class="modal-footer">
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 196 | <button type="button" class="btn SDBtn" data-dismiss="modal" aria-hidden="true" id="createNS">
|
| 197 | <span id="nfv-virtualApplication-iui-text-cancelBtn">OK</span>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 198 | </button>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 199 | <button type="button" class="btn button-previous SDBtn">
|
| 200 | <span id="nfv-virtualApplication-iui-text-previousBtn">Cancel</span>
|
| 201 | </button>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 202 |
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 203 | </div>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 204 | </div>
|
Seshu-Kumar-M | a06adb7 | 2016-09-14 16:45:06 +0800 | [diff] [blame] | 205 | </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>
|
Luji7 | fecb1a7 | 2016-09-18 22:50:29 +0800 | [diff] [blame] | 231 | </html>
|