5063: again, rewritten Mainz stylesheet
svn: r18160
This commit is contained in:
parent
04cb1db273
commit
44f0c6e98b
@ -128,7 +128,7 @@ DEATH = _("Death")
|
||||
DHEAD = _("Date")
|
||||
DESCRHEAD = _("Description")
|
||||
_EVENT = _("Event")
|
||||
GRAMPSID = _("Gramps ID")
|
||||
GRAMPSID = _("Gramps ID")
|
||||
LATITUDE = _("Latitude")
|
||||
LOCALITY = _("Locality")
|
||||
LONGITUDE = _("Longitude")
|
||||
@ -391,7 +391,7 @@ class BasePage(object):
|
||||
if husband_handle:
|
||||
husband = db.get_person_from_handle(husband_handle)
|
||||
spouse_handle = _obj.get_mother_handle()
|
||||
if souse_handle:
|
||||
if spouse_handle:
|
||||
spouse = db.get_person_from_handle(spouse_handle)
|
||||
if husband:
|
||||
husband_name = self.get_name(husband)
|
||||
@ -1327,10 +1327,10 @@ class BasePage(object):
|
||||
('events', _("Events"), self.report.inc_events),
|
||||
('media', _("Media"), self.create_media),
|
||||
('thumbnails', _("Thumbnails"), self.report.thumbpreview),
|
||||
('download', _("Download"), self.report.inc_download),
|
||||
('sources', _("Sources"), True),
|
||||
('repositories', _("Repositories"), inc_repos),
|
||||
("addressbook", _("Address Book"), self.report.inc_addressbook),
|
||||
('download', _("Download"), self.report.inc_download),
|
||||
('contact', _("Contact"), self.report.use_contact),
|
||||
]
|
||||
|
||||
@ -2452,7 +2452,7 @@ class IndividualListPage(BasePage):
|
||||
individuallist += alpha_nav
|
||||
|
||||
# begin table and table head
|
||||
with Html("table", class_ = "infolist IndividualList") as table:
|
||||
with Html("table", class_ = "infolist primobjlist IndividualList") as table:
|
||||
individuallist += table
|
||||
thead = Html("thead")
|
||||
table += thead
|
||||
@ -2586,9 +2586,8 @@ class IndividualListPage(BasePage):
|
||||
mother_name = self.get_name(mother)
|
||||
samerow = False
|
||||
if mother and father:
|
||||
tcell = ( Html("span", father_name, class_ = "father fatherNmother") +
|
||||
Html("span", mother_name, class_ = "mother")
|
||||
)
|
||||
tcell = Html("span", father_name, class_ = "father fatherNmother")
|
||||
tcell += Html("span", mother_name, class_ = "mother")
|
||||
elif mother:
|
||||
tcell = Html("span", mother_name, class_ = "mother")
|
||||
elif father:
|
||||
@ -2642,7 +2641,7 @@ class SurnamePage(BasePage):
|
||||
surnamedetail += Html("p", msg, id = "description")
|
||||
|
||||
# begin surname table and thead
|
||||
with Html("table", class_ = "infolist surname") as table:
|
||||
with Html("table", class_ = "infolist primobjlist surname") as table:
|
||||
surnamedetail += table
|
||||
thead = Html("thead")
|
||||
table += thead
|
||||
@ -2749,9 +2748,8 @@ class SurnamePage(BasePage):
|
||||
if mother:
|
||||
mother_name = self.get_name(mother)
|
||||
if mother and father:
|
||||
tcell = Html("span", father_name, class_ = "father fatherNmother") + (
|
||||
Html("span", mother_name, class_ = "mother")
|
||||
)
|
||||
tcell = Html("span", father_name, class_ = "father fatherNmother")
|
||||
tcell += Html("span", mother_name, class_ = "mother")
|
||||
elif mother:
|
||||
tcell = Html("span", mother_name, class_ = "mother", inline = True)
|
||||
elif father:
|
||||
@ -3145,7 +3143,7 @@ class PlaceListPage(BasePage):
|
||||
placelist += alpha_nav
|
||||
|
||||
# begin places table and table head
|
||||
with Html("table", class_ = "infolist placelist") as table:
|
||||
with Html("table", class_ = "infolist primobjlist placelist") as table:
|
||||
placelist += table
|
||||
|
||||
# begin table head
|
||||
@ -3399,7 +3397,7 @@ class EventListPage(BasePage):
|
||||
eventlist += alpha_nav
|
||||
|
||||
# begin alphabet event table
|
||||
with Html("table", class_ = "infolist alphaevent") as table:
|
||||
with Html("table", class_ = "infolist primobjlist alphaevent") as table:
|
||||
eventlist += table
|
||||
|
||||
thead = Html("thead")
|
||||
@ -3989,7 +3987,7 @@ class SurnameListPage(BasePage):
|
||||
table_id = 'SortByName'
|
||||
|
||||
# begin surnamelist table and table head
|
||||
with Html("table", class_ = "infolist surnamelist", id = table_id) as table:
|
||||
with Html("table", class_ = "infolist primobjlist surnamelist", id = table_id) as table:
|
||||
surnamelist += table
|
||||
|
||||
thead = Html("thead")
|
||||
@ -4186,7 +4184,7 @@ class SourceListPage(BasePage):
|
||||
sourceslist += Html("p", msg, id = "description")
|
||||
|
||||
# begin sourcelist table and table head
|
||||
with Html("table", class_ = "infolist sourcelist") as table:
|
||||
with Html("table", class_ = "infolist primobjlist sourcelist") as table:
|
||||
sourceslist += table
|
||||
thead = Html("thead")
|
||||
table += thead
|
||||
@ -4341,7 +4339,7 @@ class MediaListPage(BasePage):
|
||||
media_list += Html("p", msg, id = "description")
|
||||
|
||||
# begin gallery table and table head
|
||||
with Html("table", class_ = "infolist gallerylist") as table:
|
||||
with Html("table", class_ = "infolist primobjlist gallerylist") as table:
|
||||
media_list += table
|
||||
|
||||
# begin table head
|
||||
@ -6052,7 +6050,7 @@ class RepositoryListPage(BasePage):
|
||||
repositorylist += Html("p", msg, id = "description")
|
||||
|
||||
# begin repositories table and table head
|
||||
with Html("table", class_ = "infolist repolist") as table:
|
||||
with Html("table", class_ = "infolist primobjlist repolist") as table:
|
||||
repositorylist += table
|
||||
|
||||
thead = Html("thead")
|
||||
@ -6199,7 +6197,7 @@ class AddressBookListPage(BasePage):
|
||||
addressbooklist += Html("p", msg, id = "description")
|
||||
|
||||
# begin Address Book table
|
||||
with Html("table", class_ = "infolist addressbook") as table:
|
||||
with Html("table", class_ = "infolist primobjlist addressbook") as table:
|
||||
addressbooklist += table
|
||||
|
||||
thead = Html("thead")
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user