Authored by skinny.wu

修改Hystrix页面 去掉导航栏跟页头

@@ -9,41 +9,27 @@ @@ -9,41 +9,27 @@
9 %> 9 %>
10 10
11 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 11 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
12 -<html lang="en"> 12 +<html lang="en" style="height: 98%;">
13 <head> 13 <head>
14 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 14 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
15 15
16 <title>AWS Hystrix</title> 16 <title>AWS Hystrix</title>
17 - <link rel="stylesheet" href="<%=basePath %>css/unicorn.main.css"/>  
18 - <link rel="stylesheet" href="<%=basePath %>css/unicorn.grey.css"/>  
19 - <link rel="stylesheet" href="<%=basePath %>css/bootstrap.min.css"/>  
20 </head> 17 </head>
21 18
22 -<body style='background-color: #444444;font-size: 14px'> 19 +<body style="height: 100%;">
23 20
24 -<!-- 头部 -->  
25 -<div id="head">  
26 -</div>  
27 -  
28 -<div id="content" style="background:#FFFFFF">  
29 - <div> 21 +<div style="height: 100%;">
30 22
31 <iframe src="http://aws-monitor.yohops.com/monitor/monitor.html?streams=%5B%7B%22name%22%3A%22%22%2C%22stream%22%3A%22http%3A%2F%2F127.0.0.1%3A8080%2Fturbine%2Fturbine.stream%3Fcluster%3Dyhpro%22%2C%22auth%22%3A%22%22%2C%22delay%22%3A%22%22%7D%5D" 23 <iframe src="http://aws-monitor.yohops.com/monitor/monitor.html?streams=%5B%7B%22name%22%3A%22%22%2C%22stream%22%3A%22http%3A%2F%2F127.0.0.1%3A8080%2Fturbine%2Fturbine.stream%3Fcluster%3Dyhpro%22%2C%22auth%22%3A%22%22%2C%22delay%22%3A%22%22%7D%5D"
32 - id="iframepage" frameborder="0" scrolling="yes" width="100%" height="900px"> 24 + id="iframepage" frameborder="0" scrolling="yes" width="100%" height="100%">
33 25
34 </iframe> 26 </iframe>
35 -  
36 - </div>  
37 </div> 27 </div>
38 28
39 <script src="<%=basePath %>js/jquery-1.12.0.min.js" charset="UTF-8" type="text/javascript"></script> 29 <script src="<%=basePath %>js/jquery-1.12.0.min.js" charset="UTF-8" type="text/javascript"></script>
40 -<script src="<%=basePath %>script/common/genarate_left_panel.js"></script>  
41 <script type="text/javascript"> 30 <script type="text/javascript">
42 -  
43 - $("#li_hystrix").addClass("active open");  
44 - $("#li_hystrix_aws").addClass("active");  
45 -  
46 setInterval(function(){location.replace(location.href)},20 * 60 * 1000); 31 setInterval(function(){location.replace(location.href)},20 * 60 * 1000);
47 </script> 32 </script>
  33 +
48 </body> 34 </body>
49 </html> 35 </html>
1 -<%@page language="java" contentType="text/html;charset=utf-8" %>  
2 -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>  
3 -  
4 <% 1 <%
5 String path = request.getContextPath(); 2 String path = request.getContextPath();
6 String basePath = request.getScheme() + "://" 3 String basePath = request.getScheme() + "://"
@@ -9,42 +6,23 @@ @@ -9,42 +6,23 @@
9 %> 6 %>
10 7
11 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 8 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
12 -<html lang="en"> 9 +<html lang="en" style="height: 98%;">
13 <head> 10 <head>
14 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
15 12
16 <title>QCloud Hystrix</title> 13 <title>QCloud Hystrix</title>
17 - <link rel="stylesheet" href="<%=basePath %>css/unicorn.main.css"/>  
18 - <link rel="stylesheet" href="<%=basePath %>css/unicorn.grey.css"/>  
19 - <link rel="stylesheet" href="<%=basePath %>css/bootstrap.min.css"/>  
20 </head> 14 </head>
21 15
22 -<body style='background-color: #444444;font-size: 14px'>  
23 -  
24 -<!-- 头部 -->  
25 -<div id="head">  
26 -</div>  
27 -  
28 -<div id="content" style="background:#FFFFFF">  
29 - <div>  
30 -  
31 - <iframe src="http://qq-monitor.yohops.com/monitor/monitor.html?streams=%5B%7B%22name%22%3A%22%22%2C%22stream%22%3A%22http%3A%2F%2F127.0.0.1%3A8080%2Fturbine%2Fturbine.stream%3Fcluster%3Dyhpro%22%2C%22auth%22%3A%22%22%2C%22delay%22%3A%22%22%7D%5D"  
32 - name = "iframepage" id="iframepage" frameborder="0" scrolling="yes" width="100%" height="900px">  
33 -  
34 - </iframe>  
35 - 16 +<body style="height: 100%;">
  17 + <div style="height: 100%;">
  18 + <iframe src="http://qq-monitor.yohops.com/monitor/monitor.html?streams=%5B%7B%22name%22%3A%22%22%2C%22stream%22%3A%22http%3A%2F%2F127.0.0.1%3A8080%2Fturbine%2Fturbine.stream%3Fcluster%3Dyhpro%22%2C%22auth%22%3A%22%22%2C%22delay%22%3A%22%22%7D%5D"
  19 + id="iframepage" frameborder="0" scrolling="yes" width="100%" height="100%">
  20 + </iframe>
36 </div> 21 </div>
37 -</div>  
38 -  
39 <script src="<%=basePath %>js/jquery-1.12.0.min.js" charset="UTF-8" type="text/javascript"></script> 22 <script src="<%=basePath %>js/jquery-1.12.0.min.js" charset="UTF-8" type="text/javascript"></script>
40 -<script src="<%=basePath %>script/common/genarate_left_panel.js"></script>  
41 <script type="text/javascript"> 23 <script type="text/javascript">
42 -  
43 - $("#li_hystrix").addClass("active open");  
44 - $("#li_hystrix_qcloud").addClass("active");  
45 -  
46 setInterval(function(){location.replace(location.href)},20 * 60 * 1000); 24 setInterval(function(){location.replace(location.href)},20 * 60 * 1000);
47 -  
48 </script> 25 </script>
  26 +
49 </body> 27 </body>
50 </html> 28 </html>