Bug 11709: revisions to Bootstrap OPAC lists interface
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-course-reserves.tt
1 [% USE Koha %]
2 [% USE AuthorisedValues %]
3
4 [% INCLUDE 'doc-head-open.inc' %]
5 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Courses
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
8 </head>
9 <body id="opac-main">
10 [% INCLUDE 'masthead.inc' %]
11
12 <div class="main">
13     <ul class="breadcrumb">
14         <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15         <li><a href="#">Course reserves</a></li>
16     </ul>
17
18     <div class="container-fluid">
19         <div class="row-fluid">
20             <div class="span12">
21
22                     <h1>Courses</h1>
23                     <div id="search-toolbar">
24                         <form action="/cgi-bin/koha/opac-course-reserves.pl" method="get" id="search_courses_form" class="form-inline">
25
26                                <fieldset><div class="input-append">
27                                                                    <label for="search_on">Search courses:</label> <input type="text" name="search_on" id="search_on" />
28                                                                   <input type="submit" class="btn" value="Search" />
29                                                               </div></fieldset>
30
31                         </form>
32                     </div><!-- /search-toolbar -->
33
34                     <table id="course_reserves_table" class="table table-bordered table-striped table-condensed">
35                         <thead>
36                             <tr>
37                                 <th>Name</th>
38                                 <th>Dept.</th>
39                                 <th>Course #</th>
40                                 <th>Section</th>
41                                 <th>Term</th>
42                                 <th>Instructors</th>
43                                 <th>Notes</th>
44                             </tr>
45                         </thead>
46
47                         <tbody>
48                             [% FOREACH c IN courses %]
49                                 <tr>
50                                     <td><a href="opac-course-details.pl?course_id=[% c.course_id %]">[% c.course_name %]</a></td>
51                                     <td>[% AuthorisedValues.GetByCode( 'DEPARTMENT', c.department, 1 ) %]</td>
52                                     <td>[% c.course_number %]</td>
53                                     <td>[% c.section %]</td>
54                                     <td>[% AuthorisedValues.GetByCode( 'TERM' c.term ) %]</td>
55                                     <td>
56                                       [% FOREACH i IN c.instructors %]
57                                           <div class="instructor">[% i.firstname %] [% i.surname %]</div>
58                                       [% END %]
59                                     </td>
60                                     <td>[% c.public_note %]</td>
61                             [% END %]
62                         </tbody>
63                     </table>
64             </div> <!-- / .span12 -->
65         </div> <!-- / .row-fluid -->
66     </div> <!-- / .container-fluid -->
67 </div> <!-- / .main -->
68 [% INCLUDE 'opac-bottom.inc' %]
69 [% BLOCK jsinclude %]
70 [% END %]