body {
font-family: "lucida grande", "sans serif";
color: #333;
- width: 60em;
+ width: auto;
margin: auto;
}
margin-right: -20px;
}
- h2 {
+ wid {
text-transform: uppercase;
font-size: smaller;
margin-top: 1em;
<div class="main">
<h1>BugsEverywhere Bug List</h1>
+ <h5><a href="%s">Back to Index</a></h5>
<h2>Bug: _bug_id_</h2>
<table >
<tbody>
</div>
- <div class="footer">Generated by <a href="http://www.bugseverywhere.org/">BugsEverywhere</a>.</div>
+ <div class="footer">Generated by <a href="http://www.bugseverywhere.org/">BugsEverywhere</a> on %s</div>
</body>
</html>
</tbody>
</table>
</div>
- <h2><a href="%s">Back to Index</a></h2>
+ <h5><a href="%s">Back to Index</a></h5>
<div class="footer">Generated by <a href="http://www.bugseverywhere.org/">BugsEverywhere</a>.</div>
</body>
</html>
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):
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)