kongzy
2023-11-28 59d9ea33f503e363f2e2941c7c00cc9dd9d9d1c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:p="http://primefaces.org/ui" xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>登录</title>
    <h:outputScript library="js" name="extra.js"></h:outputScript>
    <h:outputStylesheet library="css" name="mybootstrap.css"></h:outputStylesheet>
    <h:outputStylesheet library="css" name="default.css"></h:outputStylesheet>
 
 
 
 
</h:head>
<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="#{loginController.logo}" style="width: 80px;height: 80px"></p:graphicImage>
                        </p:column>
                        <p:column styleClass="header-title">
                            <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>
            </h:form>
        </div>
        <h:form>
            <p:growl showSummary="true" showDetail="true" life="3000" autoUpdate="true"></p:growl>
 
            <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">
                    <div>
                        <p:outputLabel value="用户" styleClass="user-label"></p:outputLabel>
                        <p:inputText value="#{loginController.loginAcct}" required="true" requiredMessage="请输入用户名"></p:inputText>
                    </div>
 
                    <div>
                        <p:outputLabel value="密码" styleClass="pwd-label"></p:outputLabel>
                        <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>
            </div>
        </h:form>
    </div>
 
    <a style="text-align: center;display: block" href="http://beian.miit.gov.cn" target="_Blank">${institute.copyright}</a>
</h:body>
</html>