Alterações á página de login.

git-svn-id: https://svn.coded.pt/svn/SIPRP@2047 bb69d46d-e84e-40c8-a05a-06db0d633741
lxbfYeaa
Carlos Roque 11 years ago
parent 5e90a6b303
commit 1cddb55795

@ -2,7 +2,7 @@
<div style="height: 200px; width: 100%; -rave-layout: grid" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://www.sun.com/web/ui">
<f:subview id="Footer">
<h:panelGrid binding="#{Footer.gridPanel1}" columnClasses="gridColCenter" columns="1" id="gridPanel1" style="height: 24px; left: 0px; top: 0px; position: absolute; width: 100%">
<ui:panelGroup binding="#{Footer.groupPanel1}" id="groupPanel1" style="border-bottom: solid rgb(255, 255, 255) 1px; height: 21px">
<ui:panelGroup binding="#{Footer.groupPanel1}" id="groupPanel1" style="height: 21px">
<ui:staticText binding="#{Footer.staticText1}" id="staticText1" text="Software desenvolvido por "/>
<ui:image binding="#{Footer.image1}" height="21" id="image1" url="/resources/images/logo_evolute_small.png" width="100"/>
<ui:staticText binding="#{Footer.staticText2}" escape="false" id="staticText2" text="&amp;nbsp;&amp;copy; 2008 "/>

@ -1,56 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{Login.page1}" id="page1">
<ui:html binding="#{Login.html1}" id="html1">
<ui:head binding="#{Login.head1}" id="head1">
<ui:link binding="#{Login.link1}" id="link1" url="/resources/stylesheet.css"/>
</ui:head>
<ui:body binding="#{Login.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{Login.form1}" id="form1">
<h:panelGrid binding="#{Login.gridPanel6}" id="gridPanel6" style="height: 24px; left: 0px; top: 300px; position: absolute; width: 100%"
styleClass="centerBlock" width="456">
<h:panelGrid binding="#{Login.gridPanel1}" columns="1" id="gridPanel1" style="height: 24px" styleClass="centerBlock" width="456">
<h:panelGrid binding="#{Login.gridPanel2}" columns="1" id="gridPanel2"
style="border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0); height: 24px" width="432">
<h:panelGrid binding="#{Login.gridPanel3}" columns="1" id="gridPanel3" style="height: 24px" width="432">
<h:panelGrid binding="#{Login.gridPanel4}" columnClasses="gridColLeft, gridColRight" columns="2" id="gridPanel4"
style="height: 72px" width="432">
<ui:staticText binding="#{Login.staticText1}" id="staticText1" style="height: 24px; width: 144px"
styleClass="labelBold" text="Utilizador:"/>
<ui:textField binding="#{Login.txtUtilizador}" id="txtUtilizador" style="height: 24px; width: 220px"/>
<ui:staticText binding="#{Login.staticText2}" id="staticText2" style="height: 24px; width: 144px"
styleClass="labelBold" text="Palavra-chave:"/>
<ui:passwordField binding="#{Login.txtPassword}" id="txtPassword" style="height: 24px; width: 220px"/>
</h:panelGrid>
</h:panelGrid>
<h:panelGrid binding="#{Login.gridPanel5}" columnClasses="gridColLeft, gridColRight" columns="2" id="gridPanel5"
style="height: 24px" width="432">
<ui:hyperlink action="#{Login.lnkPassRecovery_action}" binding="#{Login.lnkPassRecovery}" id="lnkPassRecovery"
style="height: 24px; width: 168px" text="Recuperar palavra-chave"/>
<ui:button action="#{Login.butLogin_action}" binding="#{Login.butLogin}" id="butLogin"
style="height: 24px; width: 120px" text="Entrar"/>
</h:panelGrid>
</h:panelGrid>
<ui:staticText binding="#{Login.txtMsg}" escape="false" id="txtMsg" style="height: 24px; width: 240px" styleClass="labelMsg"/>
</h:panelGrid>
</h:panelGrid>
<div class="gridColCenter" style="height: 22px; left: 0px; top: 500px; position: absolute; width: 100%">
<jsp:directive.include file="Footer.jspf"/>
</div>
</ui:form>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6942416-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</ui:body>
</ui:html>
</ui:page>
</f:view>
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{Login.page1}" id="page1">
<ui:html binding="#{Login.html1}" id="html1">
<ui:head binding="#{Login.head1}" id="head1">
<ui:link binding="#{Login.link1}" id="link1" url="/resources/stylesheet.css"/>
</ui:head>
<ui:body binding="#{Login.body1}" id="body1" style="-rave-layout: grid" styleClass="lg">
<ui:form binding="#{Login.form1}" id="form1" styleClass="lg">
<h:panelGrid binding="#{Login.gridPanel6}" id="gridPanel6" styleClass="lg-1" columns="1"
rowClasses="lg-image,lg-banner">
<h:graphicImage value="/resources/images/logo_SIPRP.png" alt="siprp" />
<ui:staticText id="banner1" text="Aplicações de Gestão de SST - Acesso reservado"/>
<h:panelGrid binding="#{Login.gridPanel2}" columns="1" id="gridPanel2" styleClass="lg-2">
<h:panelGrid binding="#{Login.gridPanel4}" columnClasses="gridColRight, gridColRight" columns="2"
id="gridPanel4" styleClass="lg-4">
<ui:staticText binding="#{Login.staticText1}" id="staticText1"
styleClass="lg-label1" text="Utilizador:"/>
<ui:textField binding="#{Login.txtUtilizador}" id="txtUtilizador" styleClass="lg-input1"/>
<ui:staticText binding="#{Login.staticText2}" id="staticText2"
styleClass="lg-label2" text="Palavra-chave:"/>
<ui:passwordField binding="#{Login.txtPassword}" id="txtPassword" styleClass="lg-input2" />
</h:panelGrid>
<h:panelGrid binding="#{Login.gridPanel5}" columnClasses="gridColLeft, gridColRight" columns="2" id="gridPanel5"
styleClass="lg-5">
<ui:hyperlink action="#{Login.lnkPassRecovery_action}" binding="#{Login.lnkPassRecovery}" id="lnkPassRecovery"
styleClass="lg-link1" text="Recuperar palavra-chave"/>
<ui:button action="#{Login.butLogin_action}" binding="#{Login.butLogin}" id="butLogin"
styleClass="lg-btn1" text="Entrar"/>
</h:panelGrid>
<h:panelGrid id="gridPanel7" columns="1" styleClass="lg-6">
<ui:staticText binding="#{Login.txtMsg}" escape="false" id="txtMsg" styleClass="lg-label3"/>
</h:panelGrid>
</h:panelGrid>
</h:panelGrid>
<div class="gridColCenter" style="height: 22px; left: 0px; top: 500px; position: absolute; width: 100%">
<jsp:directive.include file="Footer.jspf"/>
</div>
</ui:form>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6942416-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

