Fixed page source layout for links so that they all line up together.
svn: r15054
This commit is contained in:
parent
483d2dd7ff
commit
98146a9b6c
@ -977,16 +977,16 @@ class BasePage(object):
|
|||||||
|
|
||||||
# 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") + (
|
||||||
Html("link", href = url1, type = "text/css", media = "screen", rel = "stylesheet"),
|
Html("link", href = url1, type = "text/css", media = "screen", rel = "stylesheet", indent = False),
|
||||||
Html("link", href = url2, type = "text/css", media = "screen", rel = "stylesheet"),
|
Html("link", href = url2, type = "text/css", media = "screen", rel = "stylesheet", indent = False),
|
||||||
Html("link", href = url3, type = "text/css", media = 'print', rel = "stylesheet")
|
Html("link", href = url3, type = "text/css", media = 'print', rel = "stylesheet", indent = False)
|
||||||
)
|
)
|
||||||
|
|
||||||
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
|
# 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") )
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user