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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss (-29 lines)
Lines 200-239 Link Here
200
            margin: .5em 0 0 .5em;
200
            margin: .5em 0 0 .5em;
201
        }
201
        }
202
202
203
        .table-bordered {
204
            border: 0;
205
        }
206
207
        .table {
203
        .table {
208
            width: 100%;
209
210
            th,
211
            thead {
212
                display: none;
213
            }
214
215
            td {
216
                border: 0;
217
                display: block;
218
                padding: .4em .3em;
219
            }
220
221
            p {
204
            p {
222
                margin-bottom: 2px;
205
                margin-bottom: 2px;
223
            }
206
            }
224
        }
207
        }
225
226
        tr {
227
            display: block;
228
229
            td:first-child {
230
                border-top: 0;
231
            }
232
233
            td:last-child {
234
                border-bottom: 0;
235
            }
236
        }
237
    }
208
    }
238
209
239
    .cart-actions {
210
    .cart-actions {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-1 / +1 lines)
Lines 119-125 Link Here
119
            <tr>
119
            <tr>
120
                <th style="display:none;" class="noExport">Type</th>
120
                <th style="display:none;" class="noExport">Type</th>
121
                <th class="NoSort noExport"></th>
121
                <th class="NoSort noExport"></th>
122
                <th class="anti-the">Title</th>
122
                <th class="all anti-the">Title</th>
123
                <th>Author</th>
123
                <th>Author</th>
124
                <th>Item type</th>
124
                <th>Item type</th>
125
                <th>Call number</th>
125
                <th>Call number</th>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-3 / +14 lines)
Lines 401-412 Link Here
401
                                        <thead>
401
                                        <thead>
402
                                            <tr>
402
                                            <tr>
403
                                                [% IF ( loggedinusername ) %]<th>&nbsp;</th>[% END %]
403
                                                [% IF ( loggedinusername ) %]<th>&nbsp;</th>[% END %]
404
                                                <th>Summary</th>
404
                                                <th class="all">Summary</th>
405
                                                <th>Suggested on</th>
405
                                                <th>Suggested on</th>
406
                                                <th>Note</th>
406
                                                <th>Note</th>
407
                                                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]<th>Suggested for</th>[% END %]
407
                                                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]<th>Suggested for</th>[% END %]
408
                                                [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]<th>Managed by</th>[% END %]
408
                                                [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]<th>Managed by</th>[% END %]
409
                                                <th>Status</th>
409
                                                <th>Status</th>
410
                                                <th></th>
410
                                            </tr>
411
                                            </tr>
411
                                        </thead>
412
                                        </thead>
412
                                        <tbody>
413
                                        <tbody>
Lines 475-480 Link Here
475
                                                        [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS, 1 ) | html %] [% END %]
476
                                                        [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS, 1 ) | html %] [% END %]
476
                                                        [% IF ( suggestion.reason ) %]([% suggestion.reason | html %])[% END %]
477
                                                        [% IF ( suggestion.reason ) %]([% suggestion.reason | html %])[% END %]
477
                                                    </td>
478
                                                    </td>
479
                                                    <td></td>
478
                                                </tr>
480
                                                </tr>
479
                                            [% END # / FOREACH suggestions %]
481
                                            [% END # / FOREACH suggestions %]
480
                                        </tbody>
482
                                        </tbody>
Lines 565-571 Link Here
565
            "order": [[ 1, "asc" ]],
567
            "order": [[ 1, "asc" ]],
566
            "autoWidth": false,
568
            "autoWidth": false,
567
            "columnDefs": [
569
            "columnDefs": [
568
              [% IF ( loggedinusername ) %]{ "targets": [ 0 ], "sortable": false, "searchable": false }[% END %]
570
              [% IF ( loggedinusername ) %]{ "targets": [ 0 ], "sortable": false, "searchable": false }[% END %],
571
                { "className": 'dtr-control', "orderable": false, "targets": -1 },
572
                { responsivePriority: 1, targets: 1 }
569
            ],
573
            ],
570
            "columns": [
574
            "columns": [
571
                [% IF ( loggedinusername ) %]null,[% END %]
575
                [% IF ( loggedinusername ) %]null,[% END %]
Lines 574-581 Link Here
574
                null,
578
                null,
575
                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]null,[% END %]
579
                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]null,[% END %]
576
                [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]null,[% END %]
580
                [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]null,[% END %]
581
                null,
577
                null
582
                null
578
            ]
583
            ],
