4486: NarrativeWeb does not validate

svn: r18064
This commit is contained in:
Michiel Nauta 2011-08-25 20:47:36 +00:00
parent 9ae237b4cc
commit cb500359fb
10 changed files with 196 additions and 83 deletions

View File

@ -510,9 +510,9 @@ class BasePage(object):
s_tags = styledtext.get_tags() s_tags = styledtext.get_tags()
markuptext = self._backend.add_markup_from_styled(text, s_tags, markuptext = self._backend.add_markup_from_styled(text, s_tags,
split='\n') split='\n')
htmllist = Html("div", id = "grampsstylednote") htmllist = Html("div", class_="grampsstylednote")
if contains_html: if contains_html:
htmllist.extend((Html('p') + text)) htmllist += text
else: else:
linelist = [] linelist = []
linenb = 1 linenb = 1
@ -549,10 +549,10 @@ class BasePage(object):
""" """
if not notelist: if not notelist:
return Html("p") return Html("div")
# begin unordered list # begin unordered list
ul = Html("p") ul = Html("div")
for notehandle in notelist: for notehandle in notelist:
this_note = self.report.database.get_note_from_handle(notehandle) this_note = self.report.database.get_note_from_handle(notehandle)
if this_note is not None: if this_note is not None:
@ -611,10 +611,7 @@ class BasePage(object):
# get event notes # get event notes
notelist = event.get_note_list() notelist = event.get_note_list()
notelist.extend( event_ref.get_note_list() ) notelist.extend( event_ref.get_note_list() )
if notelist: htmllist = self.dump_notes(notelist)
htmllist = self.dump_notes( notelist )
else:
htmllist = Html("p")
# if the event or event reference has an attributes attached to it, # if the event or event reference has an attributes attached to it,
# get the text and format it correctly # get the text and format it correctly
@ -870,8 +867,11 @@ class BasePage(object):
False -- repository with no sources False -- repository with no sources
None -- Address Book address with sources None -- Address Book address with sources
""" """
if not addrlist:
return None
# begin summaryarea division # begin summaryarea division
with Html("div", id = "summaryarea") as summaryarea: with Html("div", id = "AddressTable") as summaryarea:
# begin address table # begin address table
with Html("table") as table: with Html("table") as table:
@ -1033,7 +1033,7 @@ class BasePage(object):
return None return None
# begin attributes division and section title # begin attributes division and section title
with Html("div", class_ = "ubsection", id = "attributes") as section: with Html("div", class_ = "subsection", id = "attributes") as section:
section += Html("h4", AHEAD, inline = True) section += Html("h4", AHEAD, inline = True)
# begin attributes table # begin attributes table
@ -1608,7 +1608,7 @@ class BasePage(object):
return None return None
# begin narrative division # begin narrative division
with Html("div", class_ = "subsection", id = "narrative") as section: with Html("div", class_ = "subsection narrative") as section:
for notehandle in notelist: for notehandle in notelist:
note = self.report.database.get_note_from_handle(notehandle) note = self.report.database.get_note_from_handle(notehandle)
@ -1669,7 +1669,7 @@ class BasePage(object):
# Email address # Email address
if _type == UrlType.EMAIL: if _type == UrlType.EMAIL:
if not uri.startswith("mailto:"): if not uri.startswith("mailto:"):
uri = "mailto: %(email)s" % { 'email' : uri } uri = "mailto:%(email)s" % { 'email' : uri }
# Web Site address # Web Site address
elif _type == UrlType.WEB_HOME: elif _type == UrlType.WEB_HOME:
@ -2134,8 +2134,8 @@ class BasePage(object):
(LOCALITY, ml.locality), (LOCALITY, ml.locality),
(CITY, ml.city), (CITY, ml.city),
(PARISH, ml.parish), (PARISH, ml.parish),
(STATE, ml.state),
(COUNTY, ml.county), (COUNTY, ml.county),
(STATE, ml.state),
(POSTAL, ml.postal), (POSTAL, ml.postal),
(COUNTRY, ml.country), (COUNTRY, ml.country),
(_("Telephone"), ml.phone) ]: (_("Telephone"), ml.phone) ]:
@ -2148,14 +2148,15 @@ class BasePage(object):
altloc = place.get_alternate_locations() altloc = place.get_alternate_locations()
if altloc: if altloc:
table += Html("tr") + Html("td", " ", colspan = 2) tbody += Html("tr") + Html("td", " ", colspan = 2)
trow = Html("tr") + ( trow = Html("tr") + (
Html("th", ALT_LOCATIONS, colspan = 2, class_ = "ColumnAttribute", inline = True), Html("th", ALT_LOCATIONS, colspan = 2, class_ = "ColumnAttribute", inline = True),
) )
table += trow tbody += trow
for loc in (nonempt for nonempt in altloc if not nonempt.is_empty()): for loc in (nonempt for nonempt in altloc if not nonempt.is_empty()):
for (label, data) in [ for (label, data) in [
(STREET, loc.street), (STREET, loc.street),
(LOCALITY, loc.locality),
(CITY, loc.city), (CITY, loc.city),
(PARISH, loc.parish), (PARISH, loc.parish),
(COUNTY, loc.county), (COUNTY, loc.county),
@ -2167,8 +2168,8 @@ class BasePage(object):
Html("td", label, class_ = "ColumnAttribute", inline = True), Html("td", label, class_ = "ColumnAttribute", inline = True),
Html("td", data, class_ = "ColumnValue", inline = True) Html("td", data, class_ = "ColumnValue", inline = True)
) )
table += trow tbody += trow
table += Html("tr") + Html("td", " ", colspan = 2) tbody += Html("tr") + Html("td", " ", colspan = 2)
# return place table to its callers # return place table to its callers
return table return table
@ -2180,7 +2181,7 @@ class BasePage(object):
return None return None
# begin residence division # begin residence division
with Html("div", id = "Residence", class_ = "content") as residence: with Html("div", class_ = "content Residence") as residence:
residence += Html("h4", _("Residence"), inline = True) residence += Html("h4", _("Residence"), inline = True)
with Html("table", class_ = "infolist place") as table: with Html("table", class_ = "infolist place") as table:
@ -2192,16 +2193,19 @@ class BasePage(object):
if place: if place:
self.dump_place(place, table) self.dump_place(place, table)
descr = has_res.get_description() descr = has_res.get_description()
if descr: if descr:
trow = Html("tr") trow = Html("tr")
table += trow if len(table) == 3:
# append description row to tbody element of dump_place
trow.extend( table[-2] += trow
( Html("td", DESCRHEAD, class_ = "ColumnAttribute", inline = True) + else:
Html("td", descr, class_ = "ColumnValue") ) # append description row to table element
) table += trow
trow.extend(Html("td", DESCRHEAD, class_ = "ColumnAttribute", inline = True))
trow.extend(Html("td", descr, class_ = "ColumnValue", inline=True))
# return information to its callers # return information to its callers
return residence return residence
@ -2283,8 +2287,10 @@ class IndividualListPage(BasePage):
table += tbody table += tbody
ppl_hnd_list = sort_people(db, ppl_hnd_list) ppl_hnd_list = sort_people(db, ppl_hnd_list)
letter = "!"
for (surname, handle_list) in ppl_hnd_list: for (surname, handle_list) in ppl_hnd_list:
first = True first = True
prev_letter = letter
letter = first_letter(surname) letter = first_letter(surname)
for person_handle in handle_list: for person_handle in handle_list:
person = db.get_person_from_handle(person_handle) person = db.get_person_from_handle(person_handle)
@ -2297,8 +2303,13 @@ class IndividualListPage(BasePage):
if first: if first:
trow.attr = 'class = "BeginSurname"' trow.attr = 'class = "BeginSurname"'
if surname: if surname:
tcell += Html("a", surname, name = letter, if letter != prev_letter:
title = "Surname with letter " + letter) tcell += Html("a", surname, name = letter,
id_ = letter,
title = "Surname with letter " + letter)
else:
tcell += Html("a", surname,
title = "Surname with letter " + letter)
else: else:
tcell += " " tcell += " "
else: else:
@ -2380,6 +2391,7 @@ class IndividualListPage(BasePage):
father_name = self.get_name(father) father_name = self.get_name(father)
if mother: if mother:
mother_name = self.get_name(mother) mother_name = self.get_name(mother)
samerow = False
if mother and father: if mother and father:
tcell = ( Html("span", father_name, class_ = "father fatherNmother") + tcell = ( Html("span", father_name, class_ = "father fatherNmother") +
Html("span", mother_name, class_ = "mother") Html("span", mother_name, class_ = "mother")
@ -2388,7 +2400,9 @@ class IndividualListPage(BasePage):
tcell = Html("span", mother_name, class_ = "mother") tcell = Html("span", mother_name, class_ = "mother")
elif father: elif father:
tcell = Html("span", father_name, class_ = "father") tcell = Html("span", father_name, class_ = "father")
samerow = False else:
tcell = " "
samerow = True
else: else:
tcell = " " tcell = " "
samerow = True samerow = True
@ -3177,6 +3191,7 @@ class EventListPage(BasePage):
tbody = Html("tbody") tbody = Html("tbody")
table += tbody table += tbody
prev_letter = ""
# separate events by their type and then thier event handles # separate events by their type and then thier event handles
for (evt_type, datalist) in sort_event_types(db, event_types, event_handle_list): for (evt_type, datalist) in sort_event_types(db, event_types, event_handle_list):
first_letter = True first_letter = True
@ -3218,12 +3233,11 @@ class EventListPage(BasePage):
else: else:
ltr = " " ltr = " "
if first_letter: if ltr != prev_letter:
trow.attr = 'class = "BeginLetter"' trow.attr = 'class = "BeginLetter BeginType"'
tcell += Html("a", ltr, name = ltr, tcell += Html("a", ltr, name = ltr, id_ = ltr,
title = _("Event types beginning with letter " + ltr), inline = True) title = _("Event types beginning with letter " + ltr), inline = True)
first_letter = False prev_letter = ltr
else: else:
tcell += " " tcell += " "
@ -3232,6 +3246,8 @@ class EventListPage(BasePage):
trow += tcell trow += tcell
if first_event: if first_event:
tcell += evt_type tcell += evt_type
if trow.attr == "":
trow.attr = 'class = "BeginType"'
else: else:
tcell += " " tcell += " "
@ -4032,21 +4048,17 @@ class SourcePage(BasePage):
with Html("div", id = "subsection", class_ = "Repositories") as reposection: with Html("div", id = "subsection", class_ = "Repositories") as reposection:
srcdetail += reposection srcdetail += reposection
reposection += Html("h4", _("Repositories"), inline = True) reposection += Html("h4", _("Repositories"), inline = True)
ordered = Html("ol")
reposection += ordered
with Html("table", class_ = "infolist repolist") as table: for repo_ref in repo_ref_list:
reposection += table repository = db.get_repository_from_handle( repo_ref.ref )
list = Html("li", self.repository_link( repository.handle,
unordered = Html("ul") repository.name,
table += unordered inc_repos,
repository.gramps_id,
for repo_ref in repo_ref_list: up = True ) )
repository = db.get_repository_from_handle( repo_ref.ref ) ordered += list
list = Html("li", self.repository_link( repository.handle,
repository.name,
inc_repos,
repository.gramps_id,
up = True ) )
unordered += list
# references # references
references = self.display_references(src_list[source.handle]) references = self.display_references(src_list[source.handle])
@ -4626,6 +4638,7 @@ class IndividualPage(BasePage):
data = place_lat_long[0] data = place_lat_long[0]
midX_, midY_ = conv_lat_lon( data[0], data[1], "D.D8" ) midX_, midY_ = conv_lat_lon( data[0], data[1], "D.D8" )
jsc += """ jsc += """
//<![CDATA[
var centre = new google.maps.LatLng(%s, %s); var centre = new google.maps.LatLng(%s, %s);
var gpsCoords = [""" % (midX_, midY_) var gpsCoords = [""" % (midX_, midY_)
for index in xrange(0, (number_markers - 1)): for index in xrange(0, (number_markers - 1)):
@ -4664,7 +4677,8 @@ class IndividualPage(BasePage):
animation: google.maps.Animation.DROP animation: google.maps.Animation.DROP
})); }));
iterator++; iterator++;
}""" % (data[0], data[1], zoomlevel) }
//]]>""" % (data[0], data[1], zoomlevel)
# there is no need to add an ending "</script>", # there is no need to add an ending "</script>",
# as it will be added automatically by libhtml()! # as it will be added automatically by libhtml()!
@ -4697,6 +4711,7 @@ class IndividualPage(BasePage):
jsc += openstreet_jsc % (Utils.xml_lang()[3:5].lower(), data[0], data[1] ) jsc += openstreet_jsc % (Utils.xml_lang()[3:5].lower(), data[0], data[1] )
else: else:
jsc += """ jsc += """
//<![CDATA[
OpenLayers.Lang.setCode("%s"); OpenLayers.Lang.setCode("%s");
map = new OpenLayers.Map("map_canvas"); map = new OpenLayers.Map("map_canvas");
@ -4743,7 +4758,8 @@ class IndividualPage(BasePage):
feature.popup = null; feature.popup = null;
} }
map.addControl(controls['selector']); map.addControl(controls['selector']);
controls['selector'].activate();""" controls['selector'].activate();
//]]>"""
with Html("div", class_ ="subsection", id ="references") as section: with Html("div", class_ ="subsection", id ="references") as section:
mapbackground += section mapbackground += section
@ -5037,11 +5053,11 @@ class IndividualPage(BasePage):
return ol return ol
def child_ped(ol): def child_ped(ol):
ol += Html("li", class_ = "thisperson", inline = True) + self.name with Html("li", self.name, class_="thisperson") as pedfam:
family = self.pedigree_family() family = self.pedigree_family()
if family: if family:
ol += Html("ol", class_ = "spouselist") + family pedfam += Html("ol", class_ = "spouselist") + family
return ol return ol + pedfam
# End of helper functions # End of helper functions
@ -5080,7 +5096,7 @@ class IndividualPage(BasePage):
children_ped(Html("ol")) children_ped(Html("ol"))
) )
else: else:
pedol += children_ped(Html("ol")) pedol += (Html("li") + children_ped(Html("ol")))
return ped return ped
def display_ind_general(self): def display_ind_general(self):

