From 15c0421c864198b125c30589fa43c50eaa00b36e Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期五, 10 二月 2023 10:30:02 +0800 Subject: [PATCH] 中国科学院重庆绿色智能技术研究院 配置 --- src/main/webapp/login.xhtml | 15 +++------------ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/main/webapp/login.xhtml b/src/main/webapp/login.xhtml index e5b6af0..e3e9074 100644 --- a/src/main/webapp/login.xhtml +++ b/src/main/webapp/login.xhtml @@ -23,7 +23,7 @@ <p:panelGrid styleClass="header"> <p:row> <p:column styleClass="header-logo"> - <p:graphicImage value="/resources/images/logo.png"></p:graphicImage> + <p:graphicImage value="/resources/images/${institute.name}logo.png" style="width: 80px;height: 80px"></p:graphicImage> </p:column> <p:column styleClass="header-title"> <p:outputLabel value="${institute.name}"></p:outputLabel> @@ -50,7 +50,7 @@ <div> <p:outputLabel value="密码" styleClass="pwd-label"></p:outputLabel> - <p:password value="#{loginController.loginPwd}" required="true" requiredMessage="请输入密码"></p:password> + <p:password value="#{loginController.loginPwd}" required="true" requiredMessage="请输入密码" autocomplete="off"></p:password> </div> <p:commandButton value="登录" ajax="false" action="#{loginController.login}" styleClass="save-button"></p:commandButton> </div> @@ -58,15 +58,6 @@ </h:form> </div> - <div class="login-footer"> - <!--<p:graphicImage value="/resources/images/logo2.png"></p:graphicImage>--> - - Copyright © 2017 ${institute.name} - <!--<p:commandLink id="nonAjax" src="http:beian.miit.gov.cn/" ajax="false"> - <h:outputText value="苏ICP备13012319号-1" /> - </p:commandLink>--> - <a href="http://beian.miit.gov.cn">苏ICP备10220403号-6</a> - - </div> + <a style="text-align: center;display: block" href="http://beian.miit.gov.cn" target="_Blank">${institute.copyright}</a> </h:body> </html> -- Gitblit v1.9.2