Initial commit.
[chopwood] / login.fhtml
1 ~1[<!-- -*-html-*-
2 --
3 -- Login page
4 --
5 -- (c) 2013 Mark Wooding
6 -->
7
8 <!------- Licensing notice --------------------------------------------------
9 --
10 -- This file is part of Chopwood: a password-changing service.
11 --
12 -- Chopwood is free software; you can redistribute it and/or modify
13 -- it under the terms of the GNU Affero General Public License as
14 -- published by the Free Software Foundation; either version 3 of the
15 -- License, or (at your option) any later version.
16 --
17 -- Chopwood is distributed in the hope that it will be useful,
18 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
19 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 -- GNU Affero General Public License for more details.
21 --
22 -- You should have received a copy of the GNU Affero General Public
23 -- License along with Chopwood; if not, see
24 -- <http://www.gnu.org/licenses/>.
25 -->~]~
26
27 <h1>Chopwood: login</h1>
28
29 ~={why}@[<p class='whinge wrong'>~:H~2%~]~
30
31 <form method=POST action='~={script}H/auth'>
32 <table>
33 <tr>
34 <td class=label><label for=login-u accesskey=l><u>L</u>ogin:</label>
35 <td><input id=login-u name=u>
36 <tr>
37 <td class=label><label for=login-pw>Password:</label>
38 <td><input id=login-pw name=pw type=password>
39 <td><button type=submit accesskey=o>L<u>o</u>gin</button>
40 </table>
41 </form>
42
43 <p>Logging in will set a short-lived cookie in your browser. If this
44 worries you, you might like to read about
45 <a href='~={static}H/cookies.html'>why and how Chopwood uses cookies<a>.
46
47 ~1[<!------- That's all, folks ------------------------------------------>~]~