View File

@ -526,6 +526,15 @@ table.relationships tbody tr td.ColumnRowLabel a {
padding:.1em 10px .3em 10px; padding:.1em 10px .3em 10px;
} }
/* Events
----------------------------------------------------- */
#EventList table.infolist tr.BeginType td {
border-top:dashed 1px rgb(204, 204, 204);
}
#EventList table.infolist tr.BeginLetter td {
border-top:solid 1px rgb(204, 204, 204);
}
/* Gallery /* Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
#Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate { #Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate {
@ -851,6 +860,9 @@ div#addresses table.infolist tbody tr td.ColumnAttribute {
div#addresses table.infolist tbody tr td.ColumnValue { div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #CCC; border-bottom:dashed 1px #CCC;
} }
div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a {
display: inline;
}
/* Subsections : Attributes /* Subsections : Attributes
----------------------------------------------------- */ ----------------------------------------------------- */
@ -891,10 +903,10 @@ div#addresses table.infolist tbody tr td.ColumnValue {
/* Subsections : Narrative /* Subsections : Narrative
----------------------------------------------------- */ ----------------------------------------------------- */
div#narrative { div.narrative {
padding-bottom:0; padding-bottom:0;
} }
#narrative p { .narrative p {
margin-top:.5em; margin-top:.5em;
margin-bottom:0; margin-bottom:0;
padding:0 20px 1em 20px; padding:0 20px 1em 20px;

