|
Lines 69-74
Link Here
|
| 69 |
<li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> |
69 |
<li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> |
| 70 |
</ol> |
70 |
</ol> |
| 71 |
</fieldset> |
71 |
</fieldset> |
|
|
72 |
<fieldset class="rows" id="shelves"> |
| 73 |
<legend>Or select a list of records</legend> |
| 74 |
<ol> |
| 75 |
<li> |
| 76 |
<label for="shelf_number">Use records from the following list: </label> |
| 77 |
<select name="shelf_number" id="shelf_number"> |
| 78 |
<option value="">Select a list</option> |
| 79 |
[% FOREACH list IN lists %] |
| 80 |
<option value="[% list.shelfnumber %]">[% list.shelfname %]</option> |
| 81 |
[% END %] |
| 82 |
</option> |
| 83 |
</select> |
| 84 |
</li> |
| 85 |
</ol> |
| 86 |
</fieldset> |
| 72 |
<fieldset class="rows"> |
87 |
<fieldset class="rows"> |
| 73 |
<legend>Or enter a list of record numbers</legend> |
88 |
<legend>Or enter a list of record numbers</legend> |
| 74 |
<ol> |
89 |
<ol> |
|
Lines 184-189
Link Here
|
| 184 |
<script type="text/javascript"> |
199 |
<script type="text/javascript"> |
| 185 |
var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently checked out."); |
200 |
var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently checked out."); |
| 186 |
$(document).ready(function() { |
201 |
$(document).ready(function() { |
|
|
202 |
$("input[type='radio']").click(function(){ |
| 203 |
if ($(this).attr('id') == 'authority_type') { |
| 204 |
$("#shelves").hide(); |
| 205 |
} else if ($(this).attr('id') == 'biblio_type') { |
| 206 |
$("#shelves").show(); |
| 207 |
} |
| 208 |
}); |
| 187 |
$("#selectall").click(function(e){ |
209 |
$("#selectall").click(function(e){ |
| 188 |
e.preventDefault(); |
210 |
e.preventDefault(); |
| 189 |
$(".records").checkCheckboxes(":input[type='checkbox']:not(:disabled)"); |
211 |
$(".records").checkCheckboxes(":input[type='checkbox']:not(:disabled)"); |