annotate recipes/gnupg/pkits.html @ 386:ffa86312ee81 treepkg-status

added classed for treepkg status xml generation
author Bjoern Ricks <bricks@intevation.de>
date Wed, 07 Jul 2010 15:40:48 +0000
parents 27e78096a3fe
children
rev   line source
156
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
1 <html xmlns:py="http://genshi.edgewall.org/">
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
2 <head>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
3 <title>PKITS Log for GnuPG2 rev. ${pkits.revision}</title>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
4 <style type="text/css">
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
5 .statustable { background:#F4F4F4; }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
6 .statustablehead { background:#E0E0E0; }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
7 .statusheading { font-weight:bold; }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
8 .PASS { background:#C0FFC0; }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
9 .SKIP { background:#FFFFC0; }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
10 .FAIL { background:#FFC0C0; }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
11 .UNRESOLVED { background:#D0D0D0 }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
12 .unknown { background:#FFFFFF }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
13 tr { background:#FFFFFF; }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
14 td { padding:5px; }
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
15 </style>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
16 </head>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
17 <body>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
18 <H1>PKITS Log for GnuPG2 rev. ${pkits.revision}</H1>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
19 <table class="statustable">
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
20 <tr>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
21 <th class="statustablehead">Test ID</th>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
22 <th class="statustablehead">Status</th>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
23 <th class="statustablehead">Details</th>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
24 </tr>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
25 <py:for each="line in pkits.lines">
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
26 <py:with vars="testid, status, details = line.split(None, 2)">
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
27 <tr class="${status in ['PASS', 'SKIP', 'FAIL', 'UNRESOLVED']
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
28 and status or 'unknown'}">
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
29 <td>${testid}</td>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
30 <td>${status}</td>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
31 <td>${details}</td>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
32 </tr>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
33 </py:with>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
34 </py:for>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
35 </table>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
36 </body>
27e78096a3fe gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
37 </html>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)