From b14564a35173d65b90fe6b56b828c97384abd171 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期一, 25 九月 2023 09:47:26 +0800
Subject: [PATCH] change html

---
 src/main/webapp/index.xhtml |   42 +++++++++++++++++-------------------------
 1 files changed, 17 insertions(+), 25 deletions(-)

diff --git a/src/main/webapp/index.xhtml b/src/main/webapp/index.xhtml
index 789c191..3c7456f 100644
--- a/src/main/webapp/index.xhtml
+++ b/src/main/webapp/index.xhtml
@@ -13,18 +13,20 @@
 <head></head>
 <ui:composition template="layouts/default.xhtml">
     <ui:define name="title">智慧实验室试剂全过程安全管理系统</ui:define>
+<!--    <ui:define name="title">智能安全危险化学品全生命周期管控系统</ui:define>-->
 
     <ui:define name="north">
         <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="/resources/images/logo.png" style="width: 80px;height: 80px"></p:graphicImage>
                     </p:column>
                     <p:column styleClass="header-title">
-                        <p:outputLabel value="${institute.name}"></p:outputLabel>
+                        <p:outputLabel value="中国科学院苏州纳米技术与纳米仿生研究所"></p:outputLabel>
                         <br/>
                         <p:outputLabel value="智慧实验室试剂全过程安全管理系统" style="color: #ffd74a"></p:outputLabel>
+<!--                        <p:outputLabel value="智能安全危险化学品全生命周期管控系统" style="color: #ffd74a"></p:outputLabel>-->
                     </p:column>
                     <p:column styleClass="header-personal">
                         <h:inputHidden id="ischange" value="#{loginController.ischange}"></h:inputHidden>
@@ -39,21 +41,17 @@
               resizable="false" width="420">
             <h:form id="dialogFormPassword">
                 <p:panelGrid columns="1" styleClass="content">
-                    <p:outputLabel value="账号"></p:outputLabel>
-                     <p:inputText value="#{userMngController.username}" maxlength="100"
-                             required="true" requiredMessage="请输入原密码"></p:inputText>
-
                     <p:outputLabel value="原密码"></p:outputLabel>
                     <p:password value="#{userMngController.oriPassword}" maxlength="100"
-                             required="true" requiredMessage="请输入原密码"></p:password>
+                             required="true" requiredMessage="请输入原密码" autocomplete="off"></p:password>
 
-                     <p:outputLabel value="新密码"></p:outputLabel>
+                     <p:outputLabel value="新密码(必须是8位以上且包含大小写和特殊字符)"></p:outputLabel>
                      <p:password value="#{userMngController.newPassword}" maxlength="100"
-                             required="true" requiredMessage="请输入新密码"></p:password>
+                             required="true" requiredMessage="请输入新密码" autocomplete="off"></p:password>
 
                     <p:outputLabel value="确认密码"></p:outputLabel>
                              <p:password value="#{userMngController.newPasswordSecond}" maxlength="100"
-                             required="true" requiredMessage="请输入确认密码"></p:password>
+                             required="true" requiredMessage="请输入确认密码" autocomplete="off"></p:password>
                 </p:panelGrid>
                 <p:panel styleClass="btn">
                     <p:commandButton value="修改" actionListener="#{userMngController.updatePasswordAction}"
@@ -70,21 +68,17 @@
                   closable="false">
             <h:form id="changeFormPassword">
                 <p:panelGrid columns="1" styleClass="content">
-                    <p:outputLabel value="账号"></p:outputLabel>
-                    <p:inputText value="#{menuController.userName}" maxlength="100"
-                                 readonly="true"></p:inputText>
-
                     <p:outputLabel value="原密码"></p:outputLabel>
                     <p:password value="#{userMngController.oriPassword}" maxlength="100"
-                                required="true" requiredMessage="请输入原密码"></p:password>
+                                required="true" requiredMessage="请输入原密码" autocomplete="off"></p:password>
 
-                    <p:outputLabel value="新密码"></p:outputLabel>
+                    <p:outputLabel value="新密码(必须是8位以上且包含大小写和特殊字符)"></p:outputLabel>
                     <p:password value="#{userMngController.newPassword}" maxlength="100"
-                                required="true" requiredMessage="请输入新密码"></p:password>
+                                required="true" requiredMessage="请输入新密码" autocomplete="off"></p:password>
 
                     <p:outputLabel value="确认密码"></p:outputLabel>
                     <p:password value="#{userMngController.newPasswordSecond}" maxlength="100"
-                                required="true" requiredMessage="请输入确认密码"></p:password>
+                                required="true" requiredMessage="请输入确认密码" autocomplete="off"></p:password>
                 </p:panelGrid>
                 <p:panel styleClass="btn">
                     <p:commandButton value="修改" actionListener="#{userMngController.updatePasswordAction}"
@@ -135,6 +129,10 @@
                         </c:if>
                     </c:forEach>
                 </c:if>
+                <!-- 添加系统链接 -->
+
+                                
+                                
             </p:panelGrid>
         </h:form>
     </ui:define>
@@ -147,13 +145,7 @@
     </ui:define>
 
     <ui:define name="south">
-        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>
+        <a style="text-align: center;display: block" href="http://beian.miit.gov.cn" target="_Blank">Copyright©2017 中国科学院苏州纳米技术与纳米仿生研究所 苏ICP备10220403号-6</a>
     </ui:define>
-
-
 </ui:composition>
 </html>

--
Gitblit v1.9.2