Changed trunk favicon.ico to favicon2.ico as Benny suggested.
svn: r15206
This commit is contained in:
parent
8bd8c868fc
commit
a558bd68c1
@ -1017,8 +1017,8 @@ class BasePage(object):
|
|||||||
url3 = self.report.build_url_fname(fname, None, self.up)
|
url3 = self.report.build_url_fname(fname, None, self.up)
|
||||||
|
|
||||||
# Link to GRAMPS favicon
|
# Link to GRAMPS favicon
|
||||||
fname = "/".join(['images', 'favicon.ico'])
|
fname = "/".join(['images', 'favicon2.ico'])
|
||||||
url4 = self.report.build_url_image("favicon.ico", "images", self.up)
|
url4 = self.report.build_url_image("favicon2.ico", "images", self.up)
|
||||||
|
|
||||||
# create stylesheet and favicon links
|
# create stylesheet and favicon links
|
||||||
links = Html("link", href = url4, type = "image/x-icon", rel = "shortcut icon") + (
|
links = Html("link", href = url4, type = "image/x-icon", rel = "shortcut icon") + (
|
||||||
@ -1027,12 +1027,13 @@ class BasePage(object):
|
|||||||
Html("link", href = url3, type = "text/css", media = 'print', rel = "stylesheet", indent = False)
|
Html("link", href = url3, type = "text/css", media = 'print', rel = "stylesheet", indent = False)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Link to Navigation Menus stylesheet
|
||||||
if self.report.css in ["Web_Basic-Blue.css", "Web_Visually.css"]:
|
if self.report.css in ["Web_Basic-Blue.css", "Web_Visually.css"]:
|
||||||
# Link to Navigation Menus stylesheet
|
|
||||||
fname = "/".join(["styles", "Web_Navigation-Menus.css"])
|
fname = "/".join(["styles", "Web_Navigation-Menus.css"])
|
||||||
url = self.report.build_url_fname(fname, None, self.up)
|
url = self.report.build_url_fname(fname, None, self.up)
|
||||||
links.extend( Html("link", href = url, type = "text/css", media = "screen", rel = "stylesheet", indent = False) )
|
links.extend(
|
||||||
|
Html("link", href = url, type = "text/css", media = "screen", rel = "stylesheet", indent = False)
|
||||||
|
)
|
||||||
# add additional meta and link tags
|
# add additional meta and link tags
|
||||||
head += meta
|
head += meta
|
||||||
head += links
|
head += links
|
||||||
@ -5198,7 +5199,7 @@ class NavWebReport(Report):
|
|||||||
# Mainz stylesheet graphics
|
# Mainz stylesheet graphics
|
||||||
# will only be used if Mainz is slected as the stylesheet
|
# will only be used if Mainz is slected as the stylesheet
|
||||||
Mainz_images = ["Web_Mainz_Bkgd.png", "Web_Mainz_Header.png",
|
Mainz_images = ["Web_Mainz_Bkgd.png", "Web_Mainz_Header.png",
|
||||||
"Web_Mainz_Mid.png", "Web_Mainz_MidLight.png"]
|
"Web_Mainz_Mid.png", "Web_Mainz_MidLight.png"]
|
||||||
|
|
||||||
# Copy Mainz Style Images
|
# Copy Mainz Style Images
|
||||||
if self.css == "Web_Mainz.css":
|
if self.css == "Web_Mainz.css":
|
||||||
@ -5210,7 +5211,7 @@ class NavWebReport(Report):
|
|||||||
imgs += ["somerights20.gif"]
|
imgs += ["somerights20.gif"]
|
||||||
|
|
||||||
# include GRAMPS favicon
|
# include GRAMPS favicon
|
||||||
imgs += ["favicon.ico"]
|
imgs += ["favicon2.ico"]
|
||||||
|
|
||||||
# we need the blank image gif neede by behaviour.css
|
# we need the blank image gif neede by behaviour.css
|
||||||
imgs += ["blank.gif"]
|
imgs += ["blank.gif"]
|
||||||
@ -5221,9 +5222,7 @@ class NavWebReport(Report):
|
|||||||
# copy Ancestor Tree graphics if needed???
|
# copy Ancestor Tree graphics if needed???
|
||||||
if self.graph:
|
if self.graph:
|
||||||
imgs += ["Web_Gender_Female.png",
|
imgs += ["Web_Gender_Female.png",
|
||||||
"Web_Gender_FemaleFFF.png",
|
"Web_Gender_Male.png" ]
|
||||||
"Web_Gender_Male.png",
|
|
||||||
"Web_Gender_MaleFFF.png"]
|
|
||||||
|
|
||||||
for fname in imgs:
|
for fname in imgs:
|
||||||
from_path = os.path.join(const.IMAGE_DIR, fname)
|
from_path = os.path.join(const.IMAGE_DIR, fname)
|
||||||
|
Loading…
Reference in New Issue
Block a user