]> git.proxmox.com Git - pmg-api.git/blob - templates/spamreport-verbose.tmpl
spamreport-verbose.tmpl: use button tag to get correct button text.
[pmg-api.git] / templates / spamreport-verbose.tmpl
1 [%- IF timespan == 'week' -%]
2 [%- SET title = "Weekly Spam Report for '${pmail}' - ${date}'" -%]
3 [%- ELSE %]
4 [%- SET title = "Daily Spam Report for '${pmail}' - ${date}" -%]
5 [%- END -%]
6 <html>
7 <head>
8 <title>[% title %]</title>
9 </head>
10 <body>
11
12 <div align=center>
13
14 <form action='[% actionhref | uri %]' method='POST'>
15 <input type=hidden name=ticket value='[% ticket | uri %]'>
16
17 <table width='100%'>
18 <tr>
19 <td colspan=3>
20 <div style='width:600px;'><h2>[% title %]</h2></div>
21 </td>
22 </tr>
23
24 <tr><td colspan=3><hr></td></tr>
25
26 <!--start entries-->
27 [% FOREACH item IN items %]
28 <tr title='[% item.title %]'>
29 <td><input type=checkbox name=cselect value='[% item.ticket | uri %]'></td>
30 <td>[% item.from %]</td>
31 <td align=right>[% item.date %] [% item.time %]</td>
32 </tr>
33 <tr title='[% item.title %]'>
34 <td></td>
35 <td colspan=2><a style='cursor:pointer;' href='[% item.href | url %]'>
36 <b>[% item.subject %]</b></a></td>
37 </tr>
38 <tr><td colspan=3><hr></td></tr>
39 [% END %]
40 <!--end entries-->
41
42 <tr>
43 <td colspan=3>
44 <div align=center>
45 <button type=submit name=whitelist>Whitelist</button>
46 <button type=submit name=blacklist>Blacklist</button>
47 <button type=submit name=deliver>Deliver</button>
48 <button type=submit name=delete>Delete</button>
49 </div>
50 </td>
51 </tr>
52
53 </table>
54
55 <p>Please use the <a href='[% managehref | url %]'>web interface</a> to manage your spam quarantine.</p>
56 <p>Powered by <a target=_blank href='http://www.proxmox.com'>Proxmox</a>.</p>
57 </div>
58
59 </form>
60 </body>
61 </html>