gdg
2020-12-23 6207311d7df3d47d27fdd78de33f49875550f52f
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
66
67
68
69
70
71
72
<?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">
    <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:column>
                        <p:column styleClass="header-title">
                            <p:outputLabel value="${institute.name}"></p:outputLabel>
                            <br />
                            <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>
                </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="请输入密码"></p:password>
                    </div>
                    <p:commandButton value="登录" ajax="false" action="#{loginController.login}" styleClass="save-button"></p:commandButton>
                </div>
            </div>
        </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>
</h:body>
</html>