Mercurial > treepkg
annotate recipes/gnupg/pkits.html @ 557:9824e409388b
Refactor git branching
If a checkout is already available and the branch is changed in
the config git command would always fail because it doesn't know
the branch to track. Therefore always check if the branch is
locally available and if not checkout the remote branch
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Fri, 02 Sep 2011 08:45:28 +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> |