Bug 11810: Input fields in OPAC suggestion form are a bit short (Bootstrap)
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-auth-MARCdetail.tt
1 [% USE Koha %]
2 [% PROCESS 'opac-authorities.inc' %]
3 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›  Entry [% authtypetext %]
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
6 </head>
7 <body id="opac-authoritiesdetail" class="scrollto">
8 [% INCLUDE 'masthead.inc' %]
9
10     <div class="main">
11         <ul class="breadcrumb">
12             <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13             <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">&rsaquo;</span></li>
14             <li><a href="#">Entry [% authtypetext %]</a></li>
15         </ul>
16
17         <div class="container-fluid">
18             <div class="row-fluid">
19                 [% IF ( OpacNav || OpacNavBottom ) %]
20                     <div class="span2">
21                         <div id="navigation">
22                             [% INCLUDE 'navigation.inc' %]
23                         </div>
24                     </div>
25                     <div class="span10">
26                 [% ELSE %]
27                     <div class="span12">
28                 [% END %]
29                     <div id="userauthMARCdetails" class="maincontent">
30                         <div id="views">
31                             <span class="view">
32                                 <a id="Normalview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]">Normal view</a>
33                             </span>
34                             <span class="view">
35                                 <span id="MARCview">MARC view</span>
36                             </span>
37                         </div>
38
39                         [% IF ( displayhierarchy ) %]
40                             <div id="hierarchies">
41                                 [% PROCESS showhierarchy trees = loophierarchies %]
42                             </div>
43                         [% END %]
44
45                         <h1>Entry [% authtypetext %]</h1>
46                         <p>Used in <a href="opac-search.pl?type=opac&amp;q=[% authid %]&amp;idx=an,phr">[% count %] records</a></p>
47                             [% FOREACH Tag0X IN Tab0XX %]
48                                 <p><b>[% Tag0X.tag %]</b></p>
49                                 <ul>
50                                 [% FOREACH subfiel IN Tag0X.subfield %]
51                                     <li><b>[% subfiel.marc_lib %]:</b>
52                                     [% IF subfiel.isurl %]<a href="[% subfiel.marc_value %]">[% subfiel.marc_value %]</a>
53                                     [% ELSE %][% subfiel.marc_value %][% END %]</li>
54                                 [% END %]
55                                 </ul>
56                             [% END %]
57                     </div> <!-- / #userauthMARCdetails -->
58                 </div> <!-- / .span10/12 -->
59             </div> <!-- / .row-fluid -->
60         </div> <!-- / .container-fluid -->
61     </div> <!-- / .main -->
62
63 [% INCLUDE 'opac-bottom.inc' %]
64 [% BLOCK jsinclude %]
65 <script type="text/javascript" src="/opac-tmpl/lib/jquery/plugins/jquery.jstree.js"></script>
66 <script type="text/javascript">
67     //<![CDATA[
68         $(document).ready(function() {
69             [% IF ( displayhierarchy ) %]
70                 var current_nodes = [];
71                 $('.currentauth').each(function() {
72                     current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
73                     });
74                 $('#hierarchies').jstree({
75                         "plugins": [ "themes", "html_data"],
76                         "themes": { "theme": "classic",
77                                     "icons": false },
78                         "core": { "initially_open": current_nodes }
79                     });
80             [% END %]
81         });
82     //]]>
83 </script>
84 [% END %]