parent
56aa5e0e60
commit
40c7e392f0
9 changed files with 86 additions and 33 deletions
@ -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> |
||||||
|
<head> |
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> |
||||||
|
<title>Error 400 Page - Bad request</title> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
<font color="red">Error: exception.getMessage() </font><br> |
||||||
|
</body> |
||||||
|
</html> |
@ -0,0 +1,24 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<!DOCTYPE html> |
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" |
||||||
|
xmlns:h="http://xmlns.jcp.org/jsf/html" |
||||||
|
xmlns:f="http://xmlns.jcp.org/jsf/core" |
||||||
|
xmlns:ui="http://java.sun.com/jsf/facelets" |
||||||
|
xmlns:p="http://primefaces.org/ui" |
||||||
|
> |
||||||
|
<h:head>Gourmet Recipe Manager</h:head> |
||||||
|
<h:body> |
||||||
|
<h1>Gourmet Recipe Manager</h1> |
||||||
|
<p>This is an implementation of Thomas Hinkle's |
||||||
|
Gourmet Recipe Manager, originally a desktop |
||||||
|
application but now available as a Java Web |
||||||
|
application.</p> |
||||||
|
<p><a href="main.jsf"> |
||||||
|
Go to Main Page</a></p> |
||||||
|
<hr/> |
||||||
|
<p>Copyright © 2021, 2024 Tim Holloway. All Rights Reserved. |
||||||
|
<p>This is an open-source application under the |
||||||
|
Common Development and Distribution License (CDDL). |
||||||
|
</p> |
||||||
|
</h:body> |
||||||
|
</html> |
@ -1,26 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<ui:composition template="/WEB-INF/layout/layout.xhtml" |
|
||||||
xmlns:h="http://xmlns.jcp.org/jsf/html" |
|
||||||
xmlns:f="http://xmlns.jcp.org/jsf/core" |
|
||||||
xmlns:ui="http://java.sun.com/jsf/facelets" |
|
||||||
xmlns:p="http://primefaces.org/ui" |
|
||||||
xmlns:c="http://xmlns.jcp.org/jstl" |
|
||||||
> |
|
||||||
<!-- Print Recipe --> |
|
||||||
<ui:define name="title">Gourmet Recipe Manager</ui:define> |
|
||||||
<ui:define name="content"> |
|
||||||
<h:form id="printForm"> |
|
||||||
<h:messages /> |
|
||||||
<p>This is an implementation of Thomas Hinkle's |
|
||||||
Gourmet Recipe Manager, originally a desktop |
|
||||||
application but now available as a Java Web |
|
||||||
application.</p> |
|
||||||
<h:outputLink |
|
||||||
value="/main.jsf" |
|
||||||
>Go to Main Page</h:outputLink> |
|
||||||
</h:form> |
|
||||||
<div style="height: 20px"> |
|
||||||
<h:outputText value="" /> |
|
||||||
</div> |
|
||||||
</ui:define> |
|
||||||
</ui:composition> |
|
@ -0,0 +1,31 @@ |
|||||||
|
<?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"> |
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" |
||||||
|
xmlns:h="http://java.sun.com/jsf/html" |
||||||
|
xmlns:f="http://xmlns.jcp.org/jsf/core" |
||||||
|
xmlns:p="http://primefaces.org/ui" |
||||||
|
xmlns:pe="http://primefaces.org/ui/extensions"> |
||||||
|
|
||||||
|
<h:head> |
||||||
|
<title>Login</title> |
||||||
|
<h:outputStylesheet name="/css/login.css" /> |
||||||
|
</h:head> |
||||||
|
|
||||||
|
<h:body> |
||||||
|
<h:form prependId="false"> |
||||||
|
|
||||||
|
<p:panelGrid columns="1" styleClass="ui-fluid center ui-noborder"> |
||||||
|
<h2>Please login</h2> |
||||||
|
|
||||||
|
<p:outputLabel value="Login failed!" styleClass="red" |
||||||
|
rendered="${!empty param['error']}" /> |
||||||
|
|
||||||
|
<p:inputText id="username" placeholder="User name" /> |
||||||
|
<p:password id="password" placeholder="Password" /> |
||||||
|
|
||||||
|
<p:commandButton value="Login" ajax="false" /> |
||||||
|
</p:panelGrid> |
||||||
|
|
||||||
|
</h:form> |
||||||
|
</h:body> |
||||||
|
</html> |
Loading…
Reference in new issue