summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <ralph.bean@gmail.com>2011-04-13 20:21:47 -0400
committerRalph Bean <ralph.bean@gmail.com>2011-04-13 20:21:47 -0400
commitdb34ce88c4d4035eb7ce17f1b3fa49c8eb21a362 (patch)
treefda2d5cac06608fc8bc284098defcb0c65232b3c
parentab9545215885152c0c7e3bce4caf2cec41c1a9fe (diff)
downloadleafymiracle-db34ce88c4d4035eb7ce17f1b3fa49c8eb21a362.zip
leafymiracle-db34ce88c4d4035eb7ce17f1b3fa49c8eb21a362.tar.gz
leafymiracle-db34ce88c4d4035eb7ce17f1b3fa49c8eb21a362.tar.xz
Top-left positioned searchbar.
-rw-r--r--leafymiracle/static/css/leafy.css6
-rw-r--r--leafymiracle/templates/model.pt6
2 files changed, 9 insertions, 3 deletions
diff --git a/leafymiracle/static/css/leafy.css b/leafymiracle/static/css/leafy.css
index 256ec13..cd84145 100644
--- a/leafymiracle/static/css/leafy.css
+++ b/leafymiracle/static/css/leafy.css
@@ -18,3 +18,9 @@ img.center {
margin-right: auto;
border: 0;
}
+
+.searchbar-wrapper {
+ position: absolute;
+ float: right;
+ float: top;
+}
diff --git a/leafymiracle/templates/model.pt b/leafymiracle/templates/model.pt
index 8663167..f2e84d4 100644
--- a/leafymiracle/templates/model.pt
+++ b/leafymiracle/templates/model.pt
@@ -6,14 +6,14 @@
</head>
<body>
<div tal:content="structure dialogwidget.display()"></div>
+ <div class="searchbar-wrapper">
+ <div tal:content="structure searchbarwidget.display()"></div>
+ </div>
<div class="outer">
<a href="javascript:(function(){$('#leafy_dialog').dialog('open');})();">
<img class="center" src="static/images/leafy_logo.png" />
</a>
</div>
- <div class="searchbar">
- <div tal:content="structure searchbarwidget.display()"></div>
- </div>
<div class="inner" tal:content="structure jitwidget.display()"></div>
</body>
</html>