2 <!-- /* Copyright 2016-2017, Huawei Technologies Co., Ltd.
\r
4 * Licensed under the Apache License, Version 2.0 (the "License");
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://www.apache.org/licenses/LICENSE-2.0
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an "AS IS" BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
24 <meta charset="UTF-8">
\r
26 <link href="css/bootstrap.min.css" rel="stylesheet" />
\r
27 <link href="css/VMMain.css" rel="stylesheet" />
\r
28 <link href="css/bootstrap-table.min.css" rel="stylesheet" />
\r
29 <link rel="import" href="accorTables.html">
\r
30 <script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
\r
31 <script type="text/javascript" src="js/bootstrap.min.js"></script>
\r
32 <script type="text/javascript" src="js/rest.js"></script>
\r
33 <script type="text/javascript" src="js/bootstrap-table.min.js"></script>
\r
34 <!-- <script type="text/javascript" src="https://code.jquery.com/ui/1.11.3/jquery-ui.min.js">
\r
36 <link href="https://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css" rel="stylesheet" /> -->
\r
37 <script type="text/javascript">
\r
38 $(document).ready(function() {
\r
39 $("#detailCont").show();
\r
41 //jsondata = loadNeData();
\r
42 $('#sai').bootstrapTable({
\r
43 //Assigning data to table
\r
46 $('.table tbody tr').click(function() {
\r
47 $(this).addClass('openoTable_row_selected').siblings().removeClass('openoTable_row_selected');
\r
49 $('.detail-top ul li').click(function() {
\r
50 $(this).addClass('current').siblings().removeClass('current');
\r
52 $("#topoCont").hide();
\r
53 $("#inpCont").hide();
\r
55 function operateFormatter(value, row, index) {
\r
57 '<img class="siteDeleteImg" src="images/delete.png" href="javascript:void(0)" style="cursor: pointer" name="title" title="Delete" />'
\r
60 window.operateEvents = {
\r
61 'click .siteDeleteImg': function(e, value, row, index) {
\r
62 // TO DO ajex call for delete
\r
63 var result = deleteNe(row.id, row);
\r
67 function hideBasic() {
\r
68 $("#basicInfoTab").hide();
\r
71 function showBasic() {
\r
72 $("#basicInfoTab").show();
\r
75 function showTopoCont() {
\r
76 $("#topoCont").show();
\r
77 $("#detailCont").hide();
\r
78 $("#inpCont").hide();
\r
81 function showDetCont() {
\r
82 $("#topoCont").hide();
\r
83 $("#detailCont").show();
\r
84 $("#inpCont").hide();
\r
87 function showInpCont() {
\r
88 $("#topoCont").hide();
\r
89 $("#detailCont").hide();
\r
90 $("#inpCont").show();
\r
93 function showTopoContMod() {
\r
94 $("#topoContMod").show();
\r
95 $("#detailContMod").hide();
\r
96 $("#inpContMod").hide();
\r
99 function showDetContMod() {
\r
100 $("#topoContMod").hide();
\r
101 $("#detailContMod").show();
\r
102 $("#inpContMod").hide();
\r
105 function showInpContMod() {
\r
106 $("#topoContMod").hide();
\r
107 $("#detailContMod").hide();
\r
108 $("#inpContMod").show();
\r
114 border-bottom-style: none;
\r
119 .fixed-table-container tbody td .th-inner,
\r
120 .fixed-table-container thead th .th-inner {
\r
123 .fixed-table-pagination .pagination-info {
\r
124 display: none !important;
\r
126 .table tbody tr:hover td,
\r
127 .table tbody tr.odd:hover td {
\r
128 background-color: #e6fbe0 !important;
\r
130 /*.fixed-table-pagination .page-list{display:inline-block !important}*/
\r
133 background: #F8F6F6 !important;
\r
141 <body id="open_base_site_cotentBody" class="cotentBody ng-scope">
\r
142 <div class="container-fluid ms-controller">
\r
143 <h3> Life Cycle Manager > Service Info</h3>
\r
144 <div class="separator-line"></div>
\r
146 <div class="detail" style="border-radius:5px;">
\r
147 <div class="detail-top" style="margin-top:2px;border-radius:5px;">
\r
149 <li style="border-radius:5px;" id="detHov" class="current" onClick="showDetCont();">Detail Info</li>
\r
150 <li style="border-radius:5px;" nClick="showTopoCont();">topo</li>
\r
151 <li style="border-radius:5px;" onClick="showInpCont();">InputData</li>
\r
155 <div style="border-radius:5px;">
\r
156 <div id="detailCont" style="display:none;">
\r
158 <object data="accorTables.html" width="100%" height="300" type="text/html">
\r
162 <div id="topoCont" style="display:none;">downnn</div>
\r
163 <div id="inpCont" style="display:none;">
\r
164 <iframe src="inputData.html" name="" allowTransparency="true" scrolling="no" frameborder="0">
\r
169 <div class="detail-bottom"></div>
\r