Bugzilla – Attachment 117754 Details for
Bug 27777
Improve tables on Point of Sale page for low screen resolutions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27777: (alternate) Improve tables on Point of Sale page for low screen resolutions
Bug-27777-alternate-Improve-tables-on-Point-of-Sal.patch (text/plain), 2.86 KB, created by
Katrin Fischer
on 2021-03-04 17:34:00 UTC
(
hide
)
Description:
Bug 27777: (alternate) Improve tables on Point of Sale page for low screen resolutions
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-03-04 17:34:00 UTC
Size:
2.86 KB
patch
obsolete
>From e1d3b55f88e091323415fc3df8d458c1d0b7f873 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 24 Feb 2021 16:58:28 +0000 >Subject: [PATCH] Bug 27777: (alternate) Improve tables on Point of Sale page > for low screen resolutions > >This alternate solution makes these minor changes: > >- The Bootstrap grid classes are adjusted so that the breakpoint > between the two-column layout and the single-column layout happens at > a wider browser-width. >- The DataTable configurations are modified to set "autoWidth" to > "false," which gives us a more fluid behavior. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >index 23d66d9202..a87d9e7a8a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >@@ -21,7 +21,7 @@ > > <div class="main container-fluid"> > <div class="row"> >- <div class="col-sm-10 col-sm-push-2"> >+ <div class="col-md-10 col-md-push-2"> > > [% IF ( registers.size == 0 ) %] > <div id="error_message" class="dialog message"> >@@ -46,7 +46,7 @@ > <form name="payForm" id="payForm" method="post" action="/cgi-bin/koha/pos/pay.pl"> > <div class="row"> > >- <div class="col-sm-6"> >+ <div class="col-md-6"> > <fieldset class="rows"> > <legend>Items for purchase</legend> > Please select items from below to add to this transaction: >@@ -78,7 +78,7 @@ > </fieldset> > </div> > >- <div class="col-sm-6"> >+ <div class="col-md-6"> > > <fieldset class="rows"> > <legend>This sale</legend> >@@ -149,7 +149,7 @@ > [% END %] > </div> > >- <div class="col-sm-2 col-sm-pull-10"> >+ <div class="col-md-2 col-md-pull-10"> > <aside> > [% INCLUDE 'pos-menu.inc' %] > </aside> >@@ -335,7 +335,8 @@ > nFoot.getElementsByTagName('td')[1].innerHTML = iTotalPrice.format_price(); > $('#paid').val(iTotalPrice); > $('#paid').trigger('change'); >- } >+ }, >+ "autoWidth": false > })); > > $("#sale").on("click", "button.drop", function(){ >@@ -346,6 +347,7 @@ > var items_table = KohaTable("invoices", { > "sPaginationType": "full", > "aaSorting": [[ 0, "asc" ]], >+ "autoWidth": false > }, items_columns_settings, false); > > $("#invoices").on("click", ".add_button", function(e) { >-- >2.11.0
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 27777
:
117279
|
117280
|
117322
| 117754