Subversion Repository Public Repository

ramani

Diff Revisions 568 vs 569 for /Ramani/web/login.xhtml

Diff revisions: vs.
  @@ -1,77 +1,77 @@
1 - <?xml version="1.0" encoding="UTF-8"?>
2 - <!DOCTYPE html>
3 - <html xmlns="http://www.w3.org/1999/xhtml"
4 - xmlns:h="http://java.sun.com/jsf/html"
5 - xmlns:p="http://primefaces.org/ui"
6 - xmlns:f="http://xmlns.jcp.org/jsf/core">
7 - <h:head>
8 - <title>Log In</title>
9 -
10 - </h:head>
11 - <h:body>
12 -
13 - <p:layout fullPage="true">
14 - <p:growl showDetail="true"/>
15 -
16 -
17 - <p:layoutUnit position="center"
18 - style="border-color: transparent;">
19 - <div align="center" style=" margin-top: 130px; ">
20 - <span style="font-size: 40px; font-family: serif; font-weight: bold;;">Ramani</span>
21 - <p:panel style=" width: 300px ;
22 - height: 360px;">
23 - <p:graphicImage value="resources/logo.png" style="height: 110px"/>
24 - <form action="#{request.contextPath}/j_spring_security_check"
25 - method="post">
26 - <h:panelGrid columns="1">
27 - <h:panelGroup rendered="#{!empty param.login_error}" >
28 - <span style="color: red">"#{msg['login.ErroNomeSenha']}"</span>
29 - <br/>
30 - </h:panelGroup>
31 - <h:panelGroup rendered="#{empty param.login_error}">
32 - <br/>
33 - </h:panelGroup>
34 - <p:inputText id="j_username" placeholder="#{msg['login.NomeUsuario']} "
35 - />
36 - <br/>
37 - <p:password id="j_password" placeholder="#{msg['login.Senha']}"
38 - />
39 - <br/>
40 - <h:form>
41 - <p:commandButton value="#{msg['login.Entrar']}" id="btLogin"
42 - ajax="false"
43 - style="width: 100%; margin-bottom: 5px"/>
44 - </h:form>
45 - </h:panelGrid>
46 - </form>
47 - <h:form>
48 - <p:commandLink action="/criarColaborador.xhtml"
49 - value="#{msg['login.Cadastre']}"
50 - ajax="false" immediate="true"
51 - />
52 - </h:form>
53 - </p:panel>
54 - </div>
55 - </p:layoutUnit>
56 -
57 - <p:layoutUnit
58 - position="south"
59 - >
60 -
61 - <h:form >
62 - <center>
63 - <h:outputLabel class="rodaPe" value="#{msg['login.Rodape']}"/>
64 -
65 - <h:graphicImage value="resources/icon_chat_small.png" class="imgChat" style="margin: 0 10px 0 10px;" />
66 - <h:selectOneMenu
67 - value="#{language.localeCode}" onchange="submit()"
68 - valueChangeListener="#{language.countryLocaleCodeChanged}">
69 - <f:selectItems value="#{language.countriesInMap}" />
70 - </h:selectOneMenu>
71 -
72 - </center>
73 - </h:form>
74 - </p:layoutUnit>
75 - </p:layout>
76 - </h:body>
77 - </html>
1 + <?xml version="1.0" encoding="UTF-8"?>
2 + <!DOCTYPE html>
3 + <html xmlns="http://www.w3.org/1999/xhtml"
4 + xmlns:h="http://java.sun.com/jsf/html"
5 + xmlns:p="http://primefaces.org/ui"
6 + xmlns:f="http://xmlns.jcp.org/jsf/core">
7 + <h:head>
8 + <title>Log In</title>
9 +
10 + </h:head>
11 + <h:body>
12 +
13 + <p:layout fullPage="true">
14 + <p:growl showDetail="true"/>
15 +
16 +
17 + <p:layoutUnit position="center"
18 + style="border-color: transparent;">
19 + <div align="center" style=" margin-top: 130px; ">
20 + <span style="font-size: 40px; font-family: serif; font-weight: bold;;">Ramani</span>
21 + <p:panel style=" width: 300px ;
22 + height: 360px;">
23 + <p:graphicImage value="resources/logo.png" style="height: 110px"/>
24 + <form action="#{request.contextPath}/j_spring_security_check"
25 + method="post">
26 + <h:panelGrid columns="1">
27 + <h:panelGroup rendered="#{!empty param.login_error}" >
28 + <span style="color: red">"#{msg['login.ErroNomeSenha']}"</span>
29 + <br/>
30 + </h:panelGroup>
31 + <h:panelGroup rendered="#{empty param.login_error}">
32 + <br/>
33 + </h:panelGroup>
34 + <p:inputText id="j_username" placeholder="#{msg['login.NomeUsuario']} "
35 + />
36 + <br/>
37 + <p:password id="j_password" placeholder="#{msg['login.Senha']}"
38 + />
39 + <br/>
40 + <h:form>
41 + <p:commandButton value="#{msg['login.Entrar']}" id="btLogin"
42 + ajax="false"
43 + style="width: 100%; margin-bottom: 5px"/>
44 + </h:form>
45 + </h:panelGrid>
46 + </form>
47 + <h:form>
48 + <p:commandLink action="/criarColaborador.xhtml"
49 + value="#{msg['login.Cadastre']}"
50 + ajax="false" immediate="true"
51 + />
52 + </h:form>
53 + </p:panel>
54 + </div>
55 + </p:layoutUnit>
56 +
57 + <p:layoutUnit
58 + position="south"
59 + >
60 +
61 + <h:form >
62 + <center>
63 + <h:outputLabel class="rodaPe" value="#{msg['login.Rodape']}"/>
64 +
65 + <h:graphicImage value="resources/icon_chat_small.png" class="imgChat" style="margin: 0 10px 0 10px;" />
66 + <h:selectOneMenu
67 + value="#{language.localeCode}" onchange="submit()"
68 + valueChangeListener="#{language.countryLocaleCodeChanged}">
69 + <f:selectItems value="#{language.countriesInMap}" />
70 + </h:selectOneMenu>
71 +
72 + </center>
73 + </h:form>
74 + </p:layoutUnit>
75 + </p:layout>
76 + </h:body>
77 + </html>