From c200dda96479dfc1740efbeb14d08c56ba725264 Mon Sep 17 00:00:00 2001 From: Gianluca Montecchi Date: Mon, 3 Aug 2009 21:29:21 +0200 Subject: [PATCH] Fixed width and index --- becommands/html.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/becommands/html.py b/becommands/html.py index eed7e56..1ecf3ab 100644 --- a/becommands/html.py +++ b/becommands/html.py @@ -95,7 +95,7 @@ class BEHTMLGen(): body { font-family: "lucida grande", "sans serif"; color: #333; - width: 60em; + width: auto; margin: auto; } @@ -229,7 +229,7 @@ class BEHTMLGen(): margin-right: -20px; } - h2 { + wid { text-transform: uppercase; font-size: smaller; margin-top: 1em; @@ -395,6 +395,7 @@ class BEHTMLGen():

BugsEverywhere Bug List

+
Back to Index

Bug: _bug_id_

@@ -414,7 +415,7 @@ class BEHTMLGen(): - + @@ -440,7 +441,7 @@ class BEHTMLGen():
-

Back to Index

+
Back to Index
@@ -489,7 +490,8 @@ class BEHTMLGen(): FO.write(line) c += 1 self.CreateDetailFile(bugs[l], out_dir_path, fileid) - FO.write(self.index_last) + when = time.ctime() + FO.write(self.index_last%when) def CreateDetailFile(self, bug, out_dir_path, fileid): @@ -501,7 +503,12 @@ class BEHTMLGen(): raise cmdutil.UsageError, "Cannot create the detail html file." detail_first_ = re.sub('_bug_id_', bug.uuid[0:3], self.detail_first) - FD.write(detail_first_) + if fileid == "active": + FD.write(detail_first_%"../index.html") + if fileid == "inactive": + FD.write(detail_first_%"../index_inactive.html") + + bug_ = self.bd.bug_from_shortname(bug.uuid) bug_.load_comments(load_full=True) -- 2.26.2