Lines 67-73
Link Here
|
67 |
|
67 |
|
68 |
[% IF op == 'list'%] |
68 |
[% IF op == 'list'%] |
69 |
<div id="toolbar" class="btn-toolbar"> |
69 |
<div id="toolbar" class="btn-toolbar"> |
70 |
<a class="btn btn-small" id="newframework" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form"><i class="fa fa-plus"></i> New framework</a> |
70 |
<a class="btn btn-default btn-sm" id="newframework" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form"><i class="fa fa-plus"></i> New framework</a> |
71 |
</div> |
71 |
</div> |
72 |
[% END %] |
72 |
[% END %] |
73 |
|
73 |
|
Lines 143-149
Link Here
|
143 |
<td>Default framework</td> |
143 |
<td>Default framework</td> |
144 |
<td> |
144 |
<td> |
145 |
<div class="dropdown"> |
145 |
<div class="dropdown"> |
146 |
<a class="btn btn-mini dropdown-toggle" id="frameworkactions[% loo.frameworkcode %]" role="button" data-toggle="dropdown" href="#"> |
146 |
<a class="btn btn-default btn-xs dropdown-toggle" id="frameworkactions[% loo.frameworkcode %]" role="button" data-toggle="dropdown" href="#"> |
147 |
Actions <b class="caret"></b> |
147 |
Actions <b class="caret"></b> |
148 |
</a> |
148 |
</a> |
149 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode %]"> |
149 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode %]"> |
Lines 154-160
Link Here
|
154 |
<li><a href="#" data-toggle="modal" data-target="#importModal_[% framework.frameworkcode %][% frameworks.count %]" title="Import framework structure (fields, subfields) from a spreadsheet file (.csv, .xml, .ods)"><i class="fa fa-download"></i> Import</a></li> |
154 |
<li><a href="#" data-toggle="modal" data-target="#importModal_[% framework.frameworkcode %][% frameworks.count %]" title="Import framework structure (fields, subfields) from a spreadsheet file (.csv, .xml, .ods)"><i class="fa fa-download"></i> Import</a></li> |
155 |
</ul> |
155 |
</ul> |
156 |
<!-- Modal to export default framework --> |
156 |
<!-- Modal to export default framework --> |
157 |
<div class="modal hide" id="exportModal_default" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_default" aria-hidden="true"> |
157 |
<div class="modal" id="exportModal_default" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_default" aria-hidden="true"> |
|
|
158 |
<div class="modal-dialog"> |
159 |
<div class="modal-content"> |
158 |
<div class="modal-header"> |
160 |
<div class="modal-header"> |
159 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
161 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
160 |
<h3 id="exportLabelexportModal_default">Export default framework</h3> |
162 |
<h3 id="exportLabelexportModal_default">Export default framework</h3> |
Lines 169-182
Link Here
|
169 |
</fieldset> |
171 |
</fieldset> |
170 |
</div> |
172 |
</div> |
171 |
<div class="modal-footer"> |
173 |
<div class="modal-footer"> |
172 |
<button type="submit" class="btn">Export</button> |
174 |
<button type="submit" class="btn btn-default">Export</button> |
173 |
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button> |
175 |
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button> |
174 |
</div> |
176 |
</div> |
175 |
</form> |
177 |
</form> |
|
|
178 |
</div> |
179 |
</div> |
176 |
</div> |
180 |
</div> |
177 |
|
181 |
|
178 |
<!-- Modal to import default framework --> |
182 |
<!-- Modal to import default framework --> |
179 |
<div class="modal hide" id="importModal_[% framework.frameworkcode %][% frameworks.count %]" tabindex="-1" role="dialog" aria-labelledby="importLabelexportModal_default[% frameworks.count %]" aria-hidden="true"> |
183 |
<div class="modal" id="importModal_[% framework.frameworkcode %][% frameworks.count %]" tabindex="-1" role="dialog" aria-labelledby="importLabelexportModal_default[% frameworks.count %]" aria-hidden="true"> |
|
|
184 |
<div class="modal-dialog"> |
185 |
<div class="modal-content"> |
180 |
<div class="modal-header"> |
186 |
<div class="modal-header"> |
181 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
187 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
182 |
<h3 id="importLabelexportModal_[% framework.frameworkcode %][% frameworks.count %]">Import default framework structure (fields and subfields) from a spreadsheet file (.csv, .xml, .ods)</h> |
188 |
<h3 id="importLabelexportModal_[% framework.frameworkcode %][% frameworks.count %]">Import default framework structure (fields and subfields) from a spreadsheet file (.csv, .xml, .ods)</h> |
Lines 189-198
Link Here
|
189 |
<div id="importing_default" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div> |
195 |
<div id="importing_default" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div> |
190 |
</div> |
196 |
</div> |
191 |
<div class="modal-footer"> |
197 |
<div class="modal-footer"> |
192 |
<button type="submit" class="btn">Import</button> |
198 |
<button type="submit" class="btn btn-default">Import</button> |
193 |
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button> |
199 |
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button> |
194 |
</div> |
200 |
</div> |
195 |
</form> |
201 |
</form> |
|
|
202 |
</div> |
203 |
</div> |
196 |
</div> |
204 |
</div> |
197 |
</div> |
205 |
</div> |
198 |
</td> |
206 |
</td> |
Lines 204-210
Link Here
|
204 |
<td>[% loo.frameworktext %]</td> |
212 |
<td>[% loo.frameworktext %]</td> |
205 |
<td> |
213 |
<td> |
206 |
<div class="dropdown"> |
214 |
<div class="dropdown"> |
207 |
<a class="btn btn-mini dropdown-toggle" id="frameworkactions[% loo.frameworkcode %]" role="button" data-toggle="dropdown" href="#"> |
215 |
<a class="btn btn-default btn-xs dropdown-toggle" id="frameworkactions[% loo.frameworkcode %]" role="button" data-toggle="dropdown" href="#"> |
208 |
Actions <b class="caret"></b> |
216 |
Actions <b class="caret"></b> |
209 |
</a> |
217 |
</a> |
210 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode %]"> |
218 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode %]"> |
Lines 217-223
Link Here
|
217 |
<li><a href="#" data-toggle="modal" data-target="#importModal_[% loo.frameworkcode %][% loop.count %]" title="Import framework structure (fields, subfields) from a spreadsheet file (.csv, .xml, .ods)"><i class="fa fa-download"></i> Import</a></li> |
225 |
<li><a href="#" data-toggle="modal" data-target="#importModal_[% loo.frameworkcode %][% loop.count %]" title="Import framework structure (fields, subfields) from a spreadsheet file (.csv, .xml, .ods)"><i class="fa fa-download"></i> Import</a></li> |
218 |
</ul> |
226 |
</ul> |
219 |
<!-- Modal to export other framework --> |
227 |
<!-- Modal to export other framework --> |
220 |
<div class="modal hide" id="exportModal_[% loo.frameworkcode %][% loop.count %]" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_[% loo.frameworkcode %][% loop.count %]" aria-hidden="true"> |
228 |
<div class="modal" id="exportModal_[% loo.frameworkcode %][% loop.count %]" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_[% loo.frameworkcode %][% loop.count %]" aria-hidden="true"> |
|
|
229 |
<div class="modal-dialog"> |
230 |
<div class="modal-content"> |
221 |
<div class="modal-header"> |
231 |
<div class="modal-header"> |
222 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
232 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
223 |
<h3 id="exportLabelexportModal_[% loo.frameworkcode %][% loop.count %]">Export [% loo.frameworktext %] framework</h3> |
233 |
<h3 id="exportLabelexportModal_[% loo.frameworkcode %][% loop.count %]">Export [% loo.frameworktext %] framework</h3> |
Lines 232-245
Link Here
|
232 |
</fieldset> |
242 |
</fieldset> |
233 |
</div> |
243 |
</div> |
234 |
<div class="modal-footer"> |
244 |
<div class="modal-footer"> |
235 |
<button type="submit" class="btn">Export</button> |
245 |
<button type="submit" class="btn btn-default">Export</button> |
236 |
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button> |
246 |
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button> |
237 |
</div> |
247 |
</div> |
238 |
</form> |
248 |
</form> |
|
|
249 |
</div> |
250 |
</div> |
239 |
</div> |
251 |
</div> |
240 |
|
252 |
|
241 |
<!-- Modal to import other framework --> |
253 |
<!-- Modal to import other framework --> |
242 |
<div class="modal hide" id="importModal_[% loo.frameworkcode %][% loop.count %]" tabindex="-1" role="dialog" aria-labelledby="importLabelexportModal_[% loo.frameworkcode %][% loop.count %]" aria-hidden="true"> |
254 |
<div class="modal" id="importModal_[% loo.frameworkcode %][% loop.count %]" tabindex="-1" role="dialog" aria-labelledby="importLabelexportModal_[% loo.frameworkcode %][% loop.count %]" aria-hidden="true"> |
|
|
255 |
<div class="modal-dialog"> |
256 |
<div class="modal-content"> |
243 |
<div class="modal-header"> |
257 |
<div class="modal-header"> |
244 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
258 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
245 |
<h3 id="importLabelexportModal_[% loo.frameworkcode %][% loop.count %]">Import [% loo.frameworkcode %] framework structure (fields and subfields) from a spreadsheet file (.csv, .xml, .ods)</h3> |
259 |
<h3 id="importLabelexportModal_[% loo.frameworkcode %][% loop.count %]">Import [% loo.frameworkcode %] framework structure (fields and subfields) from a spreadsheet file (.csv, .xml, .ods)</h3> |
Lines 252-261
Link Here
|
252 |
<div id="importing_[% loo.frameworkcode %]" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div> |
266 |
<div id="importing_[% loo.frameworkcode %]" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div> |
253 |
</div> |
267 |
</div> |
254 |
<div class="modal-footer"> |
268 |
<div class="modal-footer"> |
255 |
<button type="submit" class="btn">Import</button> |
269 |
<button type="submit" class="btn btn-default">Import</button> |
256 |
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button> |
270 |
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button> |
257 |
</div> |
271 |
</div> |
258 |
</form> |
272 |
</form> |
|
|
273 |
</div> |
274 |
</div> |
259 |
</div> |
275 |
</div> |
260 |
</div> |
276 |
</div> |
261 |
</td> |
277 |
</td> |