584
            "responsive": {
585
                details: {
586
                    type: 'column',
587
                    target: -1
588
                }
589
            },
579
        }));
590
        }));
580
        [% IF ( loggedinusername ) %]$("span.clearall").html("<a id=\"CheckNone\" class=\"btn btn-link btn-sm\" href=\"#\">"+_("Clear all")+"<\/a>");
591
        [% IF ( loggedinusername ) %]$("span.clearall").html("<a id=\"CheckNone\" class=\"btn btn-link btn-sm\" href=\"#\">"+_("Clear all")+"<\/a>");
581
        $("span.checkall").html("<a id=\"CheckAll\" class=\"btn btn-link btn-sm\" href=\"#\">"+_("Select all")+"<\/a>");
592
        $("span.checkall").html("<a id=\"CheckAll\" class=\"btn btn-link btn-sm\" href=\"#\">"+_("Select all")+"<\/a>");
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (-3 / +14 lines)
Lines 139-146 Link Here
139
                                    <tr>
139
                                    <tr>
140
                                        <th>&nbsp;</th>
140
                                        <th>&nbsp;</th>
141
                                        <th>Term</th>
141
                                        <th>Term</th>
142
                                        <th class="anti-the">Title</th>
142
                                        <th class="all anti-the">Title</th>
143
                                        <th>Date added</th>
143
                                        <th>Date added</th>
144
                                        <th></th>
144
                                    </tr>
145
                                    </tr>
145
                                </thead>
146
                                </thead>
146
                                <tbody>
147
                                <tbody>
Lines 175-180 Link Here
175
                                                <span class="tdlabel">Date added:</span>
176
                                                <span class="tdlabel">Date added:</span>
176
                                                [% MY_TAG.date_created | $KohaDates %]
177
                                                [% MY_TAG.date_created | $KohaDates %]
177
                                            </td>
178
                                            </td>
179
                                            <td></td>
178
                                        </tr>
180
                                        </tr>
179
                                        [% END %]
181
                                        [% END %]
180
                                    [% END %]
182
                                    [% END %]
Lines 215-224 Link Here
215
217
216
        $("#mytagst").dataTable($.extend(true, {}, dataTablesDefaults, {
218
        $("#mytagst").dataTable($.extend(true, {}, dataTablesDefaults, {
217
            "sorting": [[ 2, "asc" ]],
219
            "sorting": [[ 2, "asc" ]],
220
            "autoWidth": false,
218
            "columnDefs": [
221
            "columnDefs": [
219
                { "targets": [ 0 ], "sortable": false, "searchable": false },
222
                { "targets": [ 0 ], "sortable": false, "searchable": false },
220
                { "sType": "anti-the", "aTargets" : [ "anti-the" ] }
223
                { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
221
            ]
224
                { "className": 'dtr-control', "orderable": false, "targets": -1 },
225
                { responsivePriority: 1, targets: 2 }
226
            ],
227
            "responsive": {
228
                details: {
229
                    type: 'column',
230
                    target: -1
231
                }
232
            },
222
        }));
233
        }));
223
    });
234
    });
224
235
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-3 / +13 lines)
Lines 87-99 Link Here
87
                                </caption>
87
                                </caption>
88
                                <thead>
88
                                <thead>
89
                                    <tr>
89
                                    <tr>
90
                                        <th class="anti-the">Title</th>
90
                                        <th class="all anti-the">Title</th>
91
                                        <th>Item type</th>
91
                                        <th>Item type</th>
92
                                        <th>Collection</th>
92
                                        <th>Collection</th>
93
                                        <th>Checkouts</th>
93
                                        <th>Checkouts</th>
94
                                        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
94
                                        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
95
                                            <th class="NoSort">&nbsp;</th>
95
                                            <th class="NoSort">&nbsp;</th>
96
                                        [% END %]
96
                                        [% END %]
97
                                        <th></th>
97
                                    </tr>
98
                                    </tr>
98
                                </thead>
99
                                </thead>
99
                                <tbody>
100
                                <tbody>
Lines 132-137 Link Here
132
                                                    [% END %]
133
                                                    [% END %]
133
                                                </td>
134
                                                </td>
134
                                            [% END %]
135
                                            [% END %]
136
                                            <td></td>
135
                                        </tr>
137
                                        </tr>
136
                                    [% END %]
138
                                    [% END %]
137
                                </tbody>
139
                                </tbody>
Lines 151-161 Link Here
151
    <script>
153
    <script>
152
        $(function() {
154
        $(function() {
153
            $("#topissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
155
            $("#topissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
156
                "autoWidth": false,
154
                "sorting": [[3, "desc"]],
157
                "sorting": [[3, "desc"]],
155
                "columnDefs": [
158
                "columnDefs": [
156
                    { "sortable": false, "searchable": false, 'targets': [ 'NoSort' ] },
159
                    { "sortable": false, "searchable": false, 'targets': [ 'NoSort' ] },
157
                    { "type": "anti-the", "targets" : [ "anti-the" ] }
160
                    { "type": "anti-the", "targets" : [ "anti-the" ] },
158
                ]
161
                    { "className": 'dtr-control', "orderable": false, "targets": -1 },
162
                ],
163
                "responsive": {
164
                    details: {
165
                        type: 'column',
166
                        target: -1
167
                    }
168
                },
159
            }));
169
            }));
160
        });
170
        });
161
        function Dopop(link) {
171
        function Dopop(link) {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-6 / +5 lines)
Lines 328-334 Link Here
328
                                            <thead>
328
                                            <thead>
329
                                                <tr>
329
                                                <tr>
330
                                                    [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
330
                                                    [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
331
                                                    <th class="anti-the">Title</th>
331
                                                    <th class="all anti-the">Title</th>
332
                                                    <th>Author</th>
332
                                                    <th>Author</th>
333
                                                    <th class="psort">Due</th>
333
                                                    <th class="psort">Due</th>
334
                                                    [% UNLESS ( item_level_itypes ) %]
334
                                                    [% UNLESS ( item_level_itypes ) %]
Lines 669-675 Link Here
669
                                        <caption class="sr-only">Relatives' checkouts</caption>
669
                                        <caption class="sr-only">Relatives' checkouts</caption>
670
                                        <thead>
670
                                        <thead>
671
                                            <tr>
671
                                            <tr>
672
                                                <th class="anti-the">Title</th>
672
                                                <th class="all anti-the">Title</th>
673
                                                <th>Due</th>
673
                                                <th>Due</th>
674
                                                <th>Barcode</th>
674
                                                <th>Barcode</th>
675
                                                <th>Call number</th>
675
                                                <th>Call number</th>
Lines 720-726 Link Here
720
                                        <thead>
720
                                        <thead>
721
                                            <tr>
721
                                            <tr>
722
                                                [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
722
                                                [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
723
                                                <th class="anti-the">Title</th>
723
                                                <th class="all anti-the">Title</th>
724
                                                [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %]
724
                                                [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %]
725
                                                [% IF ( show_barcode ) %]<th>Barcode</th>[% END %]
725
                                                [% IF ( show_barcode ) %]<th>Barcode</th>[% END %]
726
                                                <th>Call number</th>
726
                                                <th>Call number</th>
Lines 849-855 Link Here
849
                                        <caption>Recalls <span class="count">([% RECALLS.count | html %])</span></caption>
849
                                        <caption>Recalls <span class="count">([% RECALLS.count | html %])</span></caption>
850
                                        <thead>
850
                                        <thead>
851
                                            <tr>
851
                                            <tr>
852
                                                <th class="anti-the">Title</th>
852
                                                <th class="all anti-the">Title</th>
853
                                                <th class="psort">Placed on</th>
853
                                                <th class="psort">Placed on</th>
854
                                                <th>Expires on</th>
854
                                                <th>Expires on</th>
855
                                                <th>Pickup location</th>
855
                                                <th>Pickup location</th>
Lines 925-931 Link Here
925
                                            <caption>Article requests <span class="count"></span></caption>
925
                                            <caption>Article requests <span class="count"></span></caption>
926
                                            <thead>
926
                                            <thead>
927
                                                <tr>
927
                                                <tr>
928
                                                    <th class="anti-the article-request-record-title">Record title</th>
928
                                                    <th class="all anti-the article-request-record-title">Record title</th>
929
                                                    <th class="psort article-request-created-on">Placed on</th>
929
                                                    <th class="psort article-request-created-on">Placed on</th>
930
                                                    <th class="anti-the article-request-title">Title</th>
930
                                                    <th class="anti-the article-request-title">Title</th>
931
                                                    <th class="article-request-author">Author</th>
931
                                                    <th class="article-request-author">Author</th>
932
- 

Return to bug 34730