|
Lines 75-98
Link Here
|
| 75 |
<br><br> |
75 |
<br><br> |
| 76 |
|
76 |
|
| 77 |
<div id="batch_mod_form" class="toptabs" style="clear:both"> |
77 |
<div id="batch_mod_form" class="toptabs" style="clear:both"> |
| 78 |
<ul> |
78 |
<ul class="nav nav-tabs" role="tablist"> |
| 79 |
<li><a href="#uploadfile_tab">Upload a file</a></li> |
79 |
<li role="presentation" class="active"> |
| 80 |
[% IF lists.count %]<li id="show_list_option"><a href="#shelves_tab">Select a list of records</a></li>[% END %] |
80 |
<a href="#uploadfile_tab" aria-controls="uploadfile_tab" role="tab" data-toggle="tab">Upload a file</a> |
| 81 |
<li><a href="#enterlist_tab">Enter a list of record IDs</a></li> |
81 |
</li> |
|
|
82 |
[% IF lists.count %] |
| 83 |
<li id="show_list_option"> |
| 84 |
<a href="#shelves_tab" aria-controls="shelves_tab" role="tab" data-toggle="tab">Select a list of records</a> |
| 85 |
</li> |
| 86 |
[% END %] |
| 87 |
<li role="presentation"> |
| 88 |
<a href="#enterlist_tab" aria-controls="enterlist_tab" role="tab" data-toggle="tab">Enter a list of record numbers</a> |
| 89 |
</li> |
| 82 |
</ul> |
90 |
</ul> |
| 83 |
|
91 |
|
| 84 |
<div id="uploadfile_tab"> |
92 |
<div class="tab-content"> |
| 85 |
<fieldset class="rows"> |
93 |
<div id="uploadfile_tab" role="tabpanel" class="tab-pane active"> |
| 86 |
<ol> |
94 |
<fieldset class="rows"> |
| 87 |
<li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> |
95 |
<legend>Use a file</legend> |
| 88 |
</ol> |
96 |
<ol> |
| 89 |
</fieldset> |
97 |
<li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> |
| 90 |
|
98 |
</ol> |
| 91 |
</div> |
99 |
</fieldset> |
|
|
100 |
|
| 101 |
</div> |
| 102 |
|
| 103 |
[% IF lists.count %] |
| 104 |
<div id="shelves_tab" role="tabpanel" class="tab-pane"> |
| 105 |
<fieldset class="rows"> |
| 106 |
<legend>Or select a list of records</legend> |
| 107 |
<ol> |
| 108 |
<li> |
| 109 |
<label for="shelf_number">Use records from the following list: </label> |
| 110 |
<select name="shelf_number" id="shelf_number"> |
| 111 |
<option value="">Select a list</option> |
| 112 |
[% FOREACH list IN lists %] |
| 113 |
<option value="[% list.shelfnumber | html %]">[% list.shelfname | html %]</option> |
| 114 |
[% END %] |
| 115 |
</option> |
| 116 |
</select> |
| 117 |
</li> |
| 118 |
</ol> |
| 119 |
</fieldset> |
| 120 |
|
| 121 |
</div> |
| 122 |
[% END %] |
| 92 |
|
123 |
|
| 93 |
[% IF lists.count %] |
124 |
<div id="enterlist_tab" role="tabpanel" class="tab-pane"> |
| 94 |
<div id="shelves_tab"> |
|
|
| 95 |
<fieldset class="rows"> |
125 |
<fieldset class="rows"> |
|
|
126 |
<<<<<<< HEAD |
| 96 |
<ol> |
127 |
<ol> |
| 97 |
<li> |
128 |
<li> |
| 98 |
<label for="shelf_number">List: </label> |
129 |
<label for="shelf_number">List: </label> |
|
Lines 103-113
Link Here
|
| 103 |
[% END %] |
134 |
[% END %] |
| 104 |
</option> |
135 |
</option> |
| 105 |
</select> |
136 |
</select> |
|
|
137 |
======= |
| 138 |
<legend>Or enter a list of record numbers</legend> |
| 139 |
<ol> |
| 140 |
<li> |
| 141 |
<label for="recordnumber_list">List of biblionumbers or authority ids (one per line): </label> |
| 142 |
<textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea> |
| 143 |
>>>>>>> Bug 30474: Convert tools pages tabs to Bootstrap (part 1) |
| 106 |
</li> |
144 |
</li> |
| 107 |
</ol> |
145 |
</ol> |
| 108 |
</fieldset> |
146 |
</fieldset> |
| 109 |
|
147 |
|
| 110 |
</div> |
148 |
</div> |
|
|
149 |
<<<<<<< HEAD |
| 111 |
[% END %] |
150 |
[% END %] |
| 112 |
|
151 |
|
| 113 |
<div id="enterlist_tab"> |
152 |
<div id="enterlist_tab"> |
|
Lines 123-128
Link Here
|
| 123 |
|
162 |
|
| 124 |
</div> |
163 |
</div> |
| 125 |
|
164 |
|
|
|
165 |
======= |
| 166 |
</div> <!-- /.tab-content --> |
| 167 |
>>>>>>> Bug 30474: Convert tools pages tabs to Bootstrap (part 1) |
| 126 |
</div> <!-- /#batch_mod_form --> |
168 |
</div> <!-- /#batch_mod_form --> |
| 127 |
|
169 |
|
| 128 |
<fieldset class="rows"> |
170 |
<fieldset class="rows"> |
|
Lines 277-284
Link Here
|
| 277 |
<script> |
319 |
<script> |
| 278 |
$(document).ready(function() { |
320 |
$(document).ready(function() { |
| 279 |
|
321 |
|
| 280 |
$("#batch_mod_form").tabs(); |
|
|
| 281 |
|
| 282 |
$("input[type='radio']").click(function() { |
322 |
$("input[type='radio']").click(function() { |
| 283 |
if ($(this).attr('id') == 'authority_type') { |
323 |
if ($(this).attr('id') == 'authority_type') { |
| 284 |
$("#show_list_option").hide(); |
324 |
$("#show_list_option").hide(); |
| 285 |
- |
|
|