Bug 10309 - New OPAC theme based on Bootstrap
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-sendshelfform.tt
1 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›  Sending your list
2 [% INCLUDE 'doc-head-close.inc' %]
3 [% BLOCK cssinclude %][% END %]
4 </head>
5 <body id="sendshelf" class="popup">
6     <div class="main">
7         <div class="container-fluid">
8             <div class="row-fluid">
9                 <div class="span12">
10                     <div id="usersendshelfform">
11                         [% IF ( email ) %]
12                             [% IF ( SENT ) %]
13                                 <h1>Message sent</h1>
14                                 <div class="alert alert-success">
15                                     <p>The list was sent to: [% email %]</p>
16                                 </div>
17                                 <p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfid %]">Back to lists</a></p>
18                             [% END %]
19                             [% IF ( error ) %]
20                                 <div class="alert">
21                                     <p>There was an error sending the list.</p>
22                                 </div>
23                             [% END %]
24                         [% ELSE %]
25                             [% IF ( invalidlist ) %]
26                                 <div class="alert">
27                                     <p>You do not have permission to send this list.</p>
28                                 </div>
29                                 <p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfid %]">Back to lists</a></p>
30                             [% ELSE %]
31                                 <h1>Sending your list</h1>
32                                 <form action="[% url %]" method="post" id="sendshelfform">
33                                     <fieldset>
34                                         <label for="email">Email address:</label>
35                                         <input type="text" id="email" name="email" size="43" class="focus" />
36
37                                         <label for="comment">Comment:</label>
38                                         <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
39
40                                         <input type="hidden" name="shelfid" value="[% shelfid %]" />
41                                     </fieldset>
42                                     <fieldset class="action">
43                                         <input type="submit" value="Send" class="btn" />
44                                         <a class="cancel close" href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfid %]">Cancel</a>
45                                     </fieldset>
46                                 </form>
47
48                             [% END # / IF invalidlist %]
49                         [% END # / IF email %]
50                     </div> <!-- / #usersendshelfform -->
51                 </div> <!-- / .span12 -->
52             </div> <!-- / .row-fluid -->
53         </div> <!-- / .container-fluid -->
54     </div> <!-- / .main -->
55
56 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
57 [% BLOCK jsinclude %][% END %]