Fixed page source layout for links so that they all line up together.

svn: r15054
This commit is contained in:
Rob G. Healey 2010-04-07 23:38:12 +00:00
parent 483d2dd7ff
commit 98146a9b6c

View File

@ -977,16 +977,16 @@ class BasePage(object):
# create stylesheet and favicon links
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 = url2, type = "text/css", media = "screen", rel = "stylesheet"),
Html("link", href = url3, type = "text/css", media = 'print', 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", indent = False),
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"]:
# Link to Navigation Menus stylesheet
fname = "/".join(["styles", "Web_Navigation-Menus.css"])
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
head += meta