Bug 11810: Input fields in OPAC suggestion form are a bit short (Bootstrap)
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-main.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
6 </head>
7 <body id="opac-main">
8 [% INCLUDE 'masthead.inc' %]
9
10 <div class="main">
11     <ul class="breadcrumb">
12         <li><a href="#">Home</a></li>
13     </ul>
14
15     [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
16         [% IF ( loggedinusername ) %]
17             <div id="loggedin" class="container-fluid">
18         [% ELSE %]
19             <div id="notloggedin" class="container-fluid">
20         [% END %]
21     [% ELSE %]
22         <div id="notloggedin" class="container-fluid">
23     [% END %]
24
25     <div class="row-fluid">
26     [% IF ( OpacNav ||  OpacNavBottom ) %]
27         <div class="span2">
28             <div id="navigation">
29                 [% INCLUDE 'navigation.inc' %]
30             </div>
31         </div>
32     [% END %]
33
34     [% IF ( OpacNav ||  OpacNavBottom  ) %]
35         <div class="span7">
36     [% ELSE %]
37         <div class="span9">
38     [% END %]
39
40         [% IF ( koha_news_count ) %]
41             <div id="news">
42                 <table class="table table-bordered">
43                     [% FOREACH koha_new IN koha_news %]
44                         <thead><tr><th>[% koha_new.title %]</th></tr></thead>
45                         <tbody><tr><td><p>[% koha_new.new %]</p>
46                         <p class="newsfooter"><i>(published on [% koha_new.newdate %])</i></p></td></tr></tbody>
47                     [% END %]
48                 </table>
49             </div>
50         [% END %]
51
52         [% IF ( display_daily_quote && daily_quote ) %]
53             <div id="daily-quote">
54                 <h3>Quote of the Day</h3>
55                 <div>
56                     <span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span>
57                 </div>
58             </div>
59         [% END %]
60
61         [% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %]
62         </div> <!-- / .span 7/9 -->
63
64         [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
65             <div class="span3">
66                 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
67                     [% UNLESS ( loggedinusername ) %]
68                         [% UNLESS ( casAuthentication ) %]
69                             <div id="login">
70                                 <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
71                                     <input type="hidden" name="koha_login_context" value="opac" />
72                                     <fieldset class="brief">
73                                         <legend>Log in to your account:</legend>
74                                         <label for="userid">Login:</label><input type="text" id="userid" name="userid" />
75                                         <label for="password">Password:</label><input type="password" id="password" name="password" />
76                                     <fieldset class="action">
77                                         <input type="submit" value="Log in" class="btn" />
78                                     </fieldset>
79                                     [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="patronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %]
80                                     </fieldset>
81                                 </form>
82                             </div> <!-- /#login -->
83                         [% END # /casAuthentication %]
84                         [% IF persona %]
85                             <a href="#" class="persona-button" id="browserid" ><span>Sign in with your email</span></a>
86                         [% END # /persona %]
87                     [% END # / loggedinusername %]
88                 [% END # /opacuserlogin %]
89                 [% IF ( OpacNavRight ) %]
90                     <div id="opacnavright">
91                         [% OpacNavRight %]
92                     </div>
93                 [% END # /OpacNavRight %]
94             </div> <!-- / .span3 -->
95         [% END # /opacuserlogin || OpacNavRight %]
96
97         </div> <!-- /.container-fluid -->
98     </div> <!-- /.row-fluid -->
99 </div> <!-- /.main -->
100
101 [% INCLUDE 'opac-bottom.inc' %]
102 [% BLOCK jsinclude %][% END %]