Koha/koha-tmpl/intranet-tmpl/prog/js
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
..
pages Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
acq.js
acquisitions-menu.js
additem.js Bug 22867: UniqueItemFields preference value should be pipe-delimited 2019-06-06 16:08:47 +01:00
addorderiso2709.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
automatic_item_modification_by_age.js
background-job-progressbar.js Bug 18707: Background jobs post disabled inputs 2019-07-15 11:27:59 +01:00
basket.js Bug 22023: (QA follow-up) Remove console.log used for debugging 2019-03-13 05:31:30 +00:00
basketgroup.js
biblio_framework.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
cart.js
catalog.js
cataloging.js Bug 23183: Reindent cataloging.js 2019-06-28 14:37:05 +01:00
cataloging_additem.js Bug 22669: Fix item editing on receiving an order 2019-04-26 10:17:21 +00:00
categories.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
charts.js
checkouts.js Bug 11529: Clean up subtitle usage 2019-08-05 15:03:18 +01:00
circ-patron-search-results.js Bug 22330: (QA follow-up) Enable datatable in patron search 2019-03-21 16:22:56 +00:00
commons.js
datatables.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
file-upload.js
funds_sorts.js
holds.js Bug 11529: Clean up subtitle usage 2019-08-05 15:03:18 +01:00
ill-list-table.js Bug 18589: (follow-up) Fix merge problem 2019-03-22 20:21:50 +00:00
item_search_fields.js
letter.js Bug 23278: Reopen last panel upon "Save and continue" in notices 2019-07-19 14:07:36 +01:00
localcovers.js
mana.js Bug 22249: Mana - Move comment process in a dedicated sub 2019-07-26 16:08:08 +01:00
marc_modification_templates.js Bug 15814: Handle correctly MMTA edit button 2019-06-21 13:07:32 +01:00
marc_subfields_structure.js
members-menu.js Bug 14794: (follow-up) Add tooltip to filter box 2019-06-13 12:04:41 +01:00
members.js Bug 14570: (QA follow-up) Fix issues in Guarantee context 2019-08-20 16:05:41 +01:00
merge-record.js
messaging-preference-form.js
offlinecirc.js
onboarding.js
rotating-collections.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js Bug 22768: Global search form keyboard navigation broken 2019-07-15 12:45:27 +01:00
subscription-add.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
table_filters.js
tools-menu.js
xmlControlfield.js
z3950_search.js