searchbar, homesearch and css tweaks
authorWilliam Rockwood <wrockwood@tadl.org>
Mon, 23 Jul 2012 17:46:51 +0000 (13:46 -0400)
committerWilliam Rockwood <wrockwood@tadl.org>
Mon, 23 Jul 2012 17:46:51 +0000 (13:46 -0400)
- Fixed searchbar so the select menus are appropriately-sized
- (Added an id to the location selector)
- Beginning to tweak the home page to include a content slider

Signed-off-by: William Rockwood <wrockwood@tadl.org>
css/tadl.css
templates_tadlskin/opac/parts/homesearch.tt2
templates_tadlskin/opac/parts/searchbar.tt2

index 0fc1f1b..f2c4d8a 100644 (file)
@@ -15,7 +15,7 @@ img {
 }
 
 #homesearch_main_logo {
-        padding-top: 60px;
+        padding-top: 30px;
 }
 
 a {
@@ -701,8 +701,8 @@ div.format_icon {
 .content-wrapper-record-page { top: -15px; position: relative; }
 
 #main-content-home {
-       padding-left: 17px;
-    margin-left: 1em;
+    padding-left: 0;
+    margin-left: 0;
 }
 #main-content {
        padding-left: 0px;
@@ -984,6 +984,7 @@ div.result_place_hold {
 
 .acct_holds_temp td {
        text-align: left;
+       padding:0 2px;
 }
 
 #acct_checked_tabs .align, 
@@ -1568,3 +1569,10 @@ a.preflib_change {
 .ac_tab_selected a { color: #FFF; }
 #ac_content { clear: both; width: 100%; margin-top: 10px; }
 
+select#qtype,
+select#location_selector {
+    width:auto;
+}
+select#item_type_selector {
+    width:10em;
+}
index 50e73a1..a9fd1ef 100644 (file)
@@ -1,3 +1,4 @@
 <div id="homesearch_main_logo">
     <!--<strong><center><img src="[% ctx.media_prefix %]/opac/images/main_logo.png" /></center></strong>-->
+<iframe width="960" height="250" src="http://old.tadl.org/slider/index.html" frameborder="0" marginwidth="5" marginheight="5" scrolling="no" style="background:#fff;text-align:center;border:1px solid #e6e6e6;"></iframe>
 </div>
index 353066d..f59932f 100644 (file)
@@ -29,7 +29,7 @@
     <div class="searchbar">
         [%- INCLUDE "opac/parts/qtype_selector.tt2" id="qtype"; %]
         [%- INCLUDE "opac/parts/coded_value_selector.tt2" attr=["mattype", "item_type"] none_ok=1 none_label=l('All Formats'); %]
-        [%- INCLUDE build_org_selector show_loc_groups=1 %]
+        [%- INCLUDE build_org_selector show_loc_groups=1 id='location_selector' %]
     </div>
     [% IF ctx.bookbag %]
     <div id="search-only-bookbag-container">