...
|
...
|
@@ -14,6 +14,7 @@ innerHTML += "<li id='li_dashboard'><a id='li_dashboard_a' href=''><i class='ic |
|
|
innerHTML += "<li class='submenu' id='li_switch'><a id='li_switch_a' href='#'><i class='icon icon-th-list'></i> <span>关键切换</span><span class='label'>3</span></a>";
|
|
|
innerHTML += "<ul>";
|
|
|
innerHTML += "<li id='li_centerswitch_new'><a id='li_centerswitch_new_a' href='#'>双中心切换_新</a></li>";
|
|
|
innerHTML += "<li id='li_javarestart'><a id='li_javarestart_a' href='#'>java重启</a></li>";
|
|
|
innerHTML += "<li id='li_switchtopo'><a id='li_switchtopo_a' href='#'>NGINX切换</a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
...
|
...
|
@@ -22,6 +23,7 @@ document.getElementById("head").innerHTML = innerHTML; |
|
|
|
|
|
var path = getUrlBasePath();
|
|
|
document.getElementById("li_switchtopo_a").setAttribute("href",path+"/topoSwitch/toTopoSwitch");
|
|
|
document.getElementById("li_javarestart_a").setAttribute("href", path + "/javaRestart/toJavaRestart");
|
|
|
document.getElementById("li_centerswitch_new_a").setAttribute("href",path+"/centerSwitch/toCenterSwitchNew");
|
|
|
|
|
|
|
...
|
...
|
|