5063: Mainz stylesheet bugs: align subtables and fix source ref links
svn: r17920
This commit is contained in:
parent
8aa44642a9
commit
84801e88be
@ -1729,6 +1729,7 @@ class BasePage(object):
|
|||||||
ordered1 = Html("ol")
|
ordered1 = Html("ol")
|
||||||
citation_ref_list = citation.get_ref_list()
|
citation_ref_list = citation.get_ref_list()
|
||||||
for key, sref in citation_ref_list:
|
for key, sref in citation_ref_list:
|
||||||
|
cit_ref_li = Html("li", id="sref%d%s" % (cindex, key))
|
||||||
tmp = Html("ul")
|
tmp = Html("ul")
|
||||||
confidence = Utils.confidence.get(sref.confidence, _('Unknown'))
|
confidence = Utils.confidence.get(sref.confidence, _('Unknown'))
|
||||||
if confidence == _('Normal'):
|
if confidence == _('Normal'):
|
||||||
@ -1745,7 +1746,8 @@ class BasePage(object):
|
|||||||
self.get_note_format(this_note, True)
|
self.get_note_format(this_note, True)
|
||||||
))
|
))
|
||||||
if tmp:
|
if tmp:
|
||||||
ordered1 += tmp
|
cit_ref_li += tmp
|
||||||
|
ordered1 += cit_ref_li
|
||||||
|
|
||||||
if citation_ref_list:
|
if citation_ref_list:
|
||||||
list += ordered1
|
list += ordered1
|
||||||
@ -5069,7 +5071,10 @@ class IndividualPage(BasePage):
|
|||||||
section += Html("h4", _("Families"), inline = True)
|
section += Html("h4", _("Families"), inline = True)
|
||||||
|
|
||||||
# begin families table
|
# 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
|
section += table
|
||||||
|
|
||||||
for family_handle in family_list:
|
for family_handle in family_list:
|
||||||
|
@ -787,6 +787,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
|
|||||||
div#families table.infolist tbody tr td.ColumnValue ol li {
|
div#families table.infolist tbody tr td.ColumnValue ol li {
|
||||||
padding-bottom:.2em;
|
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
|
/* Subsections : Addresses
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
|
@ -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 {
|
div#families table.infolist tbody tr td.ColumnValue ol li a {
|
||||||
text-decoration: underline;
|
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
|
/* Subsection: LDS Ordinance
|
||||||
------------------------------------------------------ */
|
------------------------------------------------------ */
|
||||||
|
@ -784,6 +784,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
|
|||||||
div#families table.infolist tbody tr td.ColumnValue ol li {
|
div#families table.infolist tbody tr td.ColumnValue ol li {
|
||||||
padding-bottom:.2em;
|
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
|
/* Subsections : Addresses
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
|
@ -785,6 +785,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
|
|||||||
div#families table.infolist tbody tr td.ColumnValue ol li {
|
div#families table.infolist tbody tr td.ColumnValue ol li {
|
||||||
padding-bottom:.2em;
|
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
|
/* Subsections : Addresses
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
|
@ -786,6 +786,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
|
|||||||
div#families table.infolist tbody tr td.ColumnValue ol li {
|
div#families table.infolist tbody tr td.ColumnValue ol li {
|
||||||
padding-bottom:.2em;
|
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
|
/* Subsections : Addresses
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
|
@ -786,6 +786,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
|
|||||||
div#families table.infolist tbody tr td.ColumnValue ol li {
|
div#families table.infolist tbody tr td.ColumnValue ol li {
|
||||||
padding-bottom:.2em;
|
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
|
/* Subsections : Addresses
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
|
@ -791,6 +791,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
|
|||||||
div#families table.infolist tbody tr td.ColumnValue ol li {
|
div#families table.infolist tbody tr td.ColumnValue ol li {
|
||||||
padding-bottom:.2em;
|
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
|
/* SubSection : Addresses
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
|
@ -782,6 +782,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
|
|||||||
div#families table.infolist tbody tr td.ColumnValue ol li {
|
div#families table.infolist tbody tr td.ColumnValue ol li {
|
||||||
padding-bottom:.2em;
|
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
|
/* Subsections : Addresses
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
|
@ -1081,6 +1081,15 @@ div#families table.infolist tbody tr td.ColumnValue ol {
|
|||||||
div#families table.infolist tbody tr td.ColumnValue ol li {
|
div#families table.infolist tbody tr td.ColumnValue ol li {
|
||||||
padding-bottom:.2em;
|
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
|
/* Subsection: LDS Ordinance
|
||||||
------------------------------------------------------ */
|
------------------------------------------------------ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user