View File

@ -508,8 +508,7 @@ table.surname tbody tr td.ColumnName a span.grampsid {
} }
table.surname tbody tr td.ColumnName:hover { table.surname tbody tr td.ColumnName:hover {
background-color: #00029D; background-color: #00029D;
color: #FFF;/home/Frog/trunk/src/gui/viewmanager.py:946: GtkWarning: Inserting action group 'Media' into UI manager which already has a group with this name color: #FFF;
} }
table.surname thead tr th.ColumnParents, table.surname thead tr th.ColumnParents,
table.surname tbody tr td.ColumnParents { table.surname tbody tr td.ColumnParents {
@ -1167,7 +1166,7 @@ table.ldsordlist tbody tr td.ColumnLDSPlace {
width: 35%; width: 35%;
} }
table.ldsordlist tbody tr td.ColumnLDSStatus { table.ldsordlist tbody tr td.ColumnLDSStatus {
width: 8; width: 8%;
} }
table.ldsordlist tbody tr td.ColumnLDSSealed { table.ldsordlist tbody tr td.ColumnLDSSealed {
width: 25%; width: 25%;
@ -1185,7 +1184,6 @@ div#Addresses {
} }
div#Addresses table.infolist { div#Addresses table.infolist {
font-size: 10px; font-size: 10px;
background-color: #70B1ED;
} }
div#Addresses table.infolist tbody tr td.ColumnDate { div#Addresses table.infolist tbody tr td.ColumnDate {
width: 15%; width: 15%;
@ -1211,14 +1209,17 @@ div#Addresses table.infolist tbody tr td.ColumnPostalcode {
div#Addresses table.infolist tbody tr td.ColumnPhone { div#Addresses table.infolist tbody tr td.ColumnPhone {
width: 12%; width: 12%;
} }
div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a {
display: inline;
}
/* SubSection: Residence /* SubSection: Residence
----------------------------------------------------- */ ----------------------------------------------------- */
div#Residence { div.Residence {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
div#Residence table.infolist tr td { div.Residence table.infolist tr td {
border-top: dashed 1px #000; border-top: dashed 1px #000;
} }
@ -1258,10 +1259,10 @@ div#Residence table.infolist tr td {
/* Subsections : Narrative /* Subsections : Narrative
----------------------------------------------------- */ ----------------------------------------------------- */
div#narrative { div.narrative {
padding-bottom: 0; padding-bottom: 0;
} }
#narrative p { .narrative p {
font: normal .9em/1.4em sans-serif; font: normal .9em/1.4em sans-serif;
margin-top: .5em; margin-top: .5em;
margin-bottom: 0; margin-bottom: 0;

