Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing
Owen Leonard 247dca3064
Bug 23013: Upgrade DataTables in the staff client
This patch upgrades DataTables and makes some style changes to the
default DataTables toolbar style. DataTables assets are now combined and
minified using their download customizer, bundling together these
elements:

 - JSZip 2.5.0
 - pdfmake 0.1.36
 - DataTables 1.10.18
 - Buttons 1.5.6
 - Column visibility 1.5.6
 - HTML5 export 1.5.6
 - Print view 1.5.6
 - FixedHeader 3.1.4

DataTables assets have been moved from lib/jquery/plugins to
lib/datatables. The global header and footer include files are updated
correspondingly.

This patch removes the custom "four_button" pagination configuration and
updates pages which used it to use the built-in "full" type instead.
This is done for the sake of consistency and upgradability. This change
touches a lot of files.

Table-specific CSS has been moved from staff-global.scss to a new
include, _tables.scss. A second common include, _mixins.scss has some
variable definitions used in both files.

Many images have been made obsolete by this change and have been
removed.

To test, apply the patch and regenerate the staff client CSS. View
various pages in the staff client with tables:

 - Not formatted by DataTables:
   - Reports -> Most circulated items
   - Catalog -> Search results
 - Formatted by DataTables without column configuration
   - Acquisitions -> Vendor search
   - Lists
 - Formatted by DataTables with column configuration
   - Administration -> Libraries
   - Administration -> Item types
   - Reports -> Saved SQL reports
 - Non-standard DataTables configurations:
   - Circulation -> Checkouts
   - Administration -> System preferences
   - Reports -> Lost items

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-08-22 15:23:19 +01:00
..
value_builder Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
addbiblio.tt Bug 22768: Global search form keyboard navigation broken 2019-07-15 12:45:27 +01:00
addbooks.tt Bug 23339: (follow-up) Markup comments and corrections 2019-08-05 16:26:51 +01:00
additem.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
editor.tt Bug 17178: Add virtual keyboard to advanced cataloguing editor 2019-06-28 15:54:33 +01:00
linkitem.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
merge.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
moveitem.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
z3950_auth_search.tt Bug 23226: Remove type attribute from script tags: Cataloging 2019-07-26 16:23:03 +01:00
z3950_search.tt Bug 23441: Export should not include the 'actions' column in Z3950 results. 2019-08-13 11:24:50 +01:00