INCLUDE "opac/parts/topnav.tt2";
ctx.page_title = l("Call Number Browse"); %]
<h2 class="sr-only">[% l('Call Number Browse') %]</h2>
- [% INCLUDE "opac/parts/searchbar.tt2" %]
- <div id="content-wrapper">
- <div id="main-content">
+ <div id="cn-search-bar-wrapper">
+ <span class="search_catalog_lbl mobile_hide">[% l('Search the Catalog') %]</span>
+ <span style="padding: 10px 0 5px 20px;"><a href="[% mkurl(ctx.opac_root _ '/home', {locg => CGI.param('locg')}, 1) %]"
+ class="adv_search_catalog_lbl">[%l('Basic Search')%]</a></span>
+ <span style="padding: 10px 0 5px 20px;"><a href="[% mkurl(ctx.opac_root _ '/advanced', {locg => CGI.param('locg')}, 1) %]"
+ class="adv_search_catalog_lbl">[%l('Advanced Search')%]</a></span>
+ <span style="padding: 10px 0 5px 20px;" class="browse_the_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/browse') %]">[%
+ l('Browse the Catalog')%]</a></span>
+ </div>
+ <div id="content-wrapper">
+ <div id="main-content">
<div class="cnbrowse_div">
[% INCLUDE "opac/parts/record/cnbrowse.tt2" %]
</div>
height: 1px;
padding-bottom: 1ex;
}
+
+#cn_search_box {
+ min-width: 20%;
+ height: 1.1em;
+ font-size: 15px;
+ border: 1px solid [% css_colors.border_standard %];
+}
+
+#cn-search-bar-wrapper {
+ padding: 10px 0 0 20px;
+ background: [% css_colors.background %];
+}
+
+#browse_block {
+ padding-top: 10px;
+}
+
+#shelf_browse_label {
+ color: [% css_colors.primary %];
+ font-weight: bold;
+}
+
.cn_browse_item { padding: 2ex; }
.results-paginator-list { padding-left: 1em; }
.results-paginator-selected { color: [% css_colors.text_alert %]; }
--- /dev/null
+<form action="[% ctx.opac_root %]/results" method="get">
+
+ <input type="hidden" name="contains" value="contains" />
+ <input type="hidden" name="_special" value="1" />
+ <div id='browse_block'>
+ <label for="numeric_qtype" id="shelf_browse_label">[% l("Call Number Browse: ") %]</label>
+ <select class='hidden' id="numeric_qtype" name="qtype">
+ <option value="cnbrowse">[% l('Call Number Browse') %]</option>
+ </select>
+
+ <input type="text" id="cn_search_box" name="query" autofocus placeholder='[% l("Call Number") %]' />
+ [%- lib_select_id="numeric_search_library" -%]
+ <label id="search_locg_label" for="[% lib_select_id %]"><!--<strong>[% l("Search Library:") %]</strong>-->
+ [% PROCESS "opac/parts/org_selector.tt2";
+ INCLUDE build_org_selector id=lib_select_id #show_loc_groups=1 --Remove location groups because they don't work in cnbrowse - NOBLE
+ %]
+ </label>
+ <input type="submit" alt="[% l('Search') %]"
+ value="[% l('Search') %]" class="opac-button" />
+ </div>
+</form>
+
+[% INCLUDE "opac/parts/advanced/cnbrowse.tt2" %]
+
[%
cnoffset = CGI.param('cnoffset');
cnoffset = cnoffset.match('^-?\d+$') ? cnoffset : 0; # verify cnoffset is a sane value