Lines 1-7
Link Here
|
1 |
[% USE Asset %] |
1 |
[% USE Asset %] |
2 |
[% SET footerjs = 1 %] |
2 |
[% SET footerjs = 1 %] |
3 |
[% BLOCK controls %] |
3 |
[% BLOCK controls %] |
4 |
<p style="padding: 7px 0; border-top : 1px solid #E8E8E8;"> |
4 |
<p class="cart-controls"> |
5 |
<a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a> |
5 |
<a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a> |
6 |
| <b>Selected items :</b> |
6 |
| <b>Selected items :</b> |
7 |
<a href="#" id="remove_from_cart">Remove</a> |
7 |
<a href="#" id="remove_from_cart">Remove</a> |
Lines 24-49
Link Here
|
24 |
</p> |
24 |
</p> |
25 |
[% END %] |
25 |
[% END %] |
26 |
[% INCLUDE 'doc-head-open.inc' %] |
26 |
[% INCLUDE 'doc-head-open.inc' %] |
27 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog › Your cart</title> |
27 |
<title>Koha › Catalog › Your cart</title> |
28 |
[% IF ( print_basket ) %] |
28 |
[% INCLUDE 'doc-head-close.inc' %] |
29 |
|
|
|
30 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
31 |
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" /> |
32 |
<style type="text/css"> |
33 |
@import url([% interface %]/[% theme %]/css/print.css); |
34 |
</style> |
35 |
[% ELSE %][% INCLUDE 'doc-head-close.inc' %] |
36 |
[% Asset.css("css/datatables.css") %] |
37 |
[% END %] |
38 |
</head> |
29 |
</head> |
39 |
[% IF ( print_basket ) %]<body id="cart_basket" class="cart" onload="print();history.back();">[% ELSE %]<body id="cart_basket" class="cart">[% END %] |
30 |
|
|
|
31 |
<body id="cart_basket" class="cart"> |
40 |
|
32 |
|
41 |
<div class="main container-fluid"> |
33 |
<div class="main container-fluid"> |
42 |
<div class="row"> |
34 |
<div class="row"> |
43 |
<div class="col-md-12"> |
35 |
<div class="col-md-12"> |
44 |
|
36 |
|
45 |
<div class="container"> |
37 |
<div class="container"> |
46 |
[% UNLESS ( print_basket ) %] |
38 |
|
47 |
<h1>Your cart</h1> |
39 |
<h1>Your cart</h1> |
48 |
|
40 |
|
49 |
<div id="toolbar" class="btn-toolbar"> |
41 |
<div id="toolbar" class="btn-toolbar"> |
Lines 69-93
Link Here
|
69 |
<a class="btn btn-default btn-sm" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> Empty and close</a> |
61 |
<a class="btn btn-default btn-sm" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> Empty and close</a> |
70 |
<a class="btn btn-default btn-sm close" href="basket.pl"><i class="fa fa-times-circle"></i> Hide window</a> |
62 |
<a class="btn btn-default btn-sm close" href="basket.pl"><i class="fa fa-times-circle"></i> Hide window</a> |
71 |
</div> |
63 |
</div> |
72 |
[% END %] |
64 |
|
73 |
|
65 |
|
74 |
[% IF ( verbose ) %] |
66 |
[% IF ( verbose ) %] |
75 |
[% UNLESS ( print_basket ) %] |
|
|
76 |
[% PROCESS controls %] |
67 |
[% PROCESS controls %] |
77 |
[% END %] |
|
|
78 |
<form action="basket.pl" method="get" name="bookbag_form" id="bookbag_form"> |
68 |
<form action="basket.pl" method="get" name="bookbag_form" id="bookbag_form"> |
79 |
[% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] |
69 |
[% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] |
80 |
<h3> |
70 |
<h3> |
81 |
[% IF ( print_basket ) %] |
71 |
<input type="checkbox" class="select_record noprint" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" /> |
82 |
[% BIBLIO_RESULT.title |html %] |
72 |
[% BIBLIO_RESULT.title |html %] |
83 |
[% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] |
73 |
[% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] |
84 |
[% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %] |
74 |
[% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %] |
85 |
[% ELSE %] |
|
|
86 |
<input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" /> |
87 |
[% BIBLIO_RESULT.title |html %] |
88 |
[% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] |
89 |
[% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %] |
90 |
[% END %] |
91 |
</h3> |
75 |
</h3> |
92 |
<!-- COinS / Openurl --> |
76 |
<!-- COinS / Openurl --> |
93 |
<span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.item('size') %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> |
77 |
<span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.item('size') %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> |
Lines 235-248
Link Here
|
235 |
</form> |
219 |
</form> |
236 |
|
220 |
|
237 |
[% ELSE %] |
221 |
[% ELSE %] |
238 |
[% UNLESS ( print_basket ) %] |
222 |
|
239 |
<form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form"> |
223 |
<form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form"> |
240 |
[% PROCESS controls %] |
224 |
[% PROCESS controls %] |
241 |
[% END %] |
|
|
242 |
|
225 |
|
243 |
<table id="itemst"> |
226 |
<table id="itemst"> |
244 |
<thead><tr> |
227 |
<thead><tr> |
245 |
[% UNLESS ( print_basket ) %]<th class="NoSort"> </th>[% END %] |
228 |
<th class="NoSort noprint"> </th> |
246 |
<th class="anti-the">Title</th> |
229 |
<th class="anti-the">Title</th> |
247 |
<th>Item type</th> |
230 |
<th>Item type</th> |
248 |
<th><a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="Item sorting" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">Items</a></th> |
231 |
<th><a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="Item sorting" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">Items</a></th> |
Lines 250-259
Link Here
|
250 |
|
233 |
|
251 |
[% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] |
234 |
[% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] |
252 |
<tr> |
235 |
<tr> |
253 |
[% UNLESS ( print_basket ) %]<td> |
236 |
<td class="noprint"> |
254 |
<input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" /> |
237 |
<input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" /> |
255 |
|
238 |
|
256 |
</td> [% END %] |
239 |
</td> |
257 |
<td><a href="[% BIBLIO_RESULT.dest %]?biblionumber=[% BIBLIO_RESULT.biblionumber %]" class="open_title"> |
240 |
<td><a href="[% BIBLIO_RESULT.dest %]?biblionumber=[% BIBLIO_RESULT.biblionumber %]" class="open_title"> |
258 |
[% BIBLIO_RESULT.title |html %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] |
241 |
[% BIBLIO_RESULT.title |html %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] |
259 |
</a> |
242 |
</a> |
Lines 294-303
Link Here
|
294 |
</div> |
277 |
</div> |
295 |
</div> |
278 |
</div> |
296 |
[% INCLUDE js_includes.inc %] |
279 |
[% INCLUDE js_includes.inc %] |
297 |
[% UNLESS ( print_basket ) %] |
280 |
[% INCLUDE 'datatables.inc' %] |
298 |
[% INCLUDE 'datatables.inc' %] |
281 |
[% Asset.js("js/cart.js") %] |
299 |
[% Asset.js("js/cart.js") %] |
282 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %] |
300 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %] |
|
|
301 |
[% END %] |
302 |
</body> |
283 |
</body> |
303 |
</html> |
284 |
</html> |