From: Greg Price Date: Tue, 22 Apr 2008 03:38:55 +0000 (-0400) Subject: keep help page at a readable width X-Git-Tag: sipb-xen-www/3.4~24 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/0fd4f71db5072a290b5be1facf75a8c5a1c1fec3 keep help page at a readable width svn path=/trunk/packages/sipb-xen-www/; revision=445 --- 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