diff options
author | Nicolai Hähnle <nh@annarchy.freedesktop.org> | 2007-03-24 17:20:31 -0700 |
---|---|---|
committer | Nicolai Hähnle <nh@annarchy.freedesktop.org> | 2007-03-24 17:20:31 -0700 |
commit | 22fbbb5e8679ddf91532cb10eaa31be533383b48 (patch) | |
tree | cb43f83fe997f166f297dad671ddf04e2f601be4 /templates |
Initial commit
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.css | 89 | ||||
-rw-r--r-- | templates/index.html | 40 | ||||
-rw-r--r-- | templates/index_group.html | 6 | ||||
-rw-r--r-- | templates/index_group_testrun.html | 1 | ||||
-rw-r--r-- | templates/index_groupgroup.html | 1 | ||||
-rw-r--r-- | templates/index_test.html | 5 | ||||
-rw-r--r-- | templates/index_test_testrun.html | 1 | ||||
-rw-r--r-- | templates/index_testrun.html | 1 | ||||
-rw-r--r-- | templates/index_testrunb.html | 1 | ||||
-rw-r--r-- | templates/result.css | 35 | ||||
-rw-r--r-- | templates/result.html | 28 | ||||
-rw-r--r-- | templates/result_detail.html | 4 | ||||
-rw-r--r-- | templates/result_list.html | 3 | ||||
-rw-r--r-- | templates/result_listitem.html | 1 | ||||
-rw-r--r-- | templates/result_mstring.html | 1 |
15 files changed, 217 insertions, 0 deletions
diff --git a/templates/index.css b/templates/index.css new file mode 100644 index 000000000..3e10f8d28 --- /dev/null +++ b/templates/index.css @@ -0,0 +1,89 @@ + +table { + border: 0pt; + border-collapse: collapse; +} + +tr { + padding: 4pt; +} + +td { + padding: 4pt; +} + +.title { + background-color: #c8c838; +} + +.head { + background-color: #c8c838 +} + +.a { + background-color: #ffff95 +} + +.b { + background-color: #e1e183 +} + +.skip { + text-align: right; + background-color: #b0b0b0; +} + +.warn { + text-align: right; + background-color: #ff9020; +} + +.fail { + text-align: right; + background-color: #ff2020; +} + +.pass { + text-align: right; + background-color: #20ff20; +} + +.skipa { + text-align: right; + background-color: #d0d0d0; +} + +.warna { + text-align: right; + background-color: #ffc050; +} + +.faila { + text-align: right; + background-color: #ff5050; +} + +.passa { + text-align: right; + background-color: #50ff50; +} + +.skipb { + text-align: right; + background-color: #c0c0c0; +} + +.warnb { + text-align: right; + background-color: #ffa040; +} + +.failb { + text-align: right; + background-color: #ff4040; +} + +.passb { + text-align: right; + background-color: #40ff40; +} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 000000000..d6bf392d3 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,40 @@ +<html> + <head> + <title>Result summary </title> + <link rel="stylesheet" href="index.css"/> + </head> + <body> + <h1>Result summary</h1> + <p> + Currently showing: %(showcurrent)s + </p> + <p> + Show: %(showlinks)s + </p> + <table width="95%%"> + <colgroup> + <!-- 9 columns for indent --> + <col width="5pt" /> + <col width="20pt" /> + <col width="20pt" /> + <col width="20pt" /> + <col width="20pt" /> + <col width="20pt" /> + <col width="20pt" /> + <col width="20pt" /> + <col width="20pt" /> + + <!-- remaining name column --> + <col /> + + <!-- status column --> + %(testruns)s + </colgroup> + <tr> + <td colspan="10" /> + %(testrunsb)s + </tr> + %(group)s + </table> + </body> +</html> diff --git a/templates/index_group.html b/templates/index_group.html new file mode 100644 index 000000000..9c72bcff7 --- /dev/null +++ b/templates/index_group.html @@ -0,0 +1,6 @@ +<tr> + <td colspan="%(indent)s"> </td> + <td class="head" colspan="%(tenindent)s"><b>%(name)s</b></td> + %(testruns)s +</tr> +%(items)s diff --git a/templates/index_group_testrun.html b/templates/index_group_testrun.html new file mode 100644 index 000000000..07b53421d --- /dev/null +++ b/templates/index_group_testrun.html @@ -0,0 +1 @@ +<td class="%(status)s"><b>%(passnr)d/%(totalnr)d</b></td> diff --git a/templates/index_groupgroup.html b/templates/index_groupgroup.html new file mode 100644 index 000000000..53db60700 --- /dev/null +++ b/templates/index_groupgroup.html @@ -0,0 +1 @@ +%(group)s diff --git a/templates/index_test.html b/templates/index_test.html new file mode 100644 index 000000000..0c3bdde6a --- /dev/null +++ b/templates/index_test.html @@ -0,0 +1,5 @@ +<tr> + <td colspan="%(indent)s"> </td> + <td class="%(alternate)s" colspan="%(tenindent)s">%(name)s</td> + %(testruns)s +</tr> diff --git a/templates/index_test_testrun.html b/templates/index_test_testrun.html new file mode 100644 index 000000000..43de898bf --- /dev/null +++ b/templates/index_test_testrun.html @@ -0,0 +1 @@ +<td class="%(status)s%(alternate)s"><a href="%(link)s">%(status)s</a></td> diff --git a/templates/index_testrun.html b/templates/index_testrun.html new file mode 100644 index 000000000..1dc68ffee --- /dev/null +++ b/templates/index_testrun.html @@ -0,0 +1 @@ +<col width="50pt" /> diff --git a/templates/index_testrunb.html b/templates/index_testrunb.html new file mode 100644 index 000000000..b4ef7ecca --- /dev/null +++ b/templates/index_testrunb.html @@ -0,0 +1 @@ +<td class="head"><b>%(name)s</b></td> diff --git a/templates/result.css b/templates/result.css new file mode 100644 index 000000000..7c6a557ce --- /dev/null +++ b/templates/result.css @@ -0,0 +1,35 @@ + +td { + padding: 4pt; +} + +th { + padding: 4pt; +} + +table { + border: 0pt; + border-collapse: collapse; +} + +.head { + background-color: #c8c838 +} + +.a { + background-color: #ffff95 +} + +.b { + background-color: #e1e183 +} + +.bara { + vertical-align: top; + background-color: #ffff85; +} + +.barb { + vertical-align: top; + background-color: #d1d173; +} diff --git a/templates/result.html b/templates/result.html new file mode 100644 index 000000000..d6167e7b0 --- /dev/null +++ b/templates/result.html @@ -0,0 +1,28 @@ +<html> + <head> + <title>%(path)s - Details</title> + <link rel="stylesheet" href="../result.css"/> + </head> + <body> + <h1>Results for %(path)s</h1> + <h2>Overview</h2> + <p> + <b>Status:</b> %(status)s<br/> + <b>Result:</b> %(result)s<br/> + </p> + <p> + <a href="../index.html">Back to summary</a> + </p> + <h2>Details</h2> + <table> + <tr class="head"> + <th>Detail</th> + <th>Value</th> + </tr> + %(details)s + </table> + <p> + <a href="../index.html">Back to summary</a> + </p> + </body> +</html> diff --git a/templates/result_detail.html b/templates/result_detail.html new file mode 100644 index 000000000..d735d0da0 --- /dev/null +++ b/templates/result_detail.html @@ -0,0 +1,4 @@ +<tr> + <td class="bar%(alternate)s">%(name)s</td> + <td class="%(alternate)s">%(value)s</td> +</tr> diff --git a/templates/result_list.html b/templates/result_list.html new file mode 100644 index 000000000..af215d481 --- /dev/null +++ b/templates/result_list.html @@ -0,0 +1,3 @@ +<ul> +%(items)s +</ul> diff --git a/templates/result_listitem.html b/templates/result_listitem.html new file mode 100644 index 000000000..12ef6ebfd --- /dev/null +++ b/templates/result_listitem.html @@ -0,0 +1 @@ +<li>%(detail)s</li> diff --git a/templates/result_mstring.html b/templates/result_mstring.html new file mode 100644 index 000000000..b4c91d8a6 --- /dev/null +++ b/templates/result_mstring.html @@ -0,0 +1 @@ +<pre>%(detail)s</pre> |