Bug 11810: Input fields in OPAC suggestion form are a bit short (Bootstrap)
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-readingrecord.tt
1 [% USE Koha %]
2 [% USE KohaDates %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your checkout history
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% BLOCK cssinclude %]
7     <style type="text/css">ul.ui-tabs-nav li a, ul.ui-tabs-nav li span.a  { padding:0.6em 1em; }</style>
8 [% END %]
9 </head>
10 <body id="opac-readingrecord">
11 [% INCLUDE 'masthead.inc' %]
12
13 <div class="main">
14     <ul class="breadcrumb">
15         <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
16         <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a> <span class="divider">&rsaquo;</span></li>
17         <li><a href="#">Your checkout history</a></li>
18     </ul>
19
20     <div class="container-fluid">
21         <div class="row-fluid">
22             <div class="span2">
23                 <div id="navigation">
24                     [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
25                 </div>
26             </div>
27             <div class="span10">
28                 <div id="userreadingrecord">
29                     <h3>Checkout history</h3>
30
31                     [% IF READING_RECORD.size == 0 %]
32                         You have never borrowed anything from this library.
33                     [% ELSE %]
34                         <div id="opac-user-readingrec" class="statictabs">
35                             <div class="resultscontrol resort">
36                                 <form id="sortform" action="/cgi-bin/koha/opac-readingrecord.pl" method="get">
37                                     [% UNLESS ( limit ) %]<input type="hidden" name="limit" value="full" />[% END %]
38                                     <select name="order" id="order">
39                                         [% IF ( orderbydate ) %]<option value="" selected="selected">Order by date</option>[% ELSE %]<option value="">Order by date</option>[% END %]
40                                         [% IF ( orderbytitle ) %]<option value="title" selected="selected">Order by title</option>[% ELSE %]<option value="title">Order by title</option>[% END %]
41                                     </select>
42                                     <input type="submit" value="Go" id="sortsubmit" class="submit clearfix" />
43                                 </form>
44                             </div>
45
46                             <ul>
47                                 [% IF ( showfulllink ) %]
48                                     [% IF ( limit ) %]
49                                         <li><a href="/cgi-bin/koha/opac-readingrecord.pl?limit=full[% IF ( orderbytitle ) %]&amp;order=title[% END %]">Show all items</a></li><li class="active"><a href="#readingrec">Showing last 50 items</a></li>
50                                     [% ELSE %]
51                                         <li class="active"><a href="/cgi-bin/koha/opac-readingrecord.pl#readingrec">Showing all items</a></li><li><a href="/cgi-bin/koha/opac-readingrecord.pl?limit=50[% IF ( orderbytitle ) %]&amp;order=title[% END %]">Show last 50 items only</a></li>
52                                     [% END %]
53                                 [% ELSE %]
54                                     <li class="active"><a href="/cgi-bin/koha/opac-readingrecord.pl#readingrec">Showing all items</a></li>
55                                 [% END %]
56                             </ul>
57
58                             <div class="tabs-container">
59                                 <table id="readingrec" class="table table-bordered table-striped">
60                                     <tr>
61                                     <th colspan="2">Title</th>
62                                     <th>Item type</th>
63                                     <th>Call no.</th>
64                                     <th>Date</th>
65                                     [% IF ( OPACMySummaryHTML ) %]
66                                     <th>Links</th>
67                                     [% END %]
68                                     </tr>
69
70                                     [% FOREACH issue IN READING_RECORD %]
71                                         [% IF loop.even  %]<tr class="highlight">[% ELSE %]<tr>[% END %]
72                                         <td>
73                                             [% IF  OPACAmazonCoverImages %]
74                                                 [% IF  issue.normalized_isbn %]
75                                                     <a href="http://www.amazon.com/gp/reader/[% issue.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% issue.normalized_isbn %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a>
76                                                 [% ELSE %]
77                                                      <span class="no-image">No cover image available</span>
78                                                 [% END %]
79                                             [% END %]
80
81                                         [% IF GoogleJackets %]
82                                             [% IF  issue.normalized_isbn %]
83                                                 <div title="[% issue.biblionumber |url %]" class="[% issue.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
84                                             [% ELSE %]
85                                                <span class="no-image">No cover image available</span>
86                                             [% END %]
87                                         [% END %]
88
89                                         [% IF BakerTaylorEnabled %]
90                                             [% IF issue.normalized_isbn %]
91                                               <a href="https://[% BakerTaylorBookstoreURL |html %][% issue.normalized_isbn %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% issue.normalized_isbn %]" /></a>
92                                             [% ELSE %]
93                                                <span class="no-image">No cover image available</span>
94                                             [% END %]
95                                         [% END %]
96
97                                         [% IF SyndeticsEnabled && SyndeticsCoverImages %]
98                                             [% IF  using_https  %]
99                                                 <img src="https://secure.syndetics.com/index.aspx?isbn=[% issue.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% issue.normalized_upc %]&amp;oclc=[% issue.normalized_oclc %]" alt="" class="item-thumbnail" />
100                                            [% ELSE %]
101                                                 <img src="http://www.syndetics.com/index.aspx?isbn=[% issue.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% issue.normalized_upc %]&amp;oclc=[% issue.normalized_oclc %]" alt="" class="item-thumbnail" />
102                                            [% END %]
103                                         [% END %]
104                                     </td>
105                                     <td>
106                                         [% IF  issue.BiblioDefaultViewmarc %]
107                                              <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title |html %] [% IF  issue.subtitle  %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
108                                         [% ELSIF issue.BiblioDefaultViewisbd %]
109                                              <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title |html %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
110                                         [% ELSE %]
111                                              <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title |html %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
112                                         [% END %]
113                                         <span class="item-details">[% issue.author %]</span>
114                                     </td>
115                                     <td>
116                                         [% UNLESS ( noItemTypeImages ) %]
117                                             [% IF ( issue.imageurl ) %]
118                                                 <img src="[% issue.imageurl %]" alt="" />
119                                             [% END %]
120                                         [% END %]
121                                         <span class="tdlabel">Item type:</span>
122                                         [% issue.description %]</td>
123                                     <td>
124                                         <span class="tdlabel">Call number:</span>
125                                         [% issue.itemcallnumber %]
126                                     </td>
127                                     <td>
128                                         [% IF issue.returndate %]
129                                             <span class="tdlabel">Check-in date:</span>
130                                             [% issue.returndate | $KohaDates %]
131                                         [% ELSE %]
132                                             <em>(Checked out)</em>
133                                         [% END %]
134                                     </td>
135                                     [% IF OPACMySummaryHTML %]
136                                         <td>[% issue.MySummaryHTML %]</td>
137                                     [% END %]
138                                     </tr>
139                                 [% END %]
140                             </table>
141                         </div> <!-- / .tabs-container -->
142                     </div> <!-- / .opac-user-readingrec -->
143                 [% END %]
144                 </div> <!-- / .userreadingrecord -->
145             </div> <!-- / .span10 -->
146         </div> <!-- / .row-fluid -->
147     </div> <!-- / .container-fluid -->
148 </div> <!-- / .main -->
149
150 [% INCLUDE 'opac-bottom.inc' %]
151 [% BLOCK jsinclude %]
152 <script type="text/javascript">
153 //<![CDATA[
154     $(document).ready(function(){
155         [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
156             $('#sortsubmit').hide();
157         $('#order').change(function() {
158             $('#sortform').submit();
159         });
160     });
161 //]]>
162 </script>
163 [% END %]