Bugzilla – Attachment 179125 Details for
Bug 39271
Remove size attribute from input tags in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39271: Replace the size attributes of the input tags with styles in the CSS page.
Bug-39271-Replace-the-size-attributes-of-the-input.patch (text/plain), 4.93 KB, created by
Nina Martinez
on 2025-03-10 15:17:34 UTC
(
hide
)
Description:
Bug 39271: Replace the size attributes of the input tags with styles in the CSS page.
Filename:
MIME Type:
Creator:
Nina Martinez
Created:
2025-03-10 15:17:34 UTC
Size:
4.93 KB
patch
obsolete
>From 89c16bb89c30b46c2b0592def2a6ffce9547caca Mon Sep 17 00:00:00 2001 >From: nina martinez <nina.martinez@biblibre.com> >Date: Fri, 7 Mar 2025 15:23:16 +0100 >Subject: [PATCH] Bug 39271: Replace the size attributes of the input tags with > styles in the CSS page. > >test plan : >1- Verify that there aren't size attributes in the input tags >2- Verify that the input design is coherent >--- > koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 7 ++----- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt | 2 +- > .../opac-tmpl/bootstrap/en/modules/opac-request-article.tt | 2 +- > .../opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt | 3 ++- > 4 files changed, 6 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >index f4e38df441..b009f35c1b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >@@ -2987,18 +2987,15 @@ fieldset.brief label.show-password-toggle-label { > padding: 0; > } > >-input[name="borrower_streetnumber"],[name="borrower_B_streetnumber"]{ >+input[name="borrower_streetnumber"],[name="borrower_B_streetnumber"],[name="number"],[name="quantity"]{ > width: 5%; > } > input[name="copyrightdate"]{ > width: 10%; > } >-input[name="quantity"]{ >- width: 4%; >-} > > input[name="limit"]{ >- width:70px; >+ width:70px; > } > > input[name="newvirtualshelf"]{ >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt >index 517a32f871..688a4149b1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt >@@ -81,7 +81,7 @@ > > <li> > <label for="expirationdate">Recall not needed after:</label> >- <input type="text" name="expirationdate" id="expirationdate" size="20" class="flatpickr futuredate" /> >+ <input type="text" name="expirationdate" id="expirationdate" class="flatpickr futuredate" /> > <span id="expiration-hint">[% INCLUDE 'date-format.inc' %]</span> > </li> > <li class="level-option" style="display:none;"><label for="bibliolevel">Recall next available item</label> <input type="radio" name="type" id="bibliolevel" value="bibliolevel" checked /></li> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >index 747c2dd1c2..fb1087a65a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >@@ -81,7 +81,7 @@ > <li> > [% IF mandatory_fields.search('author_article') %] > <label for="author_article" class="required">Author:</label> >- <input type="text" required="required" name="author_article" id="author_article" size="50" value="[% author_article | html %]" /> >+ <input type="text" required="required" name="author_article" id="author_article" value="[% author_article | html %]" /> > <div class="required_label required">Required</div> > [% ELSE %] > <label for="author_article">Author:</label> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt >index 7c5b0ddc78..ee2aaec794 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt >@@ -12,6 +12,7 @@ > [% INCLUDE 'bodytag.inc' bodyid='opac-tags-subject' %] > [% INCLUDE 'masthead.inc' %] > >+ > <div class="main"> > [% WRAPPER breadcrumbs %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >@@ -38,7 +39,7 @@ > <fieldset> > <legend>Show</legend> > <form class="form-inline" action="/cgi-bin/koha/opac-tags_subject.pl" method="get"> >- <p>up to <input type="text" name="number" value="[% number | html %]" size="4" maxlength="4" /> subjects <input type="submit" class="btn btn-primary" value="OK" /></p> >+ <p>up to <input type="text" name="number" value="[% number | html %]" maxlength="4" /> subjects <input type="submit" class="btn btn-primary" value="OK" /></p> > </form> > </fieldset> > >-- >2.43.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 39271
:
179125
|
179685
|
180420