CSS fixes and partial fix to 3837

svn: r15185
This commit is contained in:
Doug Blank 2010-04-17 14:49:36 +00:00
parent 487d099611
commit 87dd9aff24
10 changed files with 18 additions and 31 deletions

View File

@ -314,7 +314,7 @@ div#alphabet ul li a:hover {
----------------------------------------------------- */ ----------------------------------------------------- */
table { table {
font-size:14px; font-size:14px;
margin:0 15px; margin:0;
padding:0; padding:0;
border:none; border:none;
border-collapse:collapse; border-collapse:collapse;
@ -1011,7 +1011,6 @@ table.attrlist tbody tr td.ColumnAttrValue {
} }
table.attrlist tbody tr td.ColumnAttrNotes { table.attrlist tbody tr td.ColumnAttrNotes {
width: 45%; width: 45%;
background-color: #D8F3D6;
} }
table.attrlist tbody tr td.ColumnAttrSources { table.attrlist tbody tr td.ColumnAttrSources {
background-color: #FFF; background-color: #FFF;

View File

@ -973,10 +973,8 @@ table.attrlist tbody tr td.ColumnAttrValue {
} }
table.attrlist tbody tr td.ColumnAttrNotes { table.attrlist tbody tr td.ColumnAttrNotes {
width: 45%; width: 45%;
background-color: #D8F3D6;
} }
table.attrlist tbody tr td.ColumnAttrSources { table.attrlist tbody tr td.ColumnAttrSources {
background-color: #FFF;
width: 15%; width: 15%;
} }

View File

@ -317,7 +317,7 @@ div#alphabet ul li a:hover {
----------------------------------------------------- */ ----------------------------------------------------- */
table { table {
font-size:14px; font-size:14px;
margin:0 15px; margin:0;
padding:0; padding:0;
border:none; border:none;
border-collapse:collapse; border-collapse:collapse;
@ -1038,10 +1038,8 @@ table.attrlist tbody tr td.ColumnAttrValue {
} }
table.attrlist tbody tr td.ColumnAttrNotes { table.attrlist tbody tr td.ColumnAttrNotes {
width: 45%; width: 45%;
background-color: #D8F3D6;
} }
table.attrlist tbody tr td.ColumnAttrSources { table.attrlist tbody tr td.ColumnAttrSources {
background-color: #FFF;
width: 15%; width: 15%;
} }

View File

@ -263,7 +263,7 @@ div#alphabet ul li a:hover {
----------------------------------------------------- */ ----------------------------------------------------- */
table { table {
font-size:14px; font-size:14px;
margin:0 15px; margin:0;
padding:0; padding:0;
border:none; border:none;
border-collapse:collapse; border-collapse:collapse;
@ -988,10 +988,8 @@ table.attrlist tbody tr td.ColumnAttrValue {
} }
table.attrlist tbody tr td.ColumnAttrNotes { table.attrlist tbody tr td.ColumnAttrNotes {
width: 45%; width: 45%;
background-color: #D8F3D6;
} }
table.attrlist tbody tr td.ColumnAttrSources { table.attrlist tbody tr td.ColumnAttrSources {
background-color: #FFF;
width: 15%; width: 15%;
} }

View File

@ -267,7 +267,7 @@ div#alphabet ul li a:hover {
----------------------------------------------------- */ ----------------------------------------------------- */
table { table {
font-size:14px; font-size:14px;
margin:0 15px; margin:0;
padding:0; padding:0;
border:none; border:none;
border-collapse:collapse; border-collapse:collapse;
@ -991,10 +991,8 @@ table.attrlist tbody tr td.ColumnAttrValue {
} }
table.attrlist tbody tr td.ColumnAttrNotes { table.attrlist tbody tr td.ColumnAttrNotes {
width: 45%; width: 45%;
background-color: #D8F3D6;
} }
table.attrlist tbody tr td.ColumnAttrSources { table.attrlist tbody tr td.ColumnAttrSources {
background-color: #FFF;
width: 15%; width: 15%;
} }

View File

@ -265,7 +265,7 @@ div#alphabet ul li a:hover {
----------------------------------------------------- */ ----------------------------------------------------- */
table { table {
font-size:14px; font-size:14px;
margin:0 15px; margin:0;
padding:0; padding:0;
border:none; border:none;
border-collapse:collapse; border-collapse:collapse;
@ -989,10 +989,8 @@ table.attrlist tbody tr td.ColumnAttrValue {
} }
table.attrlist tbody tr td.ColumnAttrNotes { table.attrlist tbody tr td.ColumnAttrNotes {
width: 45%; width: 45%;
background-color: #D8F3D6;
} }
table.attrlist tbody tr td.ColumnAttrSources { table.attrlist tbody tr td.ColumnAttrSources {
background-color: #FFF;
width: 15%; width: 15%;
} }

View File

@ -305,7 +305,7 @@ div#alphabet ul li a:hover {
----------------------------------------------------- */ ----------------------------------------------------- */
table { table {
font-size:14px; font-size:14px;
margin:0 15px 1em 15px; margin:0;
padding:0; padding:0;
border:none; border:none;
border-collapse:collapse; border-collapse:collapse;
@ -1041,10 +1041,8 @@ table.attrlist tbody tr td.ColumnAttrValue {
} }
table.attrlist tbody tr td.ColumnAttrNotes { table.attrlist tbody tr td.ColumnAttrNotes {
width: 45%; width: 45%;
background-color: #D8F3D6;
} }
table.attrlist tbody tr td.ColumnAttrSources { table.attrlist tbody tr td.ColumnAttrSources {
background-color: #FFF;
width: 15%; width: 15%;
} }

View File

@ -971,10 +971,8 @@ table.attrlist tbody tr td.ColumnAttrValue {
} }
table.attrlist tbody tr td.ColumnAttrNotes { table.attrlist tbody tr td.ColumnAttrNotes {
width: 45%; width: 45%;
background-color: #D8F3D6;
} }
table.attrlist tbody tr td.ColumnAttrSources { table.attrlist tbody tr td.ColumnAttrSources {
background-color: #FFF;
width: 15%; width: 15%;
} }

View File

@ -938,7 +938,6 @@ table.attrlist tbody tr td.ColumnValue {
width: 250px; width: 250px;
} }
table.attrlist tbody tr td.ColumnSources { table.attrlist tbody tr td.ColumnSources {
background-color: #FFF;
width: 100px; width: 100px;
} }
table.attrlist tbody tr td.ColumnNotes { table.attrlist tbody tr td.ColumnNotes {
@ -946,7 +945,6 @@ table.attrlist tbody tr td.ColumnNotes {
} }
div#attributes table.attrlist tbody tr td.ColumnNotes { div#attributes table.attrlist tbody tr td.ColumnNotes {
width: 400px; width: 400px;
background-color: #D8F3D6;
} }
/* Subsections : Parents /* Subsections : Parents

View File

@ -450,13 +450,16 @@ class BasePage(object):
db = self.report.database db = self.report.database
# begin unordered list # begin unordered list
ul = Html("ul") ul = Html("p")
ul.extend( for notehandle in notelist:
self.get_note_format( ul.extend(
db.get_note_from_handle(notehandle)) Html("p", str(db.get_note_from_handle(notehandle).type))
for notehandle in notelist) )
ul.extend(
self.get_note_format(db.get_note_from_handle(notehandle))
)
# return unordered note list to its callers # return note list to its callers
return ul return ul
def display_event_row(self, evt, evt_ref, subdirs, hyp): def display_event_row(self, evt, evt_ref, subdirs, hyp):
@ -1611,8 +1614,9 @@ class BasePage(object):
if tmp: if tmp:
list1 = Html("li", inline = True) + ( list1 = Html("li", inline = True) + (
Html("a", "; &nbsp; ".join(tmp), Html("a", "<br/> ".join(tmp),
name = "sref%d%s" % (cindex, key)) style="text-decoration: none;",
name="sref%d%s" % (cindex, key))
) )
ordered1 += list1 ordered1 += list1