diff options
Diffstat (limited to 'becommands/html_data.py')
-rw-r--r-- | becommands/html_data.py | 69 |
1 files changed, 26 insertions, 43 deletions
diff --git a/becommands/html_data.py b/becommands/html_data.py index 460daa8..f9c966a 100644 --- a/becommands/html_data.py +++ b/becommands/html_data.py @@ -18,6 +18,16 @@ margin-top: 1em; background-color: #fcfcfc; } +.even-row { +background-color: #e9e9e2; +width: 5%; +} + +.odd-row { + +background-color: #f9f9f9; +width: 5%; +} .person { font-family: courier; @@ -207,7 +217,7 @@ background-color: #ddd; } """ -html_index = """ +index_first = """ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>BugsEverywhere Issue Tracker</title> @@ -219,59 +229,32 @@ html_index = """ <div class="main"> <h1>BugsEverywhere Bug List</h1> -<table> +<h2>Open Bugs</h2> +<table width=100%> <tbody> -<tr> -<td> - <h2>Bugs summary divided by status</h2> - <table width=100%> - <tbody> - <tr> - <td class="plain-cell"> - <a href="unconfirmed.html">_unconfirmed_ unconfirmed</a> - </td> - <td class="plain-cell"> - <a href="open.html">_open_ open</a> - </td> - <td class="plain-cell"> - <a href="assigned.html">_assigned_ assigned</a> - </td> - <td class="plain-cell"> - <a href="test.html">_test_ test</a> - </td> - <td class="plain-cell"> - <a href="closed.html">_closed_ closed</a> - </td> - <td class="plain-cell"> - <a href="fixed.html">_fixed_ fixed</a> - </td> - <td class="plain-cell"> - <a href="wontfix.html">_wontfix_ wontfix</a> - </td> - <td class="plain-cell"> - <a href="disabled.html">_disabled_ disabled</a> - </td> - </tr> - </tbody> - </table> -</td> +""" + +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> +""" + +index_last = """ </tbody> </table> </div> -<h2>Showing all bugs</h2> +<h2>Show all bugs</h2> <div class="footer">Generated by <a href="http://www.bugseverywhere.org/">BugsEverywhere</a>.</div> - </body> </html> """ -last_activity = """ - <tr class="_ROW_"> - <td><a href="_BUG_ID_.html">_BUG_ on _DATE_</a></td> - </tr> -""" |