]> git.proxmox.com Git - pmg-api.git/blob - templates/pmgreport.tt
pmgreport: new tool to send daily system reports
[pmg-api.git] / templates / pmgreport.tt
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Proxmox Status Report - [% date %] ([% fqdn %])</title>
5 <style>
6
7 table {
8 width: 500px;
9 }
10
11 table tr:nth-child(even) {
12 background-color: #eee;
13 }
14
15 table tr:nth-child(odd) {
16 background-color: #fff;
17 }
18
19 table, th, td {
20 border: 1px solid black;
21 border-collapse: collapse;
22 }
23
24 </style>
25 </head>
26 <body>
27
28 [% IF cluster %]
29 [% END %]
30
31 [% IF system %]
32 <h2>System Status</h2>
33 <table>
34 <tr>
35 <th>Property</th>
36 <th>Value</th>
37 </tr>
38 [% FOREACH item IN system %]
39 <tr>
40 <td>[% item.text %]</td>
41 <td>[% item.value %]</td>
42 </tr>
43 [% END %]
44 </table>
45 [% END %]
46
47
48 </body>
49 </html>