@ -1,5 +1,6 @@
/* Style rules to make data tables look better */
body {background-color: #bbd400}
body {background-color: #bbd400;}
.list-header {
background-color: #eeeeee;
font-size: larger;
@ -175,7 +176,6 @@ body {background-color: #bbd400}
font-weight: bold;
}
.labelTrabalhador {
color: #000000;
}
@ -189,8 +189,6 @@ body {background-color: #bbd400}
font-weight : bold;
}
.show{
display : inline;
}
@ -202,3 +200,99 @@ body {background-color: #bbd400}
.lnkRed{
color : #990000 ;
}
/* Login */
body.lg {
background: #e6e6e6 !important;
}
form.lg {
position: relative !important;
margin: 0 auto !important;
width: 400px !important;
}
table.lg-1 {
background: #ffffff !important;
width: 400px !important;
position: absolute !important;
left: 0 !important;
height: 24px !important;
max-width: 400px !important;
table-layout: fixed !important;
margin: 0 auto !important;
border: 0 none !important;
top: 200px !important;
}
tr.lg-image {
width: 400px !important;
text-align: center !important;
height: 82px !important;
}
tr.lg-banner {
width: 400px !important;
text-align: center !important;
background: #999999 !important;
height: 40px !important;
color: #ffffff !important;
}
table.lg-2 {
height: 24px !important;
margin: 0 auto !important;
}
table.lg-4 {
height: 72px !important;
width: 340px !important;
margin: 0 auto !important;
margin-bottom: 10px !important;
margin-top: 10px !important;
}
span.lg-label1, span.lg-label2 {
height: 24px !important;
width: 144px !important;
font-weight: normal !important;
}
input.lg-input1, input.lg-input2 {
height: 24px !important;
width: 235px !important;
border: 0 none !important;
background: #f2f2f2 !important;
}
table.lg-5, table.lg-6 {
height: 24px !important;
width: 340px !important;
margin: 0 auto !important;
}
a.lg-link1 {
height: 24px !important;
width: 168px !important;
color: #c5232f !important;
}
input.lg-btn1 {
height: 24px !important;
width: 120px !important;
border: medium none !important;
background: #808080 !important;
color: white !important;
}
input.lg-btn1:hover {
background: #333333 !important;
}
span.lg-label3 {
color: #c5232f !important;
font-size :14px !important;
font-weight: normal !important;
height: 24px !important;
}

Loading…
Cancel
Save