Update of /cvsroot/ht2html/ht2html
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9585
Modified Files:
Skeleton.py
Log Message:
abstract out the banner background color (this should be done for the
sidebar as well); this allows the application of light/dark to be
different from the current expectations
Index: Skeleton.py
===================================================================
RCS file: /cvsroot/ht2html/ht2html/Skeleton.py,v
retrieving revision 2.10
retrieving revision 2.11
diff -C2 -d -r2.10 -r2.11
*** Skeleton.py 25 Jul 2003 04:59:52 -0000 2.10
--- Skeleton.py 8 Apr 2004 18:24:49 -0000 2.11
***************
*** 134,137 ****
--- 134,140 ----
return 'cellspacing="0" cellpadding="2"'
+ def get_banner_bgcolor(self):
+ return self.get_lightshade()
+
def get_charset(self):
"""Return charset of pages"""
***************
*** 199,203 ****
print '<!-- start of banner -->'
print '<td width="%s%%" bgcolor="%s" class="banner">' % (
! self.get_banner_width(), self.get_lightshade())
print banner
print '</td><!-- end of banner -->'
--- 202,206 ----
print '<!-- start of banner -->'
print '<td width="%s%%" bgcolor="%s" class="banner">' % (
! self.get_banner_width(), self.get_banner_bgcolor())
print banner
print '</td><!-- end of banner -->'
***************
*** 242,246 ****
print '</td>'
print '<td width="15" bgcolor="%s"> </td><!--spacer-->' % (
! self.get_lightshade())
print '<!-- end of corner cells -->'
--- 245,249 ----
print '</td>'
print '<td width="15" bgcolor="%s"> </td><!--spacer-->' % (
! self.get_banner_bgcolor())
print '<!-- end of corner cells -->'
|