Merge branch 'bootstrap-opac'
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-downloadshelf.tt
1 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Download list[% INCLUDE 'doc-head-close.inc' %]
2 [% BLOCK cssinclude %][% END %]
3 </head>
4 <body id="opac-downloadlist" class="popup">
5     <div class="main">
6         <div class="container-fluid">
7             <div class="row-fluid">
8                 <div class="span12">
9                     <div id="userdownloadshelf">
10                         [% UNLESS ( invalidlist ) %]
11
12                             [% IF ( format ) %]
13                                 <div class="alert alert-info">
14                                     <p>Your download should begin automatically.</p>
15                                 </div>
16                             [% ELSE %]
17                                 <h1>Download list</h1>
18                                 <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
19                                     <fieldset>
20                                         <select name="format" id="format">
21                                             <option value="">-- Choose format --</option>
22                                             <option value="ris">RIS (Zotero, EndNote, others)</option>
23                                             <option value="bibtex">BibTeX</option>
24                                             <option value="iso2709">MARC</option>
25                                             [% FOREACH csv_profile IN csv_profiles %]
26                                             <option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option>
27                                             [% END %]
28                                         </select>
29                                     </fieldset>
30
31                                     <fieldset class="action">
32                                         <input type="hidden" name="shelfid" value="[% shelfid | html %]" />
33                                         <input type="submit" name="save" class="btn" value="Go" />
34                                         <a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfid %]" class="cancel close">Cancel</a>
35                                     </fieldset>
36                                 </form>
37
38                             [% END # / IF format %]
39
40                         [% ELSE %]
41
42                             <div class="alert">
43                                 <p>You do not have permission to download this list.</p>
44                             </div>
45
46                         [% END # / invalidlist %]
47
48                     </div> <!-- / #userdownloadshelf -->
49                 </div> <!-- / .span10 -->
50             </div> <!-- / .row-fluid -->
51         </div> <!-- / .container-fluid -->
52     </div> <!-- / .main -->
53 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
54 [% BLOCK jsinclude %][% END %]