Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
skinny.wu
9 years ago
Commit
938f9b603c81b80b12ab8ce3699af6de9438066d
1 parent
41a33cfa
嵌入Hystrix页面
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
0 deletions
monitor-ui-ctrl/src/main/java/com/ui/ctrl/HystrixCtrl.java
monitor-ui-web/src/main/webapp/jsp/hystrix/aws.jsp
monitor-ui-web/src/main/webapp/jsp/hystrix/qcloud.jsp
monitor-ui-ctrl/src/main/java/com/ui/ctrl/HystrixCtrl.java
0 → 100644
View file @
938f9b6
package
com
.
ui
.
ctrl
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.servlet.ModelAndView
;
/**
* 查看hystrix数据页面
*
* Created by yoho on 2016/7/21.
*/
@Controller
@RequestMapping
(
"hystrix"
)
public
class
HystrixCtrl
{
@RequestMapping
(
"/aws"
)
public
ModelAndView
toAWS
()
{
return
new
ModelAndView
(
"hystrix/aws"
);
}
@RequestMapping
(
"/qcloud"
)
public
ModelAndView
toQCloud
()
{
return
new
ModelAndView
(
"hystrix/qcloud"
);
}
}
...
...
monitor-ui-web/src/main/webapp/jsp/hystrix/aws.jsp
0 → 100644
View file @
938f9b6
<
%@page language="java" contentType="text/html;charset=utf-8" %>
<
%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<
%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html
lang=
"en"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
项目发布
</title>
<link
rel=
"stylesheet"
href=
"<%=basePath %>css/unicorn.main.css"
/>
<link
rel=
"stylesheet"
href=
"<%=basePath %>css/unicorn.grey.css"
/>
<link
rel=
"stylesheet"
href=
"<%=basePath %>css/bootstrap.min.css"
/>
<link
href=
"<%=basePath%>css/style.default.css"
rel=
"stylesheet"
>
<link
href=
"<%=basePath%>css/morris.css"
rel=
"stylesheet"
>
<link
href=
"<%=basePath%>css/select2.css"
rel=
"stylesheet"
/>
</head>
<body
>
<
%--style="background-color: #444444;font-size: 14px"--%>
<!-- 头部 -->
<div
id=
"head"
>
</div>
<script
src=
"<%=basePath %>script/common/genarate_left_panel.js"
></script>
<script
type=
"text/javascript"
>
$
(
"#li_projectRelease"
).
addClass
(
"active"
);
</script>
<script
language=
"JavaScript"
>
window
.
onbeforeunload
=
function
()
{
return
"真的离开?"
;
}
</script>
</body>
</html>
...
...
monitor-ui-web/src/main/webapp/jsp/hystrix/qcloud.jsp
0 → 100644
View file @
938f9b6
<
%--
Created by IntelliJ IDEA.
User: yoho
Date: 2016/7/21
Time: 14:49
To change this template use File | Settings | File Templates.
--%>
<
%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
...
...
Please
register
or
login
to post a comment