|
Lines 53-68
Link Here
|
| 53 |
[% END %] |
53 |
[% END %] |
| 54 |
|
54 |
|
| 55 |
[% BLOCK authtype %] |
55 |
[% BLOCK authtype %] |
| 56 |
<select name="authtypecode" class="form-control"> |
56 |
<div> |
| 57 |
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %] |
57 |
<label> |
| 58 |
[% FOREACH authority_type IN authority_types %] |
58 |
Authority type |
| 59 |
[% IF authority_type.authtypecode == authtypecode %] |
59 |
|
| 60 |
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option> |
60 |
<select name="authtypecode" class="form-control"> |
| 61 |
[% ELSE %] |
61 |
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %] |
| 62 |
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option> |
62 |
[% FOREACH authority_type IN authority_types %] |
| 63 |
[% END %] |
63 |
[% IF authority_type.authtypecode == authtypecode %] |
| 64 |
[% END %] |
64 |
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option> |
| 65 |
</select> |
65 |
[% ELSE %] |
|
|
66 |
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option> |
| 67 |
[% END %] |
| 68 |
[% END %] |
| 69 |
</select> |
| 70 |
</label> |
| 71 |
</div> |
| 66 |
[% END %] |
72 |
[% END %] |
| 67 |
|
73 |
|
| 68 |
<div id="header_search"> |
74 |
<div id="header_search"> |
|
Lines 79-85
Link Here
|
| 79 |
</span> |
85 |
</span> |
| 80 |
|
86 |
|
| 81 |
<span class="form-content"> |
87 |
<span class="form-content"> |
| 82 |
[% INCLUDE authtype %] |
|
|
| 83 |
<input id="value_mainentry" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading ($a only)" /> |
88 |
<input id="value_mainentry" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading ($a only)" /> |
| 84 |
<button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button> |
89 |
<button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button> |
| 85 |
</span> |
90 |
</span> |
|
Lines 87-92
Link Here
|
| 87 |
<button type="submit"><i class="fa fa-arrow-right"></i></button> |
92 |
<button type="submit"><i class="fa fa-arrow-right"></i></button> |
| 88 |
|
93 |
|
| 89 |
<span class="form-extra-content"> |
94 |
<span class="form-extra-content"> |
|
|
95 |
[% INCLUDE authtype %] |
| 90 |
[% INCLUDE operator %] |
96 |
[% INCLUDE operator %] |
| 91 |
[% INCLUDE orderby %] |
97 |
[% INCLUDE orderby %] |
| 92 |
</span> |
98 |
</span> |
|
Lines 106-112
Link Here
|
| 106 |
</span> |
112 |
</span> |
| 107 |
|
113 |
|
| 108 |
<span class="form-content"> |
114 |
<span class="form-content"> |
| 109 |
[% INCLUDE authtype %] |
|
|
| 110 |
<input id="value_mainheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading" /> |
115 |
<input id="value_mainheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading" /> |
| 111 |
<button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button> |
116 |
<button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button> |
| 112 |
</span> |
117 |
</span> |
|
Lines 114-119
Link Here
|
| 114 |
<button type="submit"><i class="fa fa-arrow-right"></i></button> |
119 |
<button type="submit"><i class="fa fa-arrow-right"></i></button> |
| 115 |
|
120 |
|
| 116 |
<span class="form-extra-content"> |
121 |
<span class="form-extra-content"> |
|
|
122 |
[% INCLUDE authtype %] |
| 117 |
[% INCLUDE operator %] |
123 |
[% INCLUDE operator %] |
| 118 |
[% INCLUDE orderby %] |
124 |
[% INCLUDE orderby %] |
| 119 |
</span> |
125 |
</span> |
|
Lines 131-137
Link Here
|
| 131 |
</span> |
137 |
</span> |
| 132 |
|
138 |
|
| 133 |
<span class="form-content"> |
139 |
<span class="form-content"> |
| 134 |
[% INCLUDE authtype %] |
|
|
| 135 |
<input id="value_matchheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any heading" /> |
140 |
<input id="value_matchheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any heading" /> |
| 136 |
<button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button> |
141 |
<button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button> |
| 137 |
</span> |
142 |
</span> |
|
Lines 139-144
Link Here
|
| 139 |
<button type="submit"><i class="fa fa-arrow-right"></i></button> |
144 |
<button type="submit"><i class="fa fa-arrow-right"></i></button> |
| 140 |
|
145 |
|
| 141 |
<span class="form-extra-content"> |
146 |
<span class="form-extra-content"> |
|
|
147 |
[% INCLUDE authtype %] |
| 142 |
[% INCLUDE operator %] |
148 |
[% INCLUDE operator %] |
| 143 |
[% INCLUDE orderby %] |
149 |
[% INCLUDE orderby %] |
| 144 |
</span> |
150 |
</span> |
|
Lines 158-164
Link Here
|
| 158 |
</span> |
164 |
</span> |
| 159 |
|
165 |
|
| 160 |
<span class="form-content"> |
166 |
<span class="form-content"> |
| 161 |
[% INCLUDE authtype %] |
|
|
| 162 |
<input id="value_anywhere" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any authority field" /> |
167 |
<input id="value_anywhere" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any authority field" /> |
| 163 |
<button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button> |
168 |
<button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button> |
| 164 |
</span> |
169 |
</span> |
|
Lines 166-171
Link Here
|
| 166 |
<button type="submit"><i class="fa fa-arrow-right"></i></button> |
171 |
<button type="submit"><i class="fa fa-arrow-right"></i></button> |
| 167 |
|
172 |
|
| 168 |
<span class="form-extra-content"> |
173 |
<span class="form-extra-content"> |
|
|
174 |
[% INCLUDE authtype %] |
| 169 |
[% INCLUDE operator %] |
175 |
[% INCLUDE operator %] |
| 170 |
[% INCLUDE orderby %] |
176 |
[% INCLUDE orderby %] |
| 171 |
</span> |
177 |
</span> |
|
Lines 173-182
Link Here
|
| 173 |
</div> |
179 |
</div> |
| 174 |
|
180 |
|
| 175 |
<ul> |
181 |
<ul> |
| 176 |
<li><a title="Search main heading ($a only)" href="#mainmain_heading" class="keep_text"><i style="font-weight:bold">$a</i> Search main heading ($a only)</a></li> |
182 |
<li><a title="Search main heading ($a only)" href="#mainmain_heading" class="keep_text"><i style="font-weight:bold">$a</i> <span class="tab-title">Main heading ($a only)</span></a></li> |
| 177 |
<li><a title="Search main heading" href="#main_heading" class="keep_text"><i class="fa fa-header"></i> Search main heading</a></li> |
183 |
<li><a title="Search main heading" href="#main_heading" class="keep_text"><i class="fa fa-header"></i> <span class="tab-title">Main heading</span></a></li> |
| 178 |
<li><a title="Search all headings" href="#matchheading_search" class="keep_text"><i class="fa fa-align-center"></i> Search all headings</a></li> |
184 |
<li><a title="Search all headings" href="#matchheading_search" class="keep_text"><i class="fa fa-align-center"></i> <span class="tab-title">All headings</span></a></li> |
| 179 |
<li><a title="Search entire record" href="#entire_record" class="keep_text"><i class="fa fa-folder-open-o"></i> Search entire record</a></li> |
185 |
<li><a title="Search entire record" href="#entire_record" class="keep_text"><i class="fa fa-folder-open-o"></i> <span class="tab-title">Entire record</span></a></li> |
| 180 |
</ul> |
186 |
</ul> |
| 181 |
</div><!-- /header_search --> |
187 |
</div><!-- /header_search --> |
| 182 |
<!-- End Authorities Resident Search Box --> |
188 |
<!-- End Authorities Resident Search Box --> |