chiark / gitweb /
Found in crybaby's working tree.
[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 <form method=POST action="~={script}H/auth">
30 <table>
31 <tr>
32   <td class=label><label for=login-u accesskey=l><u>L</u>ogin:</label>
33   <td><input id=login-u name=u>
34 <tr>
35   <td class=label><label for=login-pw accesskey=p><u>P</u>assword:</label>
36   <td><input id=login-pw name=pw type=password>
37   <td><button type=submit accesskey=o>L<u>o</u>gin</button>
38 ~={why}@[<tr>
39   <td colspan=3 class="login-whinge"><p class="whinge wrong">~:H~%~]~
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 ------------------------------------------>~]~