Bugzilla – Attachment 191542 Details for
Bug 41647
Make self-checkin use responsive CSS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41647: Fix self-checkin to use responsive CSS
Bug-41647-Fix-self-checkin-to-use-responsive-CSS.patch (text/plain), 2.97 KB, created by
David Cook
on 2026-01-16 04:39:44 UTC
(
hide
)
Description:
Bug 41647: Fix self-checkin to use responsive CSS
Filename:
MIME Type:
Creator:
David Cook
Created:
2026-01-16 04:39:44 UTC
Size:
2.97 KB
patch
obsolete
>From 6648fb3359836f90c5a4c400ff9630a9ec139b5d Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 16 Jan 2026 04:37:15 +0000 >Subject: [PATCH] Bug 41647: Fix self-checkin to use responsive CSS > >Test plan: >0. Apply the patch >1. Enable the SelfCheckInModule system preference >2. Go to http://localhost:8080/cgi-bin/koha/sci/sci-main.pl >3. Enter barcode 39999000004571 into input box, click "Submit", >then click "Check in" >4. Using your F12 dev tools, look at the interface with different >widths >5. Note that the page looks good on both large and small screens >6. Note that the page stays contained to the small screen size >and you don't have to scroll horizontally to see all the content >--- > .../opac-tmpl/bootstrap/en/modules/sci/sci-main.tt | 14 +++++++++----- > 1 file changed, 9 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >index cf72578304b..4f310769b1e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >@@ -30,7 +30,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 %] >@@ -137,14 +137,18 @@ > <form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sci/sci-main.pl"> > [% INCLUDE 'csrf-token.inc' %] > <legend class="sr-only">Scan</legend> >- <div class="row"> >- <div class="col-auto"> >+ <div class="row mb-1"> >+ <div class="col"> > <label for="barcode_input">Scan the item or enter its barcode:</label> > </div> >- <div class="col-4"> >+ </div> >+ <div class="row mb-1"> >+ <div class="col-12 col-lg-4"> > <input id="barcode_input" name="barcode_input" size="20" type="text" class="focus form-control" autocomplete="off" /> > </div> >- <div class="col-auto"> >+ </div> >+ <div class="row mb-1"> >+ <div class="col"> > <button id="sci_append_button" type="submit" class="btn btn-primary"> Submit </button> > </div> > </div> >-- >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 41647
:
191542
|
191545