Again, toward the mobilization of advanced searches. Allow the forms to resize happily.
Signed-off-by: Bill Ott <bott@grpl.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
.staff-hold { background-color: [% css_colors.accent_lightest %]; }
.expert-search tbody tr th { text-align: right; padding-left: 2em; }
.expert-search-row { padding-top: 10px; }
+#adv_expert_row label { font-weight: bold; }
+
.bookshelf thead tr td {
border-bottom: 1px dashed [% css_colors.accent_dark %];
padding-bottom: 1ex;
<table class="expert-search">
<tbody id="adv_expert_rows_here">
<tr id="adv_expert_row">
- <th><label for="expert_tag">[% l("Tag:") %]</label></th>
- <td><input id="expert_tag" type="text" name="tag" size="3" autofocus /></td>
- <th><label for="expert_subfield">[% l("Subfield:") %]</label></th>
- <td><input id="expert_subfield" type="text" name="subfield" size="1" /></td>
- <th><label for="expert_term">[% l("Value:") %]</label></th>
- <td><input id="expert_term" type="text" name="term" size="16" /></td>
+ <td>
+ <label for="expert_tag">[% l("Tag:") %]</label>
+ <input id="expert_tag" type="text" name="tag" size="3" autofocus />
+ <label for="expert_subfield">[% l("Subfield:") %]</label>
+ <input id="expert_subfield" type="text" name="subfield" size="1" />
+ <span style="white-space:nowrap">
+ <label for="expert_term">[% l("Value:") %]</label>
+ <input id="expert_term" type="text" name="term" size="16" />
+ </span>
+ </td>
<td>
<a href="javascript:;" class="row-remover"
title="[% l('Remove row') %]" alt="[% l('Remove row') %]"
<div class="header_middle">[% l("Numeric Search") %]</div>
<input type="hidden" name="contains" value="contains" />
<input type="hidden" name="_special" value="1" />
- <table>
- <tr>
- <td><label for="numeric_qtype"><strong>[% l("Field:") %]</strong></label>
+ <div id='adv_numeric_block'>
+ <label for="numeric_qtype"><strong>[% l("Field:") %]</strong></label>
<select id="numeric_qtype" name="qtype">
<!-- TODO: Pull labels from config.metabib_field.label -->
<option value="identifier|isbn">[% l('ISBN') %]</option>
<option value="item_barcode">[% l('Item Barcode') %]</option>
</select>
</label>
- </td>
- <td>
+
<input type="text" name="query" size="16" autofocus placeholder='[% l("Identifier") %]' />
- </td>
- </tr>
- <tr>
+ <br/>
[%- lib_select_id="numeric_search_library" -%]
- <td colspan="2"><label for="[% lib_select_id %]"><strong>[% l("Search Library:") %]</strong>
+ <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
%]
- </label>
- </td>
- </tr>
- <tr>
- <td colspan="2" align="right">
+ </label>
+ <br/>
<input type="submit" alt="[% l('Search') %]"
value="[% l('Search') %]" class="opac-button" />
- </td>
- </table>
+ </div>
</form>