Bugzilla – Attachment 191540 Details for
Bug 41645
Make self-checkout use responsive CSS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41645: Make self-checkout use responsive CSS
Bug-41645-Make-self-checkout-use-responsive-CSS.patch (text/plain), 5.06 KB, created by
David Cook
on 2026-01-16 04:06:50 UTC
(
hide
)
Description:
Bug 41645: Make self-checkout use responsive CSS
Filename:
MIME Type:
Creator:
David Cook
Created:
2026-01-16 04:06:50 UTC
Size:
5.06 KB
patch
obsolete
>From 1eab6fce3cefcef25ceefd89f5cae53a7c29fc6f Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 16 Jan 2026 04:03:41 +0000 >Subject: [PATCH] Bug 41645: Make self-checkout use responsive CSS > >This change makes the responsive CSS work with self-checkout. >This changes also includes a few minor HTML changes to make the >display look good both on large and small screens. > >Test plan: >0. Apply the patch >1. Go to http://localhost:8080/cgi-bin/koha/sco/sco-main.pl >2. Log in as the koha user >3. Check out barcodes 39999000004571 and 39999000001310 >4. In an incognito window, add holds and charges for the >koha user >5. Go back to http://localhost:8080/cgi-bin/koha/sco/sco-main.pl >and log in as the koha user >6. Using your F12 dev tools, look at the interface with different >widths >7. Note that the datatables have a responsive design which looks >good on a mobile view >8. Note that the page stays contained to the small screen size >and you don't have to scroll horizontally to see all the content >--- > .../bootstrap/en/modules/sco/sco-main.tt | 17 ++++++++++------- > 1 file changed, 10 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index ad3dc1ab1bf..5dd26065ce6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -14,6 +14,7 @@ > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha" /> > <!-- leave this for stats --> >+<meta name="viewport" content="width=device-width, initial-scale=1" /> > [% IF ( Koha.Preference('OpacFavicon') ) %] > <link rel="shortcut icon" href="[% Koha.Preference('OpacFavicon') | url %]" type="image/x-icon" /> > [% ELSE %] >@@ -94,21 +95,23 @@ > [% END %] > </h2></legend > > >- <div class="row"> >+ <div class="row mb-1"> > <div class="col"> > <label for="barcode">Scan a new item or enter its barcode[% IF batch_checkouts_allowed %](or for <b>multiple checkouts only,</b> enter a barcode list, one barcode per line)[% END %]:</label> > </div> >- <div class="col-3"> >+ </div> >+ <div class="row mb-1"> >+ <div class="col-12 col-lg-4"> > [% IF batch_checkouts_allowed %] > <textarea id="barcode" name="barcode" rows="10" cols="30" class="focus form-control"></textarea> > [% ELSE %] > <input id="barcode" name="barcode" size="20" type="text" class="focus form-control" autocomplete="off" /> > [% END %] > </div> >- <div class="col-auto"> >+ </div> >+ <div class="row mb-1"> >+ <div class="col"> > <button type="submit" class="btn btn-primary">Submit</button> >- </div> >- <div class="col ml-auto"> > <button type="button" id="logout_form" class="btn btn-info"><i class="fa fa-check" aria-hidden="true"></i> Finish</button> > <input type="hidden" name="op" value="cud-checkout" /> > <input type="hidden" name="patronid" value="[% patronid | html %]" /> >@@ -180,9 +183,9 @@ > <th class="all anti-the">Title</th> > <th>Call number</th> > <th class="psort">Due</th> >- <th class="all no-sort">Renew</th> >+ <th class="no-sort">Renew</th> > [% IF Koha.Preference('SCOAllowCheckin') %] >- <th class="all no-sort">Check in</th> >+ <th class="no-sort">Check in</th> > [% END %] > [% UNLESS ( nofines ) %] > <th>Fines</th> >-- >2.39.5
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 41645
:
191540
|
191544