From bd8a6894e294345f1db753de90b03d497bd8f649 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 20 Jul 2007 19:11:22 +0000 Subject: [PATCH] Added Noscript section to the main page so people without Javascript enabled are greeted to slightly more than a blank page. --- view/Main_page.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/view/Main_page.py b/view/Main_page.py index 990af50..0aa2b60 100644 --- a/view/Main_page.py +++ b/view/Main_page.py @@ -1,5 +1,5 @@ from Page import Page -from Tags import Input, Div, H2, H4, A +from Tags import Input, Div, Noscript, H2, H4, A from Search_form import Search_form from Link_area import Link_area from Toolbar import Toolbar @@ -44,6 +44,13 @@ class Main_page( Page ): Div( id = u"notes", ), + Noscript( + u""" + Luminotes is a personal wiki notebook for organizing your notes and ideas. It also + happens to require Javascript. So if you'd like to check out this site, please enable + Javascript in your web browser. Sorry for the inconvenience. + """, + ), id = u"center_area", ), id = u"center_and_toolbar_area",