2 Copyright 2018 ZTE Corporation.
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.
20 <base href="/iui/holmes/">
21 <meta charset="UTF-8">
22 <meta name="viewport" content="width=device-width, initial-scale=1">
23 <script src="./assets/thirdparty/js/jquery_1.12.4.min.js"></script>
24 <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
25 crossorigin="anonymous">
27 <style type="text/css">
31 background-color: #e0e0e0;
35 border-bottom: 2px solid #d0d0d0d0;
40 font-family: Arial, Helvetica, sans-serif;
57 background-color: #4d5b69;
84 background-color: rgba(255, 255, 255, 0.1);
90 font-family: Arial, Helvetica, sans-serif;
102 background-color: #424e57;
109 <div class="fl logo-img">
110 <img src="./assets/images/logo.png" alt="ONAP" />
112 <div class="fl title">
117 <div class="sidebar fl">
118 <div class="menu-item active" id="rule-mgmt">
119 <div class="menu-icon">
120 <i class="fas fa-file-alt"></i>
122 <div class="menu-item-title">Rules</div>
125 <div class="main fl">
126 <iframe src="/iui/holmes/#/alarmRule"></iframe>
130 <script type="text/javascript">
133 "rule-mgmt": "/iui/holmes/#/alarmRule"
136 function adjustSizes() {
137 var height = $(window).height() - $(".header").outerHeight() - 4;
138 $(".sidebar").height(height);
139 $("iframe").height(height);
140 $(".main").height(height);
141 $("iframe").width($(window).width() - $(".sidebar").width());
145 $(window).on("resize", function () {
150 $(".menu-item").on("click", function () {
151 $("iframe")[0].src = menus[$(this).attr("id")];