]> gitweb.factorcode.org Git - factor.git/blob - basis/furnace/auth/login/login.xml
furnace.auth.login: adding some padding
[factor.git] / basis / furnace / auth / login / login.xml
1 <?xml version='1.0' ?>
2
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4
5     <div style="padding: 10px;">
6         <t:title>Login</t:title>
7
8         <t:if t:value="description">
9                 <p>You must log in to <t:label t:name="description" />.</p>
10         </t:if>
11
12         <t:if t:value="capabilities">
13                 <p>Your user must have the following capabilities:</p>
14                 <ul>
15                         <t:each t:name="capabilities">
16                                 <li><t:label t:name="value" /></li>
17                         </t:each>
18                 </ul>
19         </t:if>
20
21         <t:form t:action="login">
22
23                 <table>
24
25                         <tr>
26                                 <th class="field-label">User name:</th>
27                                 <td><t:field t:name="username" /></td>
28                         </tr>
29
30                         <tr>
31                                 <th class="field-label">Password:</th>
32                                 <td><t:password t:name="password" /></td>
33                         </tr>
34
35                 </table>
36
37                 <p>
38
39                         <button type="submit">Log in</button>
40                         <t:validation-errors />
41
42                 </p>
43
44         </t:form>
45
46         <p>
47                 <t:if t:code="furnace.auth.features.registration:allow-registration?">
48                         <t:a t:href="register">Register</t:a>
49                 </t:if>
50                 |
51                 <t:if t:code="furnace.auth.features.recover-password:allow-password-recovery?">
52                         <t:a t:href="recover-password">Recover Password</t:a>
53                 </t:if>
54         </p>
55     </div>
56 </t:chloe>