View File

@ -510,6 +510,15 @@ table.relationships tbody tr td.columnPartner {
padding:.1em 10px .3em 10px; padding:.1em 10px .3em 10px;
} }
/* Events
----------------------------------------------------- */
#EventList table.infolist tr.BeginType td {
border-top: dashed 1px #9DBF9D;
}
#EventList table.infolist tr.BeginLetter td {
border-top: solid 1px #9DBF9D;
}
/* Gallery /* Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
#Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate { #Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate {
@ -835,6 +844,9 @@ div#addresses table.infolist tbody tr td.ColumnAttribute {
div#addresses table.infolist tbody tr td.ColumnValue { div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #9DBF9D; border-bottom:dashed 1px #9DBF9D;
} }
div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a {
display: inline;
}
/* Subsections : Attributes /* Subsections : Attributes
----------------------------------------------------- */ ----------------------------------------------------- */
@ -875,10 +887,10 @@ div#addresses table.infolist tbody tr td.ColumnValue {
/* Subsections : Narrative /* Subsections : Narrative
----------------------------------------------------- */ ----------------------------------------------------- */
div#narrative { div.narrative {
padding-bottom:0; padding-bottom:0;
} }
#narrative p { .narrative p {
margin-top:.5em; margin-top:.5em;
margin-bottom:0; margin-bottom:0;
padding:0 20px 1em 20px; padding:0 20px 1em 20px;

