Authored by xuhui

腾讯云页面添加java重启模块

@@ -14,6 +14,7 @@ innerHTML += "<li id='li_dashboard'><a id='li_dashboard_a' href=''><i class='ic @@ -14,6 +14,7 @@ innerHTML += "<li id='li_dashboard'><a id='li_dashboard_a' href=''><i class='ic
14 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>"; 14 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>";
15 innerHTML += "<ul>"; 15 innerHTML += "<ul>";
16 innerHTML += "<li id='li_centerswitch_new'><a id='li_centerswitch_new_a' href='#'>双中心切换_新</a></li>"; 16 innerHTML += "<li id='li_centerswitch_new'><a id='li_centerswitch_new_a' href='#'>双中心切换_新</a></li>";
  17 +innerHTML += "<li id='li_javarestart'><a id='li_javarestart_a' href='#'>java重启</a></li>";
17 innerHTML += "<li id='li_switchtopo'><a id='li_switchtopo_a' href='#'>NGINX切换</a></li>"; 18 innerHTML += "<li id='li_switchtopo'><a id='li_switchtopo_a' href='#'>NGINX切换</a></li>";
18 innerHTML += "</ul></li>"; 19 innerHTML += "</ul></li>";
19 20
@@ -22,6 +23,7 @@ document.getElementById("head").innerHTML = innerHTML; @@ -22,6 +23,7 @@ document.getElementById("head").innerHTML = innerHTML;
22 23
23 var path = getUrlBasePath(); 24 var path = getUrlBasePath();
24 document.getElementById("li_switchtopo_a").setAttribute("href",path+"/topoSwitch/toTopoSwitch"); 25 document.getElementById("li_switchtopo_a").setAttribute("href",path+"/topoSwitch/toTopoSwitch");
  26 +document.getElementById("li_javarestart_a").setAttribute("href", path + "/javaRestart/toJavaRestart");
25 document.getElementById("li_centerswitch_new_a").setAttribute("href",path+"/centerSwitch/toCenterSwitchNew"); 27 document.getElementById("li_centerswitch_new_a").setAttribute("href",path+"/centerSwitch/toCenterSwitchNew");
26 28
27 29