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
qinchao
7 years ago
Commit
b88d2d01431078000e26cf243a5ec13928502bee
1 parent
8f90c700
去掉不用菜单
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
monitor-ui-web/src/main/webapp/jsp/dashBoard/dashBoard.jsp
monitor-ui-web/src/main/webapp/script/common/genarate_left_panel.js
monitor-ui-web/src/main/webapp/jsp/dashBoard/dashBoard.jsp
View file @
b88d2d0
...
...
@@ -104,7 +104,7 @@
</div>
</div>
</body>
<script
src=
"<%=basePath %>script/common/genarate_left_panel.js?v=2017121
3
"
></script>
<script
src=
"<%=basePath %>script/common/genarate_left_panel.js?v=2017121
9
"
></script>
<script
type=
"text/javascript"
>
$
(
"#li_dashboard"
).
addClass
(
"active"
);
</script>
...
...
monitor-ui-web/src/main/webapp/script/common/genarate_left_panel.js
View file @
b88d2d0
...
...
@@ -47,11 +47,11 @@ innerHTML += "<li id='li_mobjectInfo'><a id='li_mobjectInfo_a' href=''><i class=
innerHTML
+=
"</ul></li>"
;
/*Hystrix*/
innerHTML
+=
"<li class='submenu' id='li_hystrix'><a id='a_hystrix' href='#'><i class='icon icon-th-list'></i> <span>Hystrix</span><span class='label'>2</span></a>"
;
innerHTML
+=
"<ul><li id='li_hystrix_aws'><a id='a_hystrix_aws' href=''>AWS</a></li>"
;
innerHTML
+=
"<li id='li_hystrix_qcloud'><a id='a_hystrix_qcloud' href=''>QCloud</a></li>"
;
/*innerHTML += "<li class='submenu' id='li_hystrix'><a id='a_hystrix' href='#'><i class='icon icon-th-list'></i> <span>Hystrix</span><span class='label'>2</span></a>";*/
/*innerHTML += "<ul><li id='li_hystrix_aws'><a id='a_hystrix_aws' href=''>AWS</a></li>";*/
/*innerHTML += "<li id='li_hystrix_qcloud'><a id='a_hystrix_qcloud' href=''>QCloud</a></li>";*/
/*innerHTML += "<li id='li_hystrix_nginx'><a id='a_hystrix_nginx' href=''>NGINX</a></li>";*/
innerHTML
+=
"</ul></li>"
;
/*innerHTML += "</ul></li>";*/
/*工单系统*/
innerHTML
+=
"<li class='submenu' id='li_worksystem'><a id='li_worksystem_a' href='#'><i class='icon icon-th-list'></i> <span>工单系统</span><span class='label'>4</span></a><ul>"
;
...
...
@@ -186,8 +186,8 @@ document.getElementById("li_redisClear_a").setAttribute("href", path + "/redisCl
//document.getElementById("li_nginxswitch_a").setAttribute("href", path + "/nginxswitch/toNginxSwitch");
//document.getElementById("li_luaswitch_a").setAttribute("href", path + "/luaswitch/toLuaSwitch");
document
.
getElementById
(
"li_projectHistory_a"
).
setAttribute
(
"href"
,
path
+
"/project/toHistory"
);
document
.
getElementById
(
"a_hystrix_aws"
).
setAttribute
(
"href"
,
path
+
"/hystrix/aws"
);
document
.
getElementById
(
"a_hystrix_qcloud"
).
setAttribute
(
"href"
,
path
+
"/hystrix/qcloud"
);
//document.getElementById("a_hystrix_aws").setAttribute("href", path + "/hystrix/aws");
//document.getElementById("a_hystrix_qcloud").setAttribute("href", path + "/hystrix/qcloud");
//document.getElementById("a_hystrix_nginx").setAttribute("href", path + "/hystrix/nginx");
document
.
getElementById
(
"li_dns_monitor_a"
).
setAttribute
(
"href"
,
path
+
"/dns_monitor/"
);
document
.
getElementById
(
"li_nginxSync_a"
).
setAttribute
(
"href"
,
path
+
"/nginxSync/toNginxSync"
);
...
...
Please
register
or
login
to post a comment