View File

@ -511,6 +511,15 @@ table.relationships tbody tr td.ColumnPartner {
padding:.1em 10px .3em 10px; padding:.1em 10px .3em 10px;
} }
/* Events
----------------------------------------------------- */
#EventList table.infolist tr.BeginType td {
border-top: dashed 1px #B4B4CB;
}
#EventList table.infolist tr.BeginLetter td {
border-top: solid 1px #B4B4CB;
}
/* Gallery /* Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
#Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate { #Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate {
@ -836,6 +845,9 @@ div#addresses table.infolist tbody tr td.ColumnAttribute {
div#addresses table.infolist tbody tr td.ColumnValue { div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #B4B4CB; border-bottom:dashed 1px #B4B4CB;
} }
div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a{
display: inline;
}
/* Subsections : Attributes /* Subsections : Attributes
----------------------------------------------------- */ ----------------------------------------------------- */
@ -876,10 +888,10 @@ div#addresses table.infolist tbody tr td.ColumnValue {
/* Subsections : Narrative /* Subsections : Narrative
----------------------------------------------------- */ ----------------------------------------------------- */
div#narrative { div.narrative {
padding-bottom:0; padding-bottom:0;
} }
#narrative p { .narrative p {
margin-top:.5em; margin-top:.5em;
margin-bottom:0; margin-bottom:0;
padding:0 20px 1em 20px; padding:0 20px 1em 20px;

