From 43f098cda06f79a8515955ffe5c7ce1166ed611d Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 7 Feb 2008 19:06:34 +0000 Subject: [PATCH] Hard-coding luminotes_title.png image dimensions to improve the way the page looks when it's loading without a cache. --- view/Error_page.py | 2 +- view/Main_page.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/view/Error_page.py b/view/Error_page.py index dc38160..7145b85 100644 --- a/view/Error_page.py +++ b/view/Error_page.py @@ -5,7 +5,7 @@ from Tags import Div, H2, P, A, Ul, Li, Strong, Noscript, Img class Error_page( Page ): def __init__( self, support_email, message = None ): header_image = Div( - A( Img( src = "/static/images/luminotes_title.png" ), href = "/", title = "Luminotes personal wiki notebook" ), + A( Img( src = u"/static/images/luminotes_title.png", width = u"206", height = u"69" ), href = u"/", title = u"Luminotes personal wiki notebook" ), class_ = u"error_header", ) diff --git a/view/Main_page.py b/view/Main_page.py index 3219134..cc78b13 100644 --- a/view/Main_page.py +++ b/view/Main_page.py @@ -125,7 +125,7 @@ class Main_page( Page ): id = u"search_and_user_area", ), Div( - A( Img( src = "/static/images/luminotes_title.png" ), href = "/", title = "Luminotes personal wiki notebook" ), + A( Img( src = u"/static/images/luminotes_title.png", width = u"206", height = u"69" ), href = u"/", title = u"Luminotes personal wiki notebook" ), id = u"title_area", ), id = u"top_area",