Commit | Line | Data |
---|---|---|
a2916c06 MW |
1 | ~1[<!-- -*-html-*- |
2 | -- | |
3 | -- Common HTML wrapper | |
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 | ||
761bf1a6 | 27 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" |
138df99f | 28 | "http://www.w3c.org/TR/html4/strict.dtd"> |
a2916c06 MW |
29 | <html> |
30 | <head> | |
31 | <title>~={title}H</title> | |
138df99f MW |
32 | <link rel=stylesheet type="text/css" media=screen |
33 | href="~={static}H/chpwd.css"> | |
34 | <script type="text/javascript" src="~={static}H/chpwd.js"></script> | |
c958c9a5 | 35 | <meta name=viewport content="width=device-width initial-scale=1.0"> |
a2916c06 MW |
36 | </head> |
37 | ||
38 | <body> | |
39 | ||
40 | ~={payload}@?~ | |
41 | ||
5b7c6334 MW |
42 | ~={warnings}{~ |
43 | <div class=warn> | |
44 | <h2>Warnings</h2> | |
45 | <ul> | |
46 | ~@{<li>~:H~%~}~ | |
47 | </ul> | |
48 | </div>~2%~}~ | |
49 | ||
a2916c06 MW |
50 | <div class=credits> |
51 | <a href="~={static}H/about.html">Chopwood</a>, version ~={version}H: | |
52 | copyright © 2012 Mark Wooding | |
53 | <br> | |
48a2cf35 MW |
54 | This is |
55 | <a rel=license href="http://www.gnu.org/licenses/agpl-3.0.html">free | |
a2916c06 MW |
56 | software</a>. You |
57 | can <a href="~={script}H/~={package}H-~={version}H.tar.gz">download | |
58 | the source code</a>. | |
59 | </div> | |
60 | ||
61 | </body> | |
62 | </html> | |
63 | ~ | |
64 | ~1[<!------- That's all, folks ------------------------------------------>~]~ |