Adjust colors of table

svn: r18310
This commit is contained in:
Doug Blank 2011-10-13 01:29:46 +00:00
parent e487a32a1f
commit 38308df518
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom"
id="tab-general">
<div style="overflow: auto; height:150px; color: black; background-color: white;">
<div style="overflow: auto; height:150px;">
<table border="1">
<tr><td style="background-color: #FFF2C5;">{{form.group_as.label}}: </td>
<td>{% render form.group_as user action %}</td>

View File

@ -156,7 +156,7 @@ class Table(object):
self.doc = Doc(HtmlDoc.HtmlDoc(make_basic_stylesheet(Table={"set_width":95}), None))
self.doc.doc._backend = HtmlBackend()
# You can set elements id, class, etc:
self.doc.doc.htmllist += [Html('div', style="overflow: auto; height:150px; background-color: white;")]
self.doc.doc.htmllist += [Html('div', class_="content", id="Gallery", style="overflow: auto; height:150px; background-color: #261803;")]
def columns(self, *args):
self.table.columns(*args)