1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/examples/Common/VerySimpleWithLogin/Resources/login_template.xhtml Fri Jun 01 23:17:45 2007 +0000
1.3 @@ -0,0 +1,45 @@
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>Very Simple Login</title>
1.11 + <script type="text/javascript" src="{$root}scripts/sarissa.js"> </script>
1.12 + <script type="text/javascript" src="{$root}scripts/XSLForms.js"> </script>
1.13 +</head>
1.14 +
1.15 +<body template:element="login">
1.16 +<h1 template:i18n="-">Login</h1>
1.17 +
1.18 +<form method="post">
1.19 + <table cellspacing="0" cellpadding="5" id="login-info">
1.20 + <thead>
1.21 + <tr>
1.22 + <th class="heading" colspan="2" template:i18n="-">Login</th>
1.23 + </tr>
1.24 + </thead>
1.25 + <tbody>
1.26 + <tr template:element="error" template:init="no">
1.27 + <th class="error" template:i18n="-">Error</th>
1.28 + <td><span template:i18n="{@message}">error message</span></td>
1.29 + </tr>
1.30 + <tr>
1.31 + <th template:i18n="-">Username</th>
1.32 + <td><input type="text" template:attribute-field="username" name="..." value="..." size="20"/></td>
1.33 + </tr>
1.34 + <tr>
1.35 + <th template:i18n="-">Password</th>
1.36 + <td><input type="password" template:attribute-field="password" name="..." value="..." size="20"/></td>
1.37 + </tr>
1.38 + <tr>
1.39 + <td colspan="2">
1.40 + <input type="submit" value="{template:i18n('Log in!')}" name="login" />
1.41 + </td>
1.42 + </tr>
1.43 + </tbody>
1.44 + </table>
1.45 +</form>
1.46 +
1.47 +</body>
1.48 +</html>