View File

@ -512,6 +512,15 @@ table.relationships tbody tr td.ColumnPartner {
padding:.1em 10px .3em 10px; padding:.1em 10px .3em 10px;
} }
/* Events
----------------------------------------------------- */
#EventList table.infolist tr.BeginType td {
border-top: dashed 1px #FFC35E;
}
#EventList table.infolist tr.BeginLetter td {
border-top: solid 1px #FFC35E;
}
/* Gallery /* Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
#Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate { #Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate {
@ -837,6 +846,9 @@ div#addresses table.infolist tbody tr td.ColumnAttribute {
div#addresses table.infolist tbody tr td.ColumnValue { div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #FFC35E; border-bottom:dashed 1px #FFC35E;
} }
div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a {
display: inline;
}
/* Subsections : Attributes /* Subsections : Attributes
----------------------------------------------------- */ ----------------------------------------------------- */
@ -877,10 +889,10 @@ div#addresses table.infolist tbody tr td.ColumnValue {
/* Subsections : Narrative /* Subsections : Narrative
----------------------------------------------------- */ ----------------------------------------------------- */
div#narrative { div.narrative {
padding-bottom:0; padding-bottom:0;
} }
#narrative p { .narrative p {
margin-top:.5em; margin-top:.5em;
margin-bottom:0; margin-bottom:0;
padding:0 20px 1em 20px; padding:0 20px 1em 20px;

View File

@ -512,6 +512,15 @@ table.relationships tbody tr td.ColumnPartner {
padding:.1em 10px .3em 10px; padding:.1em 10px .3em 10px;
} }
/* Events
----------------------------------------------------- */
#EventList table.infolist tr.BeginType td {
border-top: dashed 1px #BFD0EA;
}
#EventList table.infolist tr.BeginLetter td {
border-top: solid 1px #BFD0EA;
}
/* Gallery /* Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
#Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate { #Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate {
@ -837,6 +846,9 @@ div#addresses table.infolist tbody tr td.ColumnAttribute {
div#addresses table.infolist tbody tr td.ColumnValue { div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #BFD0EA; border-bottom:dashed 1px #BFD0EA;
} }
div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a {
display: inline;
}
/* Subsections : Attributes /* Subsections : Attributes
----------------------------------------------------- */ ----------------------------------------------------- */
@ -877,10 +889,10 @@ div#addresses table.infolist tbody tr td.ColumnValue {
/* Subsections : Narrative /* Subsections : Narrative
----------------------------------------------------- */ ----------------------------------------------------- */
div#narrative { div.narrative {
padding-bottom:0; padding-bottom:0;
} }
#narrative p { .narrative p {
margin-top:.5em; margin-top:.5em;
margin-bottom:0; margin-bottom:0;
padding:0 20px 1em 20px; padding:0 20px 1em 20px;

View File

