Stylize the results box a bit more so it's more visible.
authorEvan Broder <broder@mit.edu>
Mon, 28 Dec 2009 19:15:30 +0000 (14:15 -0500)
committerEvan Broder <broder@mit.edu>
Mon, 28 Dec 2009 19:15:30 +0000 (14:15 -0500)
svn path=/trunk/packages/invirt-web/; revision=2804

code/static/style.css
code/templates/skeleton.mako

index a764e17..9bea2e9 100644 (file)
@@ -108,3 +108,10 @@ tr.stripedrow {
 form {
     display: inline;
 }
+
+/* styling for the results box */
+.result {
+    background-color: #e8e8ff;
+    border: 1px black solid;
+    padding: 1ex;
+}
index a53d2bf..aee4769 100644 (file)
@@ -66,15 +66,16 @@ You are currently authenticated as an administrator.
 
 % endif
 
-<div id="result" class="result">
+% if not simple:
+<h1>${self.title()} &mdash; XVM</h1>
+% endif
+
 % if result:
+<div id="result" class="result">
 ${result}
-% endif
 </div>
-
-% if not simple:
-<h1>${self.title()} &mdash; XVM</h1>
 % endif
+
 ${next.body()}
 % if not simple:
 <hr />