diff options
Diffstat (limited to 'becommands/html_data.py')
-rw-r--r-- | becommands/html_data.py | 84 |
1 files changed, 76 insertions, 8 deletions
diff --git a/becommands/html_data.py b/becommands/html_data.py index f9c966a..68445cd 100644 --- a/becommands/html_data.py +++ b/becommands/html_data.py @@ -18,17 +18,47 @@ margin-top: 1em; background-color: #fcfcfc; } -.even-row { +tb { +border = 1; +} + +.open-row { background-color: #e9e9e2; width: 5%; } -.odd-row { +.assigned-row { +background-color: #f9f9f9; +width: 5%; +} + +.test-row { background-color: #f9f9f9; width: 5%; } +.unconfirmed-row { +background-color: #f9f9f9; +width: 5%; +} + +.fixed-row { +background-color: #f9f9f9; +width: 5%; +} + +.closed-row { +background-color: #f9f9f9; +width: 5%; +} + +.wontfix-row { +background-color: #f9f9f9; +width: 5%; +} + + .person { font-family: courier; } @@ -235,15 +265,40 @@ index_first = """ """ bug_line =""" -<tr class=_ROW_> - <td><a href="bugs/_bug_id_link_.html">_bug_id_</a></td> - <td><a href="bugs/_bug_id_link_.html">_status_</a></td> - <td><a href="bugs/_bug_id_link_.html">_sev_</a></td> - <td><a href="bugs/_bug_id_link_.html">_descr_</a></td> - <td><a href="bugs/_bug_id_link_.html">_time_</a></td> +<tr class=%s-row cellspacing=1> +<td ><a href="bugs/%s.html">%s</a></td> +<td ><a href="bugs/%s.html">%s</a></td> +<td><a href="bugs/%s.html">%s</a></td> +<td><a href="bugs/%s.html">%s</a></td> +<td><a href="bugs/%s.html">%s</a></td> </tr> """ + +detail_first = """ +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<title>BugsEverywhere Issue Tracker</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" href="../style.css" type="text/css" /> +</head> +<body> + + +<div class="main"> +<h1>BugsEverywhere Bug List</h1> +<h2>Bug: _bug_id_</h2> +<table > +<tbody> +""" + + +detail_line =""" +<tr> + <td align="right">%s</td><td>%s</td> +</tr> +""" + index_last = """ </tbody> </table> @@ -258,3 +313,16 @@ index_last = """ </html> """ +detail_last = """ +</tbody> +</table> + +</div> + +<h2><a href="../index.html">Back to Index</a></h2> + +<div class="footer">Generated by <a href="http://www.bugseverywhere.org/">BugsEverywhere</a>.</div> + +</body> +</html> +"""
\ No newline at end of file |