Bug 11709: revisions to Bootstrap OPAC lists interface
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-tags_subject.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha online" %] catalog ›  Subject cloud
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% BLOCK cssinclude %][% END %]
5 </head>
6 <body id="opac-tags-subject">
7 [% INCLUDE 'masthead.inc' %]
8
9     <div class="main">
10         <ul class="breadcrumb">
11             <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
12             <li><a href="#">Subject cloud</a></li>
13         </ul>
14
15         <div class="container-fluid">
16             <div class="row-fluid">
17                 [% IF ( OpacNav || OpacNavBottom ) %]
18                     <div class="span2">
19                         <div id="navigation">
20                             [% INCLUDE 'navigation.inc' %]
21                         </div>
22                     </div>
23                 [% END %]
24
25                 [% IF ( OpacNav ||  OpacNavBottom ) %]
26                     <div class="span7">
27                 [% ELSE %]
28                     <div class="span9">
29                 [% END %]
30                     <div id="subjectcloud">
31                         <h1>Subject cloud</h1>
32                             [% IF Koha.Preference( 'OpacCloud' ) == 1 %]
33                                 [% IF ( LOOP ) %]
34                                     <p>This &quot;cloud&quot; shows the most used topics in our catalog. Click on any subject below to see the items in our collection.</p>
35                                     <fieldset>
36                                         <legend>Show</legend>
37                                         <form class="form-inline" action="/cgi-bin/koha/opac-tags_subject.pl" method="post">
38                                             <p>up to <input type="text" name="number" value="[% number %]" size="4" maxlength="4" /> subjects <input type="submit" class="btn" value="OK" /></p>
39                                         </form>
40                                     </fieldset>
41
42                                     [% FOREACH LOO IN LOOP %]
43                                         <a href="/cgi-bin/koha/opac-search.pl?idx=su&amp;q=&quot;[% LOO.entry |html %]&quot;" style="font-size:[% LOO.weight %]px;">[% LOO.entry %]</a>
44                                     [% END %]
45                                 [% ELSE %]
46                                     <p>Note: This feature only available to French catalogs where ISBD subjects have been populated, and an index built by separate script.</p>
47                                 [% END # / IF LOOP %]
48                             [% ELSE %]
49                                 <div class="alert alert-info">
50                                     <p>The ISBD cloud is not enabled.</p>
51                                 </div>
52                             [% END # / IF OpacCloud %]
53                     </div> <!-- / #subjectcloud -->
54                 </div> <!-- / .span7/9 -->
55             </div> <!-- / .row-fluid -->
56         </div> <!-- / .container-fluid -->
57     </div> <!-- / .main -->
58
59 [% INCLUDE 'opac-bottom.inc' %]
60 [% BLOCK jsinclude %][% END %]