Nova rede bayesiana
[simdecs2.git] / web / login.xhtml
1 <?xml version='1.0' encoding='UTF-8' ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4       xmlns:p="http://primefaces.org/ui"
5       xmlns:h="http://java.sun.com/jsf/html"
6       xmlns:f="http://java.sun.com/jsf/core">
7     <h:head>
8         <title>SimDeCS - Login</title>
9         <link type="text/css" rel="stylesheet" href="style.css" />
10     </h:head>
11     <h:body>
12         <br/><br/><br/><br/>
13         <center>
14             <p:panel header="Acesso ao SimDeCS" style="width:400px;">
15                 <h:form id="flogin">
16                     <center>
17                         <p:ajaxStatus />
18                         <p:growl id="messageGrow1" showDetail="true" life="3000" />
19
20                         <table border="0">
21                             <tr>
22                                 <th>Usuário:</th>
23                                 <td><h:inputText id="login"  value="#{loginBean.login}" /></td>
24                             </tr>
25                             <tr>
26                                 <th>Senha:</th>
27                                 <td><h:inputSecret id="senha"  value="#{loginBean.senha}" /></td>
28                             </tr>                
29                         </table> 
30                         <h:commandButton action="#{loginBean.validadeLogin()}" value="Login"/>                        
31                     </center>
32                 </h:form>
33             </p:panel>
34             <br/>
35             <a href="simulador/index.html">Acesso ao Simulador</a>
36             <br/>
37             <br/>
38             <h:outputText value="Versão 4.5.0" />
39         </center>
40     </h:body>
41 </html>
42