From 75b32a456c2efa77b7ca33b2275405f3a88bac35 Mon Sep 17 00:00:00 2001 From: Evan Broder <broder@mit.edu> Date: Mon, 28 Dec 2009 14:15:30 -0500 Subject: [PATCH 1/1] Stylize the results box a bit more so it's more visible. svn path=/trunk/packages/invirt-web/; revision=2804 --- code/static/style.css | 7 +++++++ code/templates/skeleton.mako | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/code/static/style.css b/code/static/style.css index a764e17..9bea2e9 100644 --- a/code/static/style.css +++ b/code/static/style.css @@ -108,3 +108,10 @@ tr.stripedrow { form { display: inline; } + +/* styling for the results box */ +.result { + background-color: #e8e8ff; + border: 1px black solid; + padding: 1ex; +} diff --git a/code/templates/skeleton.mako b/code/templates/skeleton.mako index a53d2bf..aee4769 100644 --- a/code/templates/skeleton.mako +++ b/code/templates/skeleton.mako @@ -66,15 +66,16 @@ You are currently authenticated as an administrator. % endif -<div id="result" class="result"> +% if not simple: +<h1>${self.title()} — XVM</h1> +% endif + % if result: +<div id="result" class="result"> ${result} -% endif </div> - -% if not simple: -<h1>${self.title()} — XVM</h1> % endif + ${next.body()} % if not simple: <hr /> -- 1.7.9.5