From 1123d12eb51d23edcd4a39660ef8cd47802b931d Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期二, 30 一月 2024 11:06:32 +0800
Subject: [PATCH] change config
---
src/main/webapp/login.xhtml | 21 +++++++--------------
1 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/src/main/webapp/login.xhtml b/src/main/webapp/login.xhtml
index 478242c..b564f00 100644
--- a/src/main/webapp/login.xhtml
+++ b/src/main/webapp/login.xhtml
@@ -16,19 +16,20 @@
</h:head>
-<h:body style="margin: 0px">
+<h:body style="margin: 0px;height: 100%">
<div class="login">
<div name="north" style="background: url(resources/images/head_bg.png) no-repeat;background-size: 100% 100%;">
<h:form id="northForm">
<p:panelGrid styleClass="header">
<p:row>
<p:column styleClass="header-logo">
- <p:graphicImage value="/resources/images/logo.png"></p:graphicImage>
+ <p:graphicImage value="#{loginController.logo}" style="width: 80px;height: 80px"></p:graphicImage>
</p:column>
<p:column styleClass="header-title">
- <p:outputLabel value="${institute.name}"></p:outputLabel>
+ <p:outputLabel value="#{loginController.title}"></p:outputLabel>
<br />
<p:outputLabel value="智慧实验室试剂全过程安全管理系统" style="color: #ffd74a"></p:outputLabel>
+<!-- <p:outputLabel value="智能安全危险化学品全生命周期管控系统" style="color: #ffd74a"></p:outputLabel>-->
</p:column>
</p:row>
</p:panelGrid>
@@ -40,6 +41,7 @@
<div class="login-box">
<div class="login-logo">
<p:graphicImage value="/resources/images/logo1.png"></p:graphicImage>
+<!-- <p:graphicImage value="/resources/images/logo3.png"></p:graphicImage>-->
</div>
<div class="login-input">
@@ -50,7 +52,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 +60,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