@ -527,6 +527,15 @@ table.relationships tbody tr td.ColumnPartner {
padding:.1em 10px .3em 10px; padding:.1em 10px .3em 10px;
} }
/* Events
----------------------------------------------------- */
#EventList table.infolist tr.BeginType td {
border-top:dashed 1px #D8C19F;
}
#EventList table.infolist tr.BeginLetter td {
border-top:solid 1px #D8C19F;
}
/* Gallery /* Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
#Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate { #Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate {
@ -839,6 +848,9 @@ div#addresses table.infolist tbody tr td.ColumnAttribute {
div#addresses table.infolist tbody tr td.ColumnValue { div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #D8C19F; border-bottom:dashed 1px #D8C19F;
} }
div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a {
display: inline;
}
/* SubSection : Attributes /* SubSection : Attributes
----------------------------------------------------- */ ----------------------------------------------------- */
@ -879,10 +891,10 @@ div#addresses table.infolist tbody tr td.ColumnValue {
/* SubSection : Narrative /* SubSection : Narrative
----------------------------------------------------- */ ----------------------------------------------------- */
div#narrative { div.narrative {
padding-bottom:0; padding-bottom:0;
} }
#narrative p { .narrative p {
margin-top:.5em; margin-top:.5em;
margin-bottom:0; margin-bottom:0;
padding:0 20px 1em 20px; padding:0 20px 1em 20px;

View File

@ -513,6 +513,15 @@ table.relationships tbody tr td.ColumnPartner a:hover {
background-color:#C1B398; background-color:#C1B398;
} }
/* Events
----------------------------------------------------- */
#EventList table.infolist tr.BeginType td {
border-top: dashed 1px #C1B398;
}
#EventList table.infolist tr.BeginLetter td {
border-top: solid 1px #C1B398;
}
/* Gallery /* Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
#Gallery { } #Gallery { }
@ -830,6 +839,9 @@ div#addresses table.infolist tbody tr td.ColumnAttribute {
div#addresses table.infolist tbody tr td.ColumnValue { div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:solid 1px #C1B398; border-bottom:solid 1px #C1B398;
} }
div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a {
display: inline;
}
/* Subsections : Gallery /* Subsections : Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
@ -867,10 +879,10 @@ div#addresses table.infolist tbody tr td.ColumnValue {
/* Subsections : Narrative /* Subsections : Narrative
----------------------------------------------------- */ ----------------------------------------------------- */
div#narrative { div.narrative {
padding-bottom:0; padding-bottom:0;
} }
#narrative p { .narrative p {
font:normal .9em/1.4em sans-serif; font:normal .9em/1.4em sans-serif;
margin-top:.5em; margin-top:.5em;
margin-bottom:0; margin-bottom:0;

View File

@ -670,6 +670,15 @@ div#EventDetail table.eventlist tbody tr td.ColumnPerson {
background-color: #D8F3D6; background-color: #D8F3D6;
} }
/* Events
----------------------------------------------------- */
#EventList table.infolist tr.BeginType td {
border-top: dashed 1px #5D835F;
}
#EventList table.infolist tr.BeginLetter td {
border-top: solid 1px #5D835F;
}
/* Gallery /* Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
#Gallery { #Gallery {
@ -1141,7 +1150,7 @@ table.ldsordlist tbody tr td.ColumnLDSPlace {
width:35%; width:35%;
} }
table.ldsordlist tbody tr td.ColumnLDSStatus { table.ldsordlist tbody tr td.ColumnLDSStatus {
width:8; width:8%;
} }
table.ldsordlist tbody tr td.ColumnLDSSealed { table.ldsordlist tbody tr td.ColumnLDSSealed {
width:25%; width:25%;
@ -1188,6 +1197,9 @@ div#Addresses table.infolist tbody tr td.ColumnPostalcode {
div#Addresses table.infolist tbody tr td.ColumnPhone { div#Addresses table.infolist tbody tr td.ColumnPhone {
width: 15%; width: 15%;
} }
div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a {
display: inline;
}
/* Subsections : Gallery /* Subsections : Gallery
----------------------------------------------------- */ ----------------------------------------------------- */
@ -1225,10 +1237,10 @@ div#Addresses table.infolist tbody tr td.ColumnPhone {
/* Subsections : Narrative /* Subsections : Narrative
----------------------------------------------------- */ ----------------------------------------------------- */
div#narrative { div.narrative {
padding-bottom:0; padding-bottom:0;
} }
#narrative p { .narrative p {
font:normal .9em/1.4em sans-serif; font:normal .9em/1.4em sans-serif;
margin-top:.5em; margin-top:.5em;
margin-bottom:0; margin-bottom:0;