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