1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/examples/Common/VerySimpleWithOpenID/Resources/login_template.xhtml Sun Feb 03 20:05:15 2008 +0000
1.3 @@ -0,0 +1,46 @@
1.4 +<?xml version="1.0" encoding="iso-8859-1"?>
1.5 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
1.6 + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1.7 +<html xmlns="http://www.w3.org/1999/xhtml"
1.8 + xmlns:template="http://www.boddie.org.uk/ns/xmltools/template">
1.9 +<head>
1.10 + <title>Login</title>
1.11 +</head>
1.12 +
1.13 +<body template:element="login">
1.14 +<h1>Login</h1>
1.15 +
1.16 +<form method="post">
1.17 + <table cellspacing="0" cellpadding="5" id="login-info">
1.18 + <thead>
1.19 + <tr>
1.20 + <th class="heading" colspan="2">Login</th>
1.21 + </tr>
1.22 + </thead>
1.23 + <tbody>
1.24 + <tr template:element="error" template:init="no">
1.25 + <th>Error</th>
1.26 + <td><span template:attribute-area="message,replace">error message</span></td>
1.27 + </tr>
1.28 + <tr>
1.29 + <th>Username</th>
1.30 + <td><input type="text" template:attribute-field="username" name="..." value="..." size="20"/></td>
1.31 + </tr>
1.32 + <tr>
1.33 + <th>Password</th>
1.34 + <td><input type="password" template:attribute-field="password" name="..." value="..." size="20"/></td>
1.35 + </tr>
1.36 + <tr>
1.37 + <td colspan="2">
1.38 + <input type="submit" value="Log in!" name="login" />
1.39 + </td>
1.40 + </tr>
1.41 + </tbody>
1.42 + </table>
1.43 + <input type="hidden" template:attribute-field="return_to" name="..." value="..."/>
1.44 + <input type="hidden" template:attribute-field="claimed_id" name="..." value="..."/>
1.45 + <input type="hidden" template:attribute-field="identity" name="..." value="..."/>
1.46 +</form>
1.47 +
1.48 +</body>
1.49 +</html>