chiark / gitweb /
chpwd: Put `user' into template arguments when run from command-line.
[chopwood] / operate.fhtml
CommitLineData
a2916c06
MW
1~1[<!-- -*-html-*-
2 --
3 -- Outcome of some password-changing operation
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: ~={what}:H &ndash; ~={outcome.rc}[~
28 successful~;~
29 partially successful~;~
30 FAILED~;~
31 no services specified: nothing to do!~:;~
32 unknown status code ~={outcome.rc}D~]~
33</h1>
34
35~={info}{~
36<h2>Information</h2>
37<p><table>~@{
38<tr><th align=left>~={@.desc}:H<td>~={@.value}H~*~}
39</table>~2%~}~
40
41<h2>Results</h2>
42<p><table>~={results}{
43<tr>~
44<th align=left>~={@.svc.friendly}:H~
45<td>~={@.error}:[OK~={@.result}[: ~H~]~;FAILED: ~={@.error.msg}:H~]~*~}
46</table>
47
48~1[<!------- That's all, folks ------------------------------------------>~]~