XSLTools

Annotated examples/Common/VerySimpleWithOpenID/Resources/initiation_template.xhtml

692:fd003deb4d59
2009-11-29 Paul Boddie Added fixes from the WebStack example involving credentials, non-ASCII characters, and some XRD-based resources.
paulb@652 1
<?xml version="1.0" encoding="iso-8859-1"?>
paulb@652 2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
paulb@652 3
       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
paulb@652 4
<html xmlns="http://www.w3.org/1999/xhtml"
paulb@652 5
 xmlns:template="http://www.boddie.org.uk/ns/xmltools/template">
paulb@652 6
<head>
paulb@652 7
  <title>Authenticate via OpenID</title>
paulb@652 8
</head>
paulb@652 9
paulb@652 10
<body template:element="initiation">
paulb@652 11
<h1>Authenticate via OpenID</h1>
paulb@652 12
paulb@652 13
<form method="post" name="openid_identifier">
paulb@652 14
  <table cellspacing="0" cellpadding="5" id="initiation-info">
paulb@652 15
    <tbody>
paulb@652 16
      <tr>
paulb@652 17
        <th>OpenID Identifier (URL)</th>
paulb@652 18
        <td><input type="text" template:attribute-field="identity" name="..." value="..." size="20"/></td>
paulb@652 19
      </tr>
paulb@652 20
      <tr>
paulb@652 21
        <td colspan="2">
paulb@652 22
          <input type="submit" value="Login" name="initiate" />
paulb@652 23
        </td>
paulb@652 24
      </tr>
paulb@652 25
    </tbody>
paulb@652 26
  </table>
paulb@652 27
  <input type="hidden" template:attribute-field="app" name="..." value="..."/>
paulb@652 28
</form>
paulb@652 29
paulb@652 30
</body>
paulb@652 31
</html>