beantalk: home footer; css
authorBill Erickson <berick@esilibrary.com>
Fri, 6 Apr 2012 13:29:41 +0000 (09:29 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 6 Apr 2012 13:29:41 +0000 (09:29 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/beanstalk/base.tt2
Open-ILS/src/templates/beanstalk/footer.tt2 [new file with mode: 0644]
Open-ILS/src/templates/beanstalk/home.tt2

index 354de21..5095fe4 100644 (file)
             h1 { font-size: 140%; }
             h2 { font-size: 110%; }
             .hidden { visibility: hidden }
+            #home-search { width:100%; text-align: center }
+            #home-search div { padding: 5px; }
+            #footer { margin-top: 20px; }
+            .footer-link { padding: 5px; font-size: 110%; }
             .results_paginate { margin: 8px; width: 100%; text-align: center; }
             .results_paginate_summary { margin-bottom: 10px; }
             .results_paginate_links { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed #333;}
diff --git a/Open-ILS/src/templates/beanstalk/footer.tt2 b/Open-ILS/src/templates/beanstalk/footer.tt2
new file mode 100644 (file)
index 0000000..4ba8471
--- /dev/null
@@ -0,0 +1,6 @@
+<div id="footer">
+    <div class='footer-link'><a href="[% hostname %]">[% l('Dynamic catalog') %]</a></div>
+    <div class='footer-link'><a href="http://example.com">[% l('Bottom Link 2') %]</a></div>
+    <div class='footer-link'><a href="http://example.com">[% l('Bottom Link 3') %]</a></div>
+</div>
+
index 4a1c761..a11ba83 100644 (file)
@@ -3,17 +3,19 @@
     WRAPPER 'beanstalk/base.tt2';
     PROCESS 'opac/parts/org_selector.tt2'
 %]
-<form action="[% ctx.opac_root %]/results" method="GET">
-    <div><img src='[% ctx.media_prefix %]/images/eg_tiny_logo.jpg'/></div>
-    <div>[% l('Search the Catalog') %]</div>
-    <div>
-        <input type="text" id="search_box" name="query"
-            value="[% CGI.param('query') | html %]"
-            autofocus x-webkit-speech />
-    </div>
-    <div>[% INCLUDE "opac/parts/qtype_selector.tt2" id="qtype" %]</div>
-    <div>[% INCLUDE build_org_selector show_loc_groups=1 %]</div>
-    </div>
-    <div><input type="submit" value="[% l('Search') %]" alt="[% l('Search') %]"/></div>
-</form>
+<div id='home-search'>
+    <form action="[% ctx.opac_root %]/results" method="GET">
+        <div><img style='width:250px;' src='[% ctx.media_prefix %]/images/eg_logo.jpg'/></div>
+        <div style='margin-top: 10px;'>[% l('Search the Catalog') %]</div>
+        <div>
+            <input type="text" id="search_box" name="query"
+                value="[% CGI.param('query') | html %]"
+                autofocus x-webkit-speech />
+        </div>
+        <div>[% INCLUDE "opac/parts/qtype_selector.tt2" id="qtype" %]</div>
+        <div>[% INCLUDE build_org_selector show_loc_groups=1 %]</div>
+        <div><input type="submit" value="[% l('Search') %]" alt="[% l('Search') %]"/></div>
+    </form>
+    [% INCLUDE 'beanstalk/footer.tt2' %]
+</div>
 [% END %]