return False
for msg in subset:
headlines.add_item(msg)
+ headlines.set_custom_html("""
+<STYLE>
+a:link {
+ color: maroon;
+ text-decoration: none;
+ font-weight: bold;
+}
+a:visited {
+ color: maroon;
+ text-decoration: none;
+ font-weight: bold;
+}
+a:active {
+ color: maroon;
+ text-decoration: none;
+ font-weight: bold;
+}
+</STYLE>""")
f = file_writer.file_writer('%s_4_none.html' % (
self.get_headlines_page_prefix()))
headlines.render_html(f)
details = page_builder.page_builder()
details.set_layout(page_builder.page_builder.LAYOUT_ONE_ITEM)
+ details.set_custom_html("""
+<STYLE>
+a:link {
+ color: maroon;
+ text-decoration: none;
+ font-weight: bold;
+}
+a:visited {
+ color: maroon;
+ text-decoration: none;
+ font-weight: bold;
+}
+a:active {
+ color: maroon;
+ text-decoration: none;
+ font-weight: bold;
+}
+</STYLE>""")
details.set_title("%s" % self.page_title)
subset = self.details.subset(1)
if subset is None: