5063: Mainz stylesheet bugs: align subtables and fix source ref links

svn: r17919
This commit is contained in:
Michiel Nauta 2011-07-12 20:48:31 +00:00
parent feaa957620
commit 1cf4315a63
10 changed files with 88 additions and 2 deletions

View File

@ -1729,6 +1729,7 @@ class BasePage(object):
ordered1 = Html("ol")
citation_ref_list = citation.get_ref_list()
for key, sref in citation_ref_list:
cit_ref_li = Html("li", id="sref%d%s" % (cindex, key))
tmp = Html("ul")
confidence = Utils.confidence.get(sref.confidence, _('Unknown'))
if confidence == _('Normal'):
@ -1745,7 +1746,8 @@ class BasePage(object):
self.get_note_format(this_note, True)
))
if tmp:
ordered1 += tmp
cit_ref_li += tmp
ordered1 += cit_ref_li
if citation_ref_list:
list += ordered1
@ -5069,7 +5071,10 @@ class IndividualPage(BasePage):
section += Html("h4", _("Families"), inline = True)
# begin families table
with Html("table", class_ = "infolist") as table:
table_class = "infolist"
if len(family_list) > 1:
table_class += " fixed_subtables"
with Html("table", class_ = table_class) as table:
section += table
for family_handle in family_list:

View File

@ -787,6 +787,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
div#families table.infolist tbody tr td.ColumnValue ol li {
padding-bottom:.2em;
}
div#families table.fixed_subtables table.eventlist {
table-layout:fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width:9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width:5em;
}
/* Subsections : Addresses
----------------------------------------------------- */

View File

@ -1097,6 +1097,15 @@ div#families table.infolist tbody tr td.ColumnValue ol li {
div#families table.infolist tbody tr td.ColumnValue ol li a {
text-decoration: underline;
}
div#families table.fixed_subtables table.eventlist {
table-layout:fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width:9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width:5em;
}
/* Subsection: LDS Ordinance
------------------------------------------------------ */

View File

@ -784,6 +784,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
div#families table.infolist tbody tr td.ColumnValue ol li {
padding-bottom:.2em;
}
div#families table.fixed_subtables table.eventlist {
table-layout:fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width:9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width:5em;
}
/* Subsections : Addresses
----------------------------------------------------- */

View File

@ -785,6 +785,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
div#families table.infolist tbody tr td.ColumnValue ol li {
padding-bottom:.2em;
}
div#families table.fixed_subtables table.eventlist {
table-layout:fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width:9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width:5em;
}
/* Subsections : Addresses
----------------------------------------------------- */

View File

@ -786,6 +786,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
div#families table.infolist tbody tr td.ColumnValue ol li {
padding-bottom:.2em;
}
div#families table.fixed_subtables table.eventlist {
table-layout:fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width:9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width:5em;
}
/* Subsections : Addresses
----------------------------------------------------- */

View File

@ -786,6 +786,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
div#families table.infolist tbody tr td.ColumnValue ol li {
padding-bottom:.2em;
}
div#families table.fixed_subtables table.eventlist {
table-layout:fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width:9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width:5em;
}
/* Subsections : Addresses
----------------------------------------------------- */

View File

@ -791,6 +791,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
div#families table.infolist tbody tr td.ColumnValue ol li {
padding-bottom:.2em;
}
div#families table.fixed_subtables table.eventlist {
table-layout:fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width:9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width:5em;
}
/* SubSection : Addresses
----------------------------------------------------- */

View File

@ -782,6 +782,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
div#families table.infolist tbody tr td.ColumnValue ol li {
padding-bottom:.2em;
}
div#families table.fixed_subtables table.eventlist {
table-layout:fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width:9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width:5em;
}
/* Subsections : Addresses
----------------------------------------------------- */

View File

@ -1081,6 +1081,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
div#families table.infolist tbody tr td.ColumnValue ol li {
padding-bottom:.2em;
}
div#families table.fixed_subtables table.eventlist {
table-layout:fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width:9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width:5em;
}
/* Subsection: LDS Ordinance
------------------------------------------------------ */