Bugzilla – Attachment 184797 Details for
Bug 38185
DT - replace dom with layout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38185: wip
Bug-38185-wip.patch (text/plain), 1.85 KB, created by
Jonathan Druart
on 2025-07-29 12:34:42 UTC
(
hide
)
Description:
Bug 38185: wip
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-29 12:34:42 UTC
Size:
1.85 KB
patch
obsolete
>From 4ae343aea7fec71c3df8dcb4ef73a31e48095b85 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 29 Jul 2025 14:34:18 +0200 >Subject: [PATCH] Bug 38185: wip > >--- > .../intranet-tmpl/prog/css/src/_tables.scss | 2 +- > koha-tmpl/intranet-tmpl/prog/js/datatables.js | 20 ++++++++++++++++++- > 2 files changed, 20 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >index b190dc2a315..03a4a7edfff 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >@@ -696,7 +696,7 @@ div { > } > } > >-.pager { >+.dt-length, .dt-paging, .dt-search { > display: flex; > flex-wrap: wrap; > font-size: 90%; >diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >index bdfe317ddaa..57b410b6711 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -36,7 +36,25 @@ var dataTablesDefaults = { > excel: __("Excel"), > }, > }, >- dom: '<"dt-info"i><"top pager"<"table_entries"lp><"table_controls"fB>>tr<"bottom pager"ip>', >+ // dom: '<"dt-info"i><"top pager"<"table_entries"lp><"table_controls"fB>>tr<"bottom pager"ip>', >+ layout: { >+ //top3Start: ["info"], >+ //top3End: null, >+ //top2Start: ["pageLength", "paging"], >+ //top2End: null, >+ //top: ["search", "buttons"], >+ //topStart: null, >+ //topEnd: null, >+ >+ top2Start: ["info"], >+ top2End: null, >+ top: ["pageLength", "paging", "search", "buttons"], >+ topStart: null, >+ topEnd: null, >+ >+ bottomStart: ["info", "paging"], >+ bottomEnd: null, >+ }, > buttons: [ > { > fade: 100, >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38185
:
184796
| 184797 |
184805
|
184889
|
184906
|
184928