|
@@ -8,38 +8,19 @@ |
8 |
8 |
|
<title>Log In</title> |
9 |
9 |
|
</h:head> |
10 |
10 |
|
<h:body> |
11 |
|
- |
|
|
11 |
+ |
|
12 |
12 |
|
<p:layout fullPage="true"> |
13 |
13 |
|
<p:growl showDetail="true"/> |
14 |
|
- |
<p:layoutUnit |
15 |
|
- |
position="north" |
16 |
|
- |
resizable="false" |
17 |
|
- |
closable="false" |
18 |
|
- |
collapsible="false" |
19 |
|
- |
style="border-color: transparent"> |
20 |
|
- |
|
21 |
|
- |
|
22 |
|
- |
|
23 |
|
- |
<h:outputText value="Ramani" |
24 |
|
- |
style="font-size: 40px; font-weight: bold"/> |
25 |
|
- |
|
26 |
|
- |
|
27 |
|
- |
|
28 |
|
- |
<h:form> |
29 |
|
- |
|
30 |
|
- |
<h:selectOneMenu value="#{language.localeCode}" onchange="submit()" |
31 |
|
- |
valueChangeListener="#{language.countryLocaleCodeChanged}"> |
32 |
|
- |
<f:selectItems value="#{language.countriesInMap}" /> |
33 |
|
- |
</h:selectOneMenu> |
34 |
|
- |
</h:form> |
35 |
|
- |
|
36 |
|
- |
</p:layoutUnit> |
37 |
|
- |
|
|
14 |
+ |
|
|
15 |
+ |
|
38 |
16 |
|
<p:layoutUnit position="center" |
39 |
17 |
|
style="border-color: transparent;"> |
40 |
18 |
|
<div align="center"> |
41 |
|
- |
<p:panel header="#{msg['login.Identifique']}" |
42 |
|
- |
style="width: 340px; height: 340px;"> |
|
19 |
+ |
<p:panel |
|
20 |
+ |
style="width: 340px; height: 340px; border-color: transparent; |
|
21 |
+ |
border-radius: 2px; box-shadow: 0 2px 2px 0; |
|
22 |
+ |
background-color: #f7f7f7; margin-top: 60px"> |
|
23 |
+ |
<span style="font-size: 30px; font-family: serif; font-weight: bold; color: black">Ramani</span> |
43 |
24 |
|
<form action="#{request.contextPath}/j_spring_security_check" |
44 |
25 |
|
method="post"> |
45 |
26 |
|
<h:panelGrid columns="1"> |
|
@@ -49,47 +30,58 @@ |
49 |
30 |
|
</h:panelGroup> |
50 |
31 |
|
<h:panelGroup rendered="#{empty param.login_error}"> |
51 |
32 |
|
<br/> |
52 |
|
- |
</h:panelGroup> |
53 |
|
- |
<h:outputText value="#{msg['login.NomeUsuario']}" |
54 |
|
- |
style="font-weight: bold"/> |
55 |
|
- |
<p:inputText id="j_username" |
56 |
|
- |
style="width: 280px;"/> |
|
33 |
+ |
</h:panelGroup> |
|
34 |
+ |
<p:inputText id="j_username" placeholder="#{msg['login.NomeUsuario']} " |
|
35 |
+ |
style="width: 280px; height: 35px "/> |
57 |
36 |
|
<br/> |
58 |
|
- |
<h:outputText value="#{msg['login.Senha']}" |
59 |
|
- |
style="font-weight: bold"/> |
60 |
|
- |
<p:password id="j_password" |
61 |
|
- |
style="width: 280px;"/> |
|
37 |
+ |
<p:password id="j_password" placeholder="#{msg['login.Senha']}" |
|
38 |
+ |
style="width: 280px; height: 35px"/> |
62 |
39 |
|
<br/> |
63 |
40 |
|
<h:form> |
64 |
41 |
|
<p:commandButton value="#{msg['login.Entrar']}" |
65 |
|
- |
ajax="false" |
66 |
|
- |
style="width: 293px"/> |
|
42 |
+ |
ajax="false" |
|
43 |
+ |
style="width: 293px; |
|
44 |
+ |
background-color: #4d90fe; |
|
45 |
+ |
background-size: 0%; |
|
46 |
+ |
border-color: transparent; |
|
47 |
+ |
border-style: none; |
|
48 |
+ |
color: white; |
|
49 |
+ |
padding: 10px "/> |
67 |
50 |
|
</h:form> |
68 |
51 |
|
</h:panelGrid> |
69 |
52 |
|
</form> |
70 |
|
- |
<h:form> |
71 |
|
- |
<br/> |
72 |
|
- |
<h:outputText value="#{msg['login.NaoTemConta']}" |
73 |
|
- |
style="color: darkgray"/> |
74 |
|
- |
<p:commandLink action="/criarColaborador.xhtml" |
|
53 |
+ |
<h:form> |
|
54 |
+ |
<p:commandLink action="/criarColaborador.xhtml" |
75 |
55 |
|
value="#{msg['login.Cadastre']}" |
76 |
56 |
|
ajax="false" immediate="true" |
77 |
|
- |
style="color: darkgray; font-weight: bold"/> |
|
57 |
+ |
style="color: #3399ff; |
|
58 |
+ |
margin-left: 170px; text-decoration: none; |
|
59 |
+ |
" |
|
60 |
+ |
/> |
|
61 |
+ |
|
|
62 |
+ |
|
|
63 |
+ |
<h:selectOneMenu style="margin-left: 185px; margin-top: 10px; font-size: 12px" |
|
64 |
+ |
value="#{language.localeCode}" onchange="submit()" |
|
65 |
+ |
valueChangeListener="#{language.countryLocaleCodeChanged}"> |
|
66 |
+ |
<f:selectItems value="#{language.countriesInMap}" /> |
|
67 |
+ |
</h:selectOneMenu> |
|
68 |
+ |
|
|
69 |
+ |
|
78 |
70 |
|
</h:form> |
79 |
71 |
|
</p:panel> |
80 |
72 |
|
</div> |
81 |
73 |
|
</p:layoutUnit> |
82 |
|
- |
|
|
74 |
+ |
|
83 |
75 |
|
<p:layoutUnit |
84 |
76 |
|
position="south" |
85 |
77 |
|
resizable="false" |
86 |
78 |
|
closable="false" |
87 |
79 |
|
collapsible="false" |
88 |
|
- |
style="font-size: 10px"> |
|
80 |
+ |
style="font-size: 12px"> |
89 |
81 |
|
<center> |
90 |
82 |
|
<h:outputLabel value="#{msg['login.Rodape']}"/> |
91 |
83 |
|
</center> |
92 |
84 |
|
</p:layoutUnit> |
93 |
85 |
|
</p:layout> |
94 |
|
- |
</h:body> |
|
86 |
+ |
</h:body> |
95 |
87 |
|
</html> |