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

(-)a/koha-tmpl/intranet-tmpl/prog/css/datatables.css (-1 / +3 lines)
Lines 167-173 div.dataTables_paginate.paging_four_button { Link Here
167
.paginate_enabled_last {
167
.paginate_enabled_last {
168
    cursor: pointer;
168
    cursor: pointer;
169
    *cursor: hand;
169
    *cursor: hand;
170
    padding: .1em 0;
170
    padding: .2em 0;
171
}
171
}
172
172
173
.paginate_disabled_previous,
173
.paginate_disabled_previous,
Lines 177-182 div.dataTables_paginate.paging_four_button { Link Here
177
    color: #111 !important;
177
    color: #111 !important;
178
}
178
}
179
179
180
.paginate_disabled_first,
181
.paginate_enabled_first,
180
.paginate_disabled_previous,
182
.paginate_disabled_previous,
181
.paginate_enabled_previous {
183
.paginate_enabled_previous {
182
    padding-left: 23px;
184
    padding-left: 23px;
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-5 / +4 lines)
Lines 263-286 $.fn.dataTableExt.oPagination.four_button = { Link Here
263
            var buttons = an[i].getElementsByTagName('span');
263
            var buttons = an[i].getElementsByTagName('span');
264
            if ( oSettings._iDisplayStart === 0 )
264
            if ( oSettings._iDisplayStart === 0 )
265
            {
265
            {
266
                buttons[0].className = "paginate_disabled_previous";
266
                buttons[0].className = "paginate_disabled_first";
267
                buttons[1].className = "paginate_disabled_previous";
267
                buttons[1].className = "paginate_disabled_previous";
268
            }
268
            }
269
            else
269
            else
270
            {
270
            {
271
                buttons[0].className = "paginate_enabled_previous";
271
                buttons[0].className = "paginate_enabled_first";
272
                buttons[1].className = "paginate_enabled_previous";
272
                buttons[1].className = "paginate_enabled_previous";
273
            }
273
            }
274
274
275
            if ( oSettings.fnDisplayEnd() == oSettings.fnRecordsDisplay() )
275
            if ( oSettings.fnDisplayEnd() == oSettings.fnRecordsDisplay() )
276
            {
276
            {
277
                buttons[2].className = "paginate_disabled_next";
277
                buttons[2].className = "paginate_disabled_next";
278
                buttons[3].className = "paginate_disabled_next";
278
                buttons[3].className = "paginate_disabled_last";
279
            }
279
            }
280
            else
280
            else
281
            {
281
            {
282
                buttons[2].className = "paginate_enabled_next";
282
                buttons[2].className = "paginate_enabled_next";
283
                buttons[3].className = "paginate_enabled_next";
283
                buttons[3].className = "paginate_enabled_last";
284
            }
284
            }
285
        }
285
        }
286
    }
286
    }
287
- 

Return to bug 21506