From 0fd4f71db5072a290b5be1facf75a8c5a1c1fec3 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 21 Apr 2008 23:38:55 -0400 Subject: [PATCH] keep help page at a readable width svn path=/trunk/packages/sipb-xen-www/; revision=445 --- code/static/layout.css | 4 ++++ code/templates/help.tmpl | 2 ++ code/templates/skeleton.tmpl | 6 +++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/code/static/layout.css b/code/static/layout.css index 1694de7..d579a93 100644 --- a/code/static/layout.css +++ b/code/static/layout.css @@ -24,3 +24,7 @@ body { border-radius: .4em; background: #fff; } + +body.help { + max-width: 50em; +} diff --git a/code/templates/help.tmpl b/code/templates/help.tmpl index 055f75c..d6f0768 100644 --- a/code/templates/help.tmpl +++ b/code/templates/help.tmpl @@ -1,6 +1,8 @@ #from skeleton import skeleton #extends skeleton +#attr pageclass = 'help' + #def title #if len($subjects) == 1 Help on $subjects[0] diff --git a/code/templates/skeleton.tmpl b/code/templates/skeleton.tmpl index f3983ef..e68c819 100644 --- a/code/templates/skeleton.tmpl +++ b/code/templates/skeleton.tmpl @@ -29,7 +29,11 @@ function helppopup(name){ } - + #if False
-- 1.7.9.5