From: Dan Scott Date: Tue, 20 Sep 2011 13:19:41 +0000 (-0400) Subject: Revamp the search bar to a narrative, single-line style X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e25803954e90932e37d92ca8d197cc2591e3b0fe;p=evergreen%2Fmasslnc.git Revamp the search bar to a narrative, single-line style Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky --- diff --git a/Open-ILS/src/templates/opac/parts/searchbar.tt2 b/Open-ILS/src/templates/opac/parts/searchbar.tt2 index 79213d2a53..f212518ce2 100644 --- a/Open-ILS/src/templates/opac/parts/searchbar.tt2 +++ b/Open-ILS/src/templates/opac/parts/searchbar.tt2 @@ -3,60 +3,40 @@ [% UNLESS took_care_of_form -%]
[%- END %] - - - - - - [% IF is_advanced || is_special %] - - [% END %] - [% IF ctx.processed_search_query OR (NOT is_advanced AND NOT is_special) %] - - - [% END %] - - [% UNLESS is_advanced OR is_special %] - - - - +
+ [% l('Search the Catalog') %] + [% l('Advanced Search') %] +
+
[%- l('Search '); + INCLUDE "opac/parts/coded_value_selector.tt2" + attr=["mattype", "item_type"] none_ok=1 none_label=l('All Formats'); + l(' for '); + %] + + + + [%- INCLUDE "opac/parts/qtype_selector.tt2"; + l(' in '); PROCESS build_org_selector name='loc' value=CGI.param('loc'); + %] + + + + +
+ [% IF is_advanced || is_special %] +
+ + [% IF ctx.processed_search_query OR (NOT is_advanced AND NOT is_special) %] + [% END %] -
- [% l('Search the Catalog') %] - [% l('Advanced Search') %] -
- - [% ELSE %] - - [% INCLUDE "opac/parts/qtype_selector.tt2" %] - -
- - -
- -
-
-
- - -
-
-
- [% INCLUDE "opac/parts/coded_value_selector.tt2" attr=["mattype", "item_type"] none_ok=1 none_label=l('All Formats') %] - - - [% PROCESS build_org_selector name='loc' value=CGI.param('loc') %] - -
+
+ [%- END %] [% UNLESS took_care_of_form %][% END %] [% IF (is_advanced AND NOT is_special) AND CGI.param('qtype') %]
diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index 1e018607bf..cc896f5c87 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -220,7 +220,7 @@ div.select-wrapper:hover { background: white; } -#search_box_wrapper { +.search_box_wrapper { border:1px solid #e9ebf3; padding: 1px; padding-left: 3px;