View | Details | Raw Unified | Return to bug 10632
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/datatables.css (-252 / +15 lines)
Lines 1-265 Link Here
1
input.search_init {
1
.dataTables_filter label {
2
    color: #999999;
2
    font-size: 12px;
3
}
4
.sorting_asc {
5
    padding-right: 19px;
6
    background: url("../../img/asc.gif") no-repeat scroll right center #EEEEEE;
7
}
8
.sorting_desc {
9
    padding-right: 19px;
10
    background: url("../../img/desc.gif") no-repeat scroll right center #EEEEEE;
11
}
12
.sorting {
13
    padding-right: 19px;
14
    background: url("../../img/ascdesc.gif") no-repeat scroll right center #EEEEEE;
15
}
3
}
16
.sorting_asc_disabled {
17
    padding-right: 19px;
18
    background: url("../../img/datatables/sort_asc_disabled.png") no-repeat scroll right center #EEEEEE;
19
}
20
.sorting_desc_disabled {
21
    padding-right: 19px;
22
    background: url("../../img/datatables/sort_desc_disabled.png") no-repeat scroll right center #EEEEEE;
23
}
24
.sorting_disabled {
25
    padding-right: 19px;
26
    background-color: #EEEEEE;
27
}
28
29
div.top {clear : both; }
30
4
31
div.top.pager,
5
.dataTables_filter input {
32
div.bottom.pager {
6
    font-size : 12px;
33
    background-color : #E5E5E5;
7
    height : auto;
34
    padding : 0;
8
    margin : 0;
9
    padding: 0 4px;
35
}
10
}
36
11
37
div.bottom.pager div.dataTables_paginate.paging_full_numbers,
12
input.search_init {
38
div.bottom.pager div.dataTables_paginate.paging_four_button {
13
    color: #999999;
39
    border-right-width : 0;
40
}
14
}
41
15
42
div.dataTables_filter,
16
div.top {clear : both; }
43
div.dataTables_length,
44
div.dataTables_info,
45
div.dataTables_paginate {
46
    float: left;
47
    padding : .3em .5em .3em .5em;
48
17
49
}
50
div.dataTables_length {
51
    border-right : 1px solid #686868;
52
    line-height:1.9em;
53
}
54
div.dataTables_info {
55
    border-right : 1px solid #AAA;
56
    line-height:1.9em;
57
}
58
div.dataTables_length,
59
div.dataTables_filter {
18
div.dataTables_filter {
60
    border-left : 1px solid #FFF;
61
}
62
div.dataTables_filter {
63
    line-height : 1.9em;
64
}
65
div.dataTables_paginate {
66
    background-color : #F4F4F4;
67
    font-size: 110%;
68
    padding : 0;
69
}
70
71
.paging_full_numbers span.paginate_button,
72
.paging_full_numbers span.paginate_active {
73
    border-right : 1px solid #AAA;
74
    border-left : 1px solid #FFF;
75
    display : block;
76
    float : left;
77
    line-height:1.6em;
78
    padding: .3em .7em;
79
    cursor: pointer;
80
}
81
82
.paging_full_numbers span.paginate_button {
83
    color : #0000CC;
84
}
85
.paging_full_numbers span.paginate_button.first {
86
    background-image : url('../../img/first.png');
87
    background-repeat: no-repeat;
88
    background-position : 2px center;
89
    padding-left : 2em;
90
}
91
.paging_full_numbers span.paginate_button.previous {
92
    background-image : url('../../img/prev.png');
93
    background-repeat: no-repeat;
94
    background-position : 2px center;
95
    padding-left : 2em;
96
}
97
.paging_full_numbers span.paginate_button.next {
98
    background-image : url('../../img/next.png');
99
    background-repeat: no-repeat;
100
    background-position : right center;
101
    padding-right : 2em;
102
}
103
.paging_full_numbers span.paginate_button.last {
104
    background-image : url('../../img/last.png');
105
    background-repeat: no-repeat;
106
    background-position : right center;
107
    border-right : 1px solid #686868;
108
    padding-right : 2em;
109
}
110
div.bottom.pager .paging_full_numbers span.paginate_button.last {
111
    border-right-width : 0;
112
}
113
.paging_full_numbers span.paginate_active {
114
    background-color : #FFFFEA;
115
    color : #000;
116
    font-weight: bold;
117
}
118
119
.paging_full_numbers span.paginate_button:hover {
120
    background-color: #FFC;
121
}
122
123
.paging_full_numbers span.paginate_button.paginate_button_disabled {
124
    color : #666;
125
}
126
127
/* Two-button version */
128
129
div.dataTables_paginate.paging_two_button,
130
div.dataTables_paginate.paging_four_button {
131
    background-color : transparent;
132
    border-right : 1px solid #686868;
133
    border-left : 1px solid #FFF;
134
    line-height : 1.8em;
135
}
136
.paginate_disabled_first,
137
.paginate_enabled_first,
138
.paginate_disabled_previous,
139
.paginate_enabled_previous,
140
.paginate_disabled_next,
141
.paginate_enabled_next,
142
.paginate_disabled_last,
143
.paginate_enabled_last {
144
    float: left;
145
    height: 16px;
146
    margin: .5em;
147
    width: 16px;
148
}
149
.paginate_disabled_first {
150
    background-image: url("../../img/first-disabled.png");
151
}
152
.paginate_enabled_first {
153
    background-image: url("../../img/first.png");
154
    cursor: pointer;
155
}
156
.paginate_disabled_previous {
157
    background-image: url("../../img/prev-disabled.png");
158
}
159
.paginate_enabled_previous {
160
    background-image: url("../../img/prev.png");
161
    cursor: pointer;
162
}
163
.paginate_disabled_next {
164
    background-image: url("../../img/next-disabled.png");
165
}
166
.paginate_enabled_next {
167
    background-image: url("../../img/next.png");
168
    cursor: pointer;
169
}
170
.paginate_disabled_last {
171
    background-image: url("../../img/last-disabled.png");
172
}
173
.paginate_enabled_last {
174
    background-image: url("../../img/last.png");
175
    cursor: pointer;
176
}
177
178
179
/*
180
table.display {
181
    width: 100%;
182
}
183
table.display thead th {
184
    border-bottom: 1px solid black;
185
    cursor: pointer;
186
    font-weight: bold;
187
    padding: 3px 18px 3px 10px;
188
}
189
.dataTables_wrapper {
190
    clear: both;
191
    position: relative;
192
}
193
.dataTables_processing {
194
    background-color: white;
195
    border: 1px solid #DDDDDD;
196
    color: #999999;
197
    font-size: 14px;
198
    height: 30px;
199
    left: 50%;
200
    margin-left: -125px;
201
    margin-top: -15px;
202
    padding: 14px 0 2px;
203
    position: fixed;
204
    text-align: center;
205
    top: 50%;
206
    width: 250px;
207
}
208
.dataTables_info {
209
    float: left;
19
    float: left;
210
    width: 60%;
20
    padding : .3em 0 0 0;
211
}
21
    margin : 0;
212
.dataTables_paginate {
213
    float: right;
214
    text-align: right;
215
    width: 44px;
216
}
217
.paging_full_numbers {
218
    height: 22px;
219
    line-height: 22px;
220
    width: 400px;
221
}
222
.paging_full_numbers span.paginate_button,
223
     .paging_full_numbers span.paginate_active {
224
    border: 1px solid #aaa;
225
    -webkit-border-radius: 5px;
226
    -moz-border-radius: 5px;
227
    padding: 2px 5px;
228
    margin: 0 3px;
229
    cursor: pointer;
230
    *cursor: hand;
231
}
232
22
233
.paging_full_numbers span.paginate_button {
234
    background-color: #ddd;
235
}
23
}
236
24
237
.paging_full_numbers span.paginate_button:hover {
25
div.dataTables_length,
238
    background-color: #ccc;
26
div.dataTables_filter {
239
}
27
    border-left : 1px solid #FFF;
240
241
.paging_full_numbers span.paginate_active {
242
    background-color: #99B3FF;
243
}
244
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
245
    float: left;
246
    height: 19px;
247
    margin-left: 3px;
248
    width: 19px;
249
}
250
.paginate_disabled_previous {
251
    background-image: url("../../img/datatables/back_disabled.jpg");
252
}
253
.paginate_enabled_previous {
254
    background-image: url("../../img/datatables/back_enabled.jpg");
255
}
256
.paginate_disabled_next {
257
    background-image: url("../../img/datatables/forward_disabled.jpg");
258
}
259
.paginate_enabled_next {
260
    background-image: url("../../img/datatables/forward_enabled.jpg");
261
}
262
.spacer {
263
    clear: both;
264
    height: 20px;
265
}
28
}
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-6 / +10 lines)
Lines 7-13 Link Here
7
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Course reserves for [% course.course_name %]
7
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Course reserves for [% course.course_name %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% BLOCK cssinclude %]
9
[% BLOCK cssinclude %]
10
    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
10
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
11
[% END %]
11
[% END %]
12
12
13
</head>
13
</head>
Lines 49-62 Link Here
49
                    <table id="course-items-table" class="table table-bordered table-striped table-condensed">
49
                    <table id="course-items-table" class="table table-bordered table-striped table-condensed">
50
                        <thead>
50
                        <thead>
51
                            <tr>
51
                            <tr>
52
                                <th>Title</th>
52
                                <th class="anti-the">Title</th>
53
                                <th>Item type</th>
53
                                <th>Item type</th>
54
                                <th>Location</th>
54
                                <th>Location</th>
55
                                <th>Collection</th>
55
                                <th>Collection</th>
56
                                <th>Call number</th>
56
                                <th>Call number</th>
57
                                <th>Copy number</th>
57
                                <th>Copy number</th>
58
                                <th>Status</th>
58
                                <th>Status</th>
59
                                <th>Date due</th>
59
                                <th class="title-string">Date due</th>
60
                                <th>Notes</th>
60
                                <th>Notes</th>
61
                            </tr>
61
                            </tr>
62
                        </thead>
62
                        </thead>
Lines 71-77 Link Here
71
                                    <td>[% cr.item.itemcallnumber %]</td>
71
                                    <td>[% cr.item.itemcallnumber %]</td>
72
                                    <td>[% cr.item.copynumber %]</td>
72
                                    <td>[% cr.item.copynumber %]</td>
73
                                    <td>[% INCLUDE 'item-status.inc' item=cr.item issue=cr.issue %]</td>
73
                                    <td>[% INCLUDE 'item-status.inc' item=cr.item issue=cr.issue %]</td>
74
                                    <td>[% cr.issue.date_due | $KohaDates as_due_date => 1 %]</td>
74
                                    <td><span title="[% cr.issue.date_due %]">[% cr.issue.date_due | $KohaDates as_due_date => 1 %]</span></td>
75
                                    <td>[% cr.public_note %]</td>
75
                                    <td>[% cr.public_note %]</td>
76
                                </tr>
76
                                </tr>
77
                            [% END %]
77
                            [% END %]
Lines 79-85 Link Here
79
                    </table>
79
                    </table>
80
                [% ELSE %]
80
                [% ELSE %]
81
                    <br style="clear:both;" />
81
                    <br style="clear:both;" />
82
                    <div class="dialog message">
82
                    <div class="alert alert-info">
83
                        <p>No reserves have been selected for this course.</p>
83
                        <p>No reserves have been selected for this course.</p>
84
                    </div>
84
                    </div>
85
                [% END %]
85
                [% END %]
Lines 93-99 Link Here
93
    <script type="text/javascript">
93
    <script type="text/javascript">
94
    $(document).ready(function() {
94
    $(document).ready(function() {
95
        $("#course-items-table").dataTable($.extend(true, {}, dataTablesDefaults, {
95
        $("#course-items-table").dataTable($.extend(true, {}, dataTablesDefaults, {
96
            "sDom": '<"bottom"flp>rt<"clear">',
96
            "sDom": '<"top"flp>rt<"clear">',
97
            "aoColumnDefs": [
98
                { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
99
                { "sType": "title-string", "aTargets" : [ "title-string" ] }
100
            ]
97
        }));
101
        }));
98
    });
102
    });
99
    </script>
103
    </script>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt (-3 / +2 lines)
Lines 5-11 Link Here
5
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Courses
5
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Courses
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %]
7
[% BLOCK cssinclude %]
8
    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
8
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9
[% END %]
9
[% END %]
10
10
11
</head>
11
</head>
Lines 64-70 Link Here
64
    <script type="text/javascript">
64
    <script type="text/javascript">
65
    $(document).ready(function() {
65
    $(document).ready(function() {
66
        $("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, {
66
        $("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, {
67
            "sDom": '<"bottom"flp>rt<"clear">',
67
            "sDom": '<"top"flp>rt<"clear">',
68
        }));
68
        }));
69
    });
69
    });
70
    </script>
70
    </script>
71
- 

Return to bug 10632