Bug 11810: Input fields in OPAC suggestion form are a bit short (Bootstrap)
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-authoritiessearchresultlist.tt
1 [% USE Koha %]
2 [% PROCESS 'opac-authorities.inc' %]
3 [% PROCESS 'authorities-search-results.inc' %]
4 [% pagination = BLOCK %]
5     <div class="pagination">
6         <ul>
7             [% IF ( displayprev ) %]
8                 <li>
9                     <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">
10                         &laquo;
11                     </a>
12                 </li>
13             [% END %]
14             [% FOREACH number IN numbers %]
15                 [% IF ( number.highlight ) %]
16                     <li class="active"><a href="#">[% number.number %]</a></li>
17                 [% ELSE %]
18                     <li><a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">[% number.number %]</a></li>
19                 [% END %]
20             [% END %]
21             [% IF ( displaynext ) %]
22                 <li>
23                     <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&raquo;</a>
24                 </li>
25             [% END %]
26         </ul>
27     </div> <!-- / #pages -->
28 [% END %]
29 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; [% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %]
30 [% INCLUDE 'doc-head-close.inc' %]
31 [% BLOCK cssinclude %][% END %]
32 </head>
33 <body id="opac-authoritiesresultlist" class="scrollto">
34 [% INCLUDE 'masthead.inc' %]
35
36     <div class="main">
37         <ul class="breadcrumb">
38             <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
39             <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">&rsaquo;</span></li>
40             <li><a href="#">Results</a></li>
41         </ul>
42
43         <div class="container-fluid">
44             <div class="row-fluid">
45                 [% IF ( OpacNav || OpacNavBottom ) %]
46                     <div class="span2">
47                         <div id="navigation">
48                             [% INCLUDE 'navigation.inc' %]
49                         </div>
50                     </div>
51                     <div class="span10">
52                 [% ELSE %]
53                     <div class="span12">
54                 [% END %]
55                     <div id="userauthsearchresults" class="maincontent">
56                         <h1>Authority search results</h1>
57
58                         [% pagination %]
59
60                         <div id="results">
61                             [% IF ( total ) %]
62                                 [% IF ( countfuzzy ) %]
63                                     <b>Showing [% resultcount %] of about [% total %] results</b>
64                                 [% ELSE %]
65                                     <b>Results [% from %] to [% to %] of [% total %]</b>
66                                 [% END %]
67                             [% ELSE %]
68                                 No results found.
69                             [% END %]
70                         </div>
71
72                         [% IF ( total ) %]
73                             <div class="searchresults">
74                                 <table class="table table-bordered table-striped">
75                                     <thead>
76                                         <tr>
77                                             <th>Authorized headings</th>
78                                             <th>Type of heading</th>
79                                             [% UNLESS ( isEDITORS ) %]
80                                                 <th>Biblio records</th>
81                                             [% END %]
82                                             <th>Full heading</th>
83                                         </tr>
84                                     </thead>
85                                     <tbody>
86                                         [% FOREACH resul IN result %]
87                                             <tr>
88                                                 <td>[% PROCESS authresult summary=resul.summary %]</td>
89                                                 <td>[% resul.authtype %]</td>
90                                                 [% UNLESS ( resul.isEDITORS ) %]
91                                                     <td>
92                                                          <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;q=an=[% resul.authid %]">[% resul.used %] biblios</a>
93                                                     </td>
94                                                 [% END %]
95                                                 <td>
96                                                     <a href="opac-authoritiesdetail.pl?authid=[% resul.authid %]">View full heading</a>
97                                                 </td>
98                                             </tr>
99                                         [% END %]
100                                     </tbody>
101                                 </table>
102                             </div> <!-- / .searchresults -->
103
104                             [% pagination %]
105
106                         [% END # / IF total %]
107                     </div> <!-- / #userauthsearchresults -->
108                 </div> <!-- / .span10/12 -->
109             </div> <!-- / .row-fluid -->
110         </div> <!-- / .container-fluid -->
111     </div> <!-- / .main -->
112
113 [% INCLUDE 'opac-bottom.inc' %]
114 [% BLOCK jsinclude %][% END %]