parent
ec17e0d72a
commit
21d4f58574
14 changed files with 114 additions and 107 deletions
@ -1,12 +0,0 @@ |
|||||||
<!DOCTYPE html> |
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
||||||
<html> |
|
||||||
<head> |
|
||||||
<title>ERROR - Page Not Found</title> |
|
||||||
</head> |
|
||||||
<body> |
|
||||||
<h1>Page Not Found</h1> |
|
||||||
<p>This URL is invalid.</p> |
|
||||||
<p><a href="/main.jsf">Return to Main Page</a></p> |
|
||||||
</body> |
|
||||||
</html> |
|
@ -0,0 +1,12 @@ |
|||||||
|
<%@ page language="java" contentType="text/html; charset=US-ASCII" |
||||||
|
pageEncoding="US-ASCII" isErrorPage="true"%> |
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd"> |
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
||||||
|
<head> |
||||||
|
<title>ERROR - Page Not Found</title> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
<h1>Page Not Found</h1> |
||||||
|
<p><a href="/main.jsf">Return to Main Page</a></p> |
||||||
|
</body> |
||||||
|
</html> |
@ -1,14 +0,0 @@ |
|||||||
<!DOCTYPE html> |
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
||||||
<head> |
|
||||||
<title>ERROR - Page Expired</title> |
|
||||||
</head> |
|
||||||
<body> |
|
||||||
<h1>Page Expired</h1> |
|
||||||
<p>The page state could not be restored because it was |
|
||||||
left idle too long.</p> |
|
||||||
<p> |
|
||||||
<a href="/main.jsf">Return to Main Page</a> |
|
||||||
</p> |
|
||||||
</body> |
|
||||||
</html> |
|
@ -1,31 +1,36 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
<?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"> |
<!DOCTYPE html> |
||||||
<html xmlns="http://www.w3.org/1999/xhtml" |
<html xmlns="http://www.w3.org/1999/xhtml" |
||||||
xmlns:h="http://java.sun.com/jsf/html" |
xmlns:h="http://java.sun.com/jsf/html" |
||||||
xmlns:f="http://xmlns.jcp.org/jsf/core" |
xmlns:f="http://xmlns.jcp.org/jsf/core" |
||||||
xmlns:p="http://primefaces.org/ui" |
xmlns:p="http://primefaces.org/ui" |
||||||
xmlns:pe="http://primefaces.org/ui/extensions"> |
xmlns:pe="http://primefaces.org/ui/extensions" |
||||||
|
> |
||||||
<h:head> |
<h:head> |
||||||
<title>Login</title> |
<title>Login</title> |
||||||
<h:outputStylesheet name="/css/login.css" /> |
|
||||||
</h:head> |
</h:head> |
||||||
|
|
||||||
<h:body> |
<h:body> |
||||||
<h:form prependId="false"> |
<h:form prependId="false" style="width:100%"> |
||||||
|
<p:panelGrid columns="3" style="width:100%" |
||||||
<p:panelGrid columns="1" styleClass="ui-fluid center ui-noborder"> |
styleClass="ui-fluid center ui-noborder" |
||||||
<h2>Please login</h2> |
> |
||||||
|
<h:outputText style="width:33%;" value=" " /> |
||||||
<p:outputLabel value="Login failed!" styleClass="red" |
<p:panelGrid columns="1" id="grid1"> |
||||||
rendered="${!empty param['error']}" /> |
<h:outputText>Please login</h:outputText> |
||||||
|
<p:outputLabel value="Login failed!" |
||||||
<p:inputText id="username" placeholder="User name" /> |
styleClass="red" |
||||||
<p:password id="password" placeholder="Password" /> |
rendered="${!empty param['error']}" |
||||||
|
/> |
||||||
<p:commandButton value="Login" ajax="false" /> |
<p:outputLabel for="username">User ID</p:outputLabel> |
||||||
</p:panelGrid> |
<p:inputText id="username" |
||||||
|
placeholder="User name" |
||||||
</h:form> |
/> |
||||||
|
<p:outputLabel for="password">Password</p:outputLabel> |
||||||
|
<p:password id="password" placeholder="Password" /> |
||||||
|
<p:commandButton value="Login" ajax="false" /> |
||||||
|
</p:panelGrid> |
||||||
|
<h:outputText style="width:33%;" value=" " /> |
||||||
|
</p:panelGrid> |
||||||
|
</h:form> |
||||||
</h:body> |
</h:body> |
||||||
</html> |
</html> |
Loading…
Reference in new issue