Authored by qinchao

恢复密码重置 admin

... ... @@ -7,7 +7,7 @@ package com.ui.contants;
public class ProjectConstant {
//左侧菜单的版本号控制
public static final String MENU_VERSION = "20180423-002";
public static final String MENU_VERSION = "20180508-001";
public static final String DEPLOY_IP="10.66.80.23";
... ...
... ... @@ -113,4 +113,8 @@
<script src="<%=basePath %>script/common/genarate_left_panel.js?v=<%=ProjectConstant.MENU_VERSION %>"></script>
<script type="text/javascript">
$("#li_dashboard").addClass("active");
if("admin"=="${sessionScope.user.name}"){
$("#changepwd_a").show();
}
</script>
... ...
... ... @@ -44,7 +44,7 @@ function GobalStandardPost(url,args){
var innerHTML = "<h5 style='color: #E0EEE0;font-style:oblique;font-weight:900;font-size:200%;margin-left: 45px;margin-top: 20px;'>YOHO</h5>";
innerHTML += "<div id='user-nav'>";
innerHTML += "<ul class='nav btn-group'>";
//innerHTML += "<li class='btn btn-inverse'><a id='changepwd_a' href='#'><i class='icon icon-cog'></i> <span class='text'>changePWD</span></a></li>";
innerHTML += "<li class='btn btn-inverse'><a id='changepwd_a' style='display: none' href='#'><i class='icon icon-cog'></i> <span class='text'>changePWD</span></a></li>";
innerHTML += "<li class='btn btn-inverse'><a id='logout_a' href='#'><i class='icon icon-share-alt'></i> <span class='text'>Logout</span></a></li>";
innerHTML += "</ul>";
innerHTML += "</div>";
... ... @@ -204,7 +204,7 @@ document.getElementById("li_phpRelease_a").setAttribute("href", path + "/phpBuil
document.getElementById("li_nodeRelease_a").setAttribute("href", path + "/nodeBuild/toProject");
document.getElementById("li_dockerRelease_a").setAttribute("href", path + "/dockerBuild/toProject");
document.getElementById("logout_a").setAttribute("href", path + "/user/logout");
//document.getElementById("changepwd_a").setAttribute("href", path + "/user/toupdatePwd");
document.getElementById("changepwd_a").setAttribute("href", path + "/user/toupdatePwd");
document.getElementById("li_sms_a").setAttribute("href", path + "/sms/toSmsLog");
document.getElementById("li_search_compare_a").setAttribute("href", path + "/searchCompare/getComparePage");
document.getElementById("li_zkMonitor_a").setAttribute("href", path + "/zkCfgCommon/tozkMonitorList");
... ...