Bugzilla – Attachment 179685 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]
Remove the input size attributes and replace it with css style
0001-Remove-the-input-size-attributes-and-replace-it-with.patch (text/plain), 43.72 KB, created by
Nina Martinez
on 2025-03-25 15:26:32 UTC
(
hide
)
Description:
Remove the input size attributes and replace it with css style
Filename:
MIME Type:
Creator:
Nina Martinez
Created:
2025-03-25 15:26:32 UTC
Size:
43.72 KB
patch
obsolete
>From dbe71c0bf6877d3fea4964a63732191b8d008c06 Mon Sep 17 00:00:00 2001 >From: nina martinez <nina.martinez@biblibre.com> >Date: Wed, 19 Mar 2025 17:41:18 +0100 >Subject: [PATCH] Remove the input size attributes and replace it with css > style > >Test plan : > >1- Verify that there are no size attributes in the input tags on the opac pages >2- Verify that the input design is still coherent >3- if that is the case, the test succeeds >--- > .../opac-tmpl/bootstrap/css/src/opac.scss | 27 +++++++++++++++++ > .../en/modules/opac-addbybiblionumber.tt | 2 +- > .../bootstrap/en/modules/opac-advsearch.tt | 2 +- > .../bootstrap/en/modules/opac-auth.tt | 4 +-- > .../bootstrap/en/modules/opac-memberentry.tt | 15 ++++------ > .../bootstrap/en/modules/opac-passwd.tt | 6 ++-- > .../en/modules/opac-password-recovery.tt | 8 ++--- > .../bootstrap/en/modules/opac-recall.tt | 2 +- > .../modules/opac-registration-confirmation.tt | 8 ++--- > .../en/modules/opac-request-article.tt | 30 +++++++++---------- > .../bootstrap/en/modules/opac-reserve.tt | 2 -- > .../en/modules/opac-reset-password.tt | 8 ++--- > .../en/modules/opac-sendbasketform.tt | 2 +- > .../en/modules/opac-sendshelfform.tt | 2 +- > .../bootstrap/en/modules/opac-shareshelf.tt | 2 +- > .../bootstrap/en/modules/opac-suggestions.tt | 12 ++++---- > .../bootstrap/en/modules/opac-tags.tt | 2 +- > .../bootstrap/en/modules/opac-tags_subject.tt | 2 +- > .../bootstrap/en/modules/opac-user.tt | 2 +- > 19 files changed, 80 insertions(+), 58 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >index 5f182f644a..a489bce1c9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >@@ -2981,4 +2981,31 @@ fieldset.brief label.show-password-toggle-label { > padding: 0; > } > >+input[name="limit-yr"]{ >+ width: 100%; >+} >+ >+input[name="borrower_streetnumber"],[name="borrower_B_streetnumber"],[name="quantity"],[name="number"]{ >+ width: 5%; >+} >+ >+input[name="copyrightdate"]{ >+ width: 10%; >+} >+ >+input[name="limit"]{ >+ width: 70px; >+} >+ >+input[name="newvirtualshelf"]{ >+ width: 20%; >+} >+ >+input[name="invite_address"],[id="title_article"],[id="author_article"],[name="volume"],[name="issue"],[name="date"],[name="pages"],[name="chapters"],[name="patron_notes"]{ >+ width: 25%; >+} >+ >+input[name="title_filter"]{ >+ width: 300px; >+} > @import "responsive"; >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt >index bce9384a2d..81a53c5659 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt >@@ -97,7 +97,7 @@ > <fieldset> > <legend>Add to a new list:</legend> > <label for="newvirtualshelf">List name:</label> >- <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" /> >+ <input type="text" name="newvirtualshelf" id="newvirtualshelf" /> > <label for="category">Category:</label> > <select name="public" id="public"> > <option value="0">Private</option> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index 71f4b91c74..c016bdf25f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -336,7 +336,7 @@ > <!-- PUB RANGE OPTION --> > <fieldset> > <label for="limit-yr">Publication date range</label> >- <input type="text" size="30" id="limit-yr" name="limit-yr" title="Enter search terms" value="" /> >+ <input type="text" id="limit-yr" name="limit-yr" title="Enter search terms" value="" /> > <div class="hint">For example: 1999-2001. You could also use "-1987" for everything published in and before 1987 or "2008-" for everything published in 2008 and after.</div> > </fieldset> > <!-- /PUB RANGE OPTION --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >index 5414b9e6ef..c4a8b2e99e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -248,11 +248,11 @@ > [% END %] > <div class="form-group"> > [% PROCESS login_label for="userid" %] >- <input class="form-control" type="text" size="25" id="userid" name="login_userid" autocomplete="off" /> >+ <input class="form-control" type="text" id="userid" name="login_userid" autocomplete="off" /> > </div> > <div class="form-group"> > <label for="password">Password:</label> >- <input class="form-control" type="password" size="25" id="password" name="login_password" autocomplete="off" /> >+ <input class="form-control" type="password" id="password" name="login_password" autocomplete="off" /> > </div> > <fieldset class="action"> > <input type="submit" value="Log in" class="btn btn-primary" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index c86f9f39e1..e9ba1db4e9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -16,7 +16,7 @@ > <li> > <label for="borrower_streetnumber" class="[% required.streetnumber | html %]">Street number:</label> > >- <input type="text" id="borrower_streetnumber" name="borrower_streetnumber" value="[% borrower.streetnumber | html %]" class="[% required.streetnumber | html %]" size="5" maxlength="10" /> >+ <input type="text" id="borrower_streetnumber" name="borrower_streetnumber" value="[% borrower.streetnumber | html %]" class="[% required.streetnumber | html %]" maxlength="10" /> > <div class="required_label [% required.streetnumber | html %]">Required</div> > </li> > [% END %] >@@ -26,7 +26,7 @@ > <li> > <label for="borrower_B_streetnumber" class="[% required.B_streetnumber | html %]">Street number:</label> > >- <input type="text" id="borrower_B_streetnumber" name="borrower_B_streetnumber" value="[% borrower.B_streetnumber | html %]" class="[% required.B_streetnumber | html %]" size="5" maxlength="10" /> >+ <input type="text" id="borrower_B_streetnumber" name="borrower_B_streetnumber" value="[% borrower.B_streetnumber | html %]" class="[% required.B_streetnumber | html %]" maxlength="10" /> > <div class="required_label [% required.B_streetnumber | html %]">Required</div> > </li> > [% END %] >@@ -243,7 +243,6 @@ > type="text" > id="borrower_cardnumber" > name="borrower_cardnumber" >- size="20" > value="[% borrower.cardnumber | html %]" > minlength="[% minlength_cardnumber | html %]" > maxlength="[% maxlength_cardnumber | html %]" >@@ -256,7 +255,6 @@ > type="text" > id="borrower_cardnumber" > name="borrower_cardnumber" >- size="20" > value="[% borrower.cardnumber | html %]" > minlength="[% minlength_cardnumber | html %]" > maxlength="[% maxlength_cardnumber | html %]" >@@ -269,7 +267,6 @@ > type="text" > id="borrower_cardnumber" > name="borrower_cardnumber" >- size="20" > value="[% borrower.cardnumber | html %]" > maxlength="[% maxlength_cardnumber | html %]" > class="[% required.cardnumber | html %]" >@@ -277,7 +274,7 @@ > <div class="required_label [% required.cardnumber | html %]">Required</div> > <div class="hint">Card number can be up to [% maxlength_cardnumber | html %] characters.</div> > [% ELSE %] >- <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="[% borrower.cardnumber | html %]" class="[% required.cardnumber | html %]" /> >+ <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" value="[% borrower.cardnumber | html %]" class="[% required.cardnumber | html %]" /> > <div class="required_label [% required.cardnumber | html %]">Required</div> > <div class="hint">There is no minimum or maximum character length.</div> > [% END %] >@@ -435,7 +432,7 @@ > <li> > <label for="borrower_dateofbirth" class="[% required.dateofbirth | html %]">Date of birth:</label> > >- <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | html %]" size="10" class="[% required.dateofbirth | html %] flatpickr pastdate" /> >+ <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | html %]" class="[% required.dateofbirth | html %] flatpickr pastdate" /> > > <div class="required_label [% required.dateofbirth | html %]">Required</div> > </li> >@@ -1080,9 +1077,9 @@ > </select> > [% ELSE %] > [% IF ( pa.type.is_date && pa.type.mandatory ) %] >- <input type="text" id="[% form_id | html %]" name="patron_attribute_value" value="[% pa_value | html %]" size="10" required="required" class="flatpickr" /> >+ <input type="text" id="[% form_id | html %]" name="patron_attribute_value" value="[% pa_value | html %]" required="required" class="flatpickr" /> > [% ELSIF ( pa.type.is_date && !pa.type.mandatory ) %] >- <input type="text" id="[% form_id | html %]" name="patron_attribute_value" value="[% pa_value | html %]" size="10" class="flatpickr" /> >+ <input type="text" id="[% form_id | html %]" name="patron_attribute_value" value="[% pa_value | html %]" class="flatpickr" /> > [% ELSE %] > <textarea rows="2" cols="30" id="[% form_id | html %]" name="patron_attribute_value">[% pa_value | html %]</textarea> > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >index ed48620c33..716b58f53f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >@@ -78,15 +78,15 @@ > [% END %] > <div class="form-group"> > <label for="Oldkey">Current password:</label> >- <input class="form-control focus" type="password" id="Oldkey" size="25" name="Oldkey" autocomplete="current-password" /> >+ <input class="form-control focus" type="password" id="Oldkey" name="Oldkey" autocomplete="current-password" /> > </div> > <div class="form-group"> > <label for="Newkey">New password:</label> >- <input class="form-control" type="password" id="Newkey" size="25" name="Newkey" autocomplete="new-password" /> >+ <input class="form-control" type="password" id="Newkey" name="Newkey" autocomplete="new-password" /> > </div> > <div class="form-group"> > <label for="Confirm">Re-type new password:</label> >- <input class="form-control" type="password" id="Confirm" size="25" name="Confirm" autocomplete="new-password" /> >+ <input class="form-control" type="password" id="Confirm" name="Confirm" autocomplete="new-password" /> > </div> > </fieldset> > <fieldset class="action"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >index 5b7d49d8cd..fb7a8f2ec3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >@@ -133,12 +133,12 @@ > <fieldset class="brief"> > <div class="form-group"> > [% PROCESS login_label for="username" %] >- <input class="form-control" type="text" id="username" size="40" name="username" value="[% username | html %]" /> >+ <input class="form-control" type="text" id="username" name="username" value="[% username | html %]" /> > </div> > > <div class="form-group"> > <label for="email">Email:</label> >- <input class="form-control" type="text" id="email" size="40" name="email" value="[% email | html %]" /> >+ <input class="form-control" type="text" id="email" name="email" value="[% email | html %]" /> > </div> > > <fieldset class="action"> >@@ -162,12 +162,12 @@ > [% END %] > <div class="form-group"> > <label for="newPassword">New password:</label> >- <input class="form-control" type="password" id="newPassword" size="40" name="newPassword" autocomplete="off" /> >+ <input class="form-control" type="password" id="newPassword" name="newPassword" autocomplete="off" /> > </div> > > <div class="form-group"> > <label for="repeatPassword">Confirm new password:</label> >- <input class="form-control" type="password" id="repeatPassword" size="40" name="repeatPassword" autocomplete="off" /> >+ <input class="form-control" type="password" id="repeatPassword" name="repeatPassword" autocomplete="off" /> > </div> > > <fieldset class="action"> >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-registration-confirmation.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt >index b6a5fa090c..07b632048f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt >@@ -110,15 +110,15 @@ > <legend>Log in to your account:</legend> > [% PROCESS login_label for="userid" %] > [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] >- <input class="form-control" type="text" id="userid" size="10" name="login_userid" value="[% borrower.userid | html %]" autocomplete="off" /> >+ <input class="form-control" type="text" id="userid" name="login_userid" value="[% borrower.userid | html %]" autocomplete="off" /> > [% ELSE %] >- <input class="form-control" type="text" id="userid" size="10" name="login_userid" value="" autocomplete="off" /> >+ <input class="form-control" type="text" id="userid" name="login_userid" value="" autocomplete="off" /> > [% END %] > <label for="password">Password:</label> > [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] >- <input class="form-control" type="password" id="password" size="10" name="login_password" value="[% password_cleartext | html %]" autocomplete="off" /> >+ <input class="form-control" type="password" id="password" name="login_password" value="[% password_cleartext | html %]" autocomplete="off" /> > [% ELSE %] >- <input class="form-control" type="password" id="password" size="10" name="login_password" value="" autocomplete="off" /> >+ <input class="form-control" type="password" id="password" name="login_password" value="" autocomplete="off" /> > [% END %] > <fieldset class="action"> > <input type="submit" value="Log in" class="btn btn-primary" /> >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 890ba9d95f..911654ec09 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 >@@ -70,55 +70,55 @@ > <li> > [% IF mandatory_fields.search('title') %] > <label for="title" class="required">Title:</label> >- <input type="text" required="required" name="title" id="title" size="50" value="[% title | html %]" /> >+ <input type="text" required="required" name="title" id="title_article" value="[% title | html %]" /> > <div class="required_label required">Required</div> > [% ELSE %] > <label for="title">Title:</label> >- <input type="text" name="title" id="title" size="50" value="[% title | html %]" /> >+ <input type="text" name="title" id="title_article" value="[% title | html %]" /> > [% END %] > </li> > > <li> > [% IF mandatory_fields.search('author') %] > <label for="author" class="required">Author:</label> >- <input type="text" required="required" name="author" id="author" size="50" value="[% author | html %]" /> >+ <input type="text" required="required" name="author" id="author_article" value="[% author | html %]" /> > <div class="required_label required">Required</div> > [% ELSE %] > <label for="author">Author:</label> >- <input type="text" name="author" id="author" size="50" value="[% author | html %]" /> >+ <input type="text" name="author" id="author_article" value="[% author | html %]" /> > [% END %] > </li> > > <li> > [% IF mandatory_fields.search('volume') %] > <label for="volume" class="required">Volume:</label> >- <input type="text" required="required" name="volume" id="volume" size="50" /> >+ <input type="text" required="required" name="volume" id="volume" /> > <div class="required_label required">Required</div> > [% ELSE %] > <label for="volume">Volume:</label> >- <input type="text" name="volume" id="volume" size="50" /> >+ <input type="text" name="volume" id="volume" /> > [% END %] > </li> > > <li> > [% IF mandatory_fields.search('issue') %] > <label for="issue" class="required">Issue:</label> >- <input type="text" required="required" name="issue" id="issue" size="50" /> >+ <input type="text" required="required" name="issue" id="issue" /> > <div class="required_label required">Required</div> > [% ELSE %] > <label for="issue">Issue:</label> >- <input type="text" name="issue" id="issue" size="50" /> >+ <input type="text" name="issue" id="issue"/> > [% END %] > </li> > > <li> > [% IF mandatory_fields.search('date') %] > <label for="date" class="required">Date:</label> >- <input type="text" required="required" name="date" id="date" size="50" /> >+ <input type="text" required="required" name="date" id="date" /> > <div class="required_label required">Required</div> > [% ELSE %] > <label for="date">Date:</label> >- <input type="text" name="date" id="date" size="50" /> >+ <input type="text" name="date" id="date" /> > [% END %] > </li> > >@@ -130,28 +130,28 @@ > <li> > [% IF mandatory_fields.search('pages') %] > <label for="pages" class="required">Pages:</label> >- <input type="text" required="required" name="pages" id="pages" size="50" value="[% pageinfo | html %]" /> >+ <input type="text" required="required" name="pages" id="pages" value="[% pageinfo | html %]" /> > <div class="required_label required">Required</div> > [% ELSE %] > <label for="pages">Pages:</label> >- <input type="text" name="pages" id="pages" size="50" value="[% pageinfo | html %]" /> >+ <input type="text" name="pages" id="pages" value="[% pageinfo | html %]" /> > [% END %] > </li> > > <li> > [% IF mandatory_fields.search('chapters') %] > <label for="chapters" class="required">Chapters:</label> >- <input type="text" required="required" name="chapters" id="chapters" size="50" /> >+ <input type="text" required="required" name="chapters" id="chapters" /> > <div class="required_label required">Required</div> > [% ELSE %] > <label for="chapters">Chapters:</label> >- <input type="text" name="chapters" id="chapters" size="50" /> >+ <input type="text" name="chapters" id="chapters"/> > [% END %] > </li> > > <li> > <label for="patron_notes">Notes:</label> >- <input type="text" name="patron_notes" id="patron_notes" size="50" /> >+ <input type="text" name="patron_notes" id="patron_notes" /> > </li> > > <li> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index b8c9b85aa0..b500cfbc51 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -296,7 +296,6 @@ > id="from[% bibitemloo.biblionumber | html %]" > data-start_for="to[% bibitemloo.biblionumber | html %]" > data-flatpickr-futureinclusive="true" >- size="10" > class="flatpickr holddatefrom" > value="[% KohaDates.datetime_from_string | $KohaDates dateformat => 'iso' %]" > /> >@@ -311,7 +310,6 @@ > type="text" > name="expiration_date_[% bibitemloo.biblionumber | html %]" > id="to[% bibitemloo.biblionumber | html %]" >- size="10" > data-flatpickr-future="true" > class="flatpickr futuredate" > /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reset-password.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reset-password.tt >index 7721bbfd7a..7721012f1c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reset-password.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reset-password.tt >@@ -79,19 +79,19 @@ > <fieldset class="brief"> > <div class="form-group"> > [% PROCESS login_label for="userid" %] >- <input class="form-control" autocomplete="off" type="text" size="25" id="userid" name="userid" /> >+ <input class="form-control" autocomplete="off" type="text" id="userid" name="userid" /> > </div> > <div class="form-group"> > <label for="currentpassword">Current password:</label> >- <input class="form-control" autocomplete="current-password" type="password" size="25" id="currentpassword" name="currentpassword" /> >+ <input class="form-control" autocomplete="current-password" type="password" id="currentpassword" name="currentpassword" /> > </div> > <div class="form-group"> > <label for="newpassword">New password:</label> >- <input class="form-control" autocomplete="new-password" type="password" size="25" id="newpassword" name="newpassword" /> >+ <input class="form-control" autocomplete="new-password" type="password" id="newpassword" name="newpassword" /> > </div> > <div class="form-group"> > <label for="confirmpassword">Confirm new password:</label> >- <input class="form-control" autocomplete="new-password" type="password" size="25" id="confirmpassword" name="confirmpassword" /> >+ <input class="form-control" autocomplete="new-password" type="password" id="confirmpassword" name="confirmpassword" /> > </div> > <fieldset class="action"> > <input type="submit" value="Update password" class="btn btn-primary" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >index d63b7f2dd1..e6656d14a5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >@@ -37,7 +37,7 @@ > <fieldset class="brief"> > <legend><h1>Sending your cart</h1></legend> > <label for="email_add">Email address:</label> >- <input type="text" id="email_add" name="email_add" size="43" class="focus form-control" /> >+ <input type="text" id="email_add" name="email_add" class="focus form-control" /> > <label for="comment">Comment:</label> > <textarea id="comment" name="comment" rows="4" cols="40" class="form-control"></textarea> > <input type="hidden" name="bib_list" value="[% bib_list | html %]" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >index 0b67a02765..62c9280d65 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >@@ -36,7 +36,7 @@ > <fieldset class="brief"> > <legend><h1>Sending your list</h1></legend> > <label for="email">Email address:</label> >- <input type="text" id="email" name="email" size="43" class="focus form-control" /> >+ <input type="text" id="email" name="email" class="focus form-control" /> > > <label for="comment">Comment:</label> > <textarea id="comment" name="comment" rows="4" cols="40" class="form-control"></textarea> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >index 4da6ce2c04..7d3c761542 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >@@ -85,7 +85,7 @@ > <li> <label for="name">List name:</label> [% shelfname | html %] </li> > <li> > <label for="invite_address">Email address:</label> >- <input type="text" id="invite_address" name="invite_address" size="40" /> >+ <input type="text" id="invite_address" name="invite_address" /> > </li> > </ol> > </fieldset> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >index 9587f799fc..b0c3949dac 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >@@ -94,7 +94,7 @@ > [% IF Koha.Preference( 'OPACSuggestionAutoFill' ) %] > <li> > <label for="isbn">Standard number (ISBN, ISSN or other):</label> >- <input type="text" id="isbn" name="isbn" maxlength="80" style="margin-right:10px;margin-top:10px;" size="15" /> >+ <input type="text" id="isbn" name="isbn" maxlength="80" style="margin-right:10px;margin-top:10px;" /> > </li> > [% END %] > <li> >@@ -133,12 +133,12 @@ > <span id="copyrightdate">[% copyrightdate | html %]</span> > [% ELSIF ( copyrightdate_required ) %] > <label for="copyrightdate" class="required">Publication year:</label> >- <input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" required="required" /> >+ <input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" maxlength="4" value="[% copyrightdate | html %]" required="required" /> > <div class="required_label required">Required</div> > <span class="hint">Copyright or publication year, for example: 2022</span> > [% ELSE %] > <label for="copyrightdate">Publication year:</label> >- <input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" /> >+ <input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" maxlength="4" value="[% copyrightdate | html %]" /> > <span class="hint">Copyright or publication year, for example: 2022</span> > [% END %] > </div> >@@ -208,11 +208,11 @@ > <li id="opac-suggestion-quantity"> > [% IF ( quantity_required ) %] > <label for="quantity" class="required">Quantity:</label> >- <input type="text" id="quantity" name="quantity" required="required" maxlength="4" size="4" value="[% quantity | html %]" /> >+ <input type="text" id="quantity" name="quantity" required="required" maxlength="4" value="[% quantity | html %]" /> > <div class="required_label required">Required</div> > [% ELSE %] > <label for="quantity">Quantity:</label> >- <input type="text" id="quantity" name="quantity" maxlength="4" size="4" value="[% quantity | html %]" /> >+ <input type="text" id="quantity" name="quantity" maxlength="4" value="[% quantity | html %]" /> > [% END %] > </li> > [% END %] >@@ -357,7 +357,7 @@ > <label for="title_filter">Search for:</label> > </div> > <div class="col-auto gx-2 my-1"> >- <input type="text" name="title_filter" id="title_filter" value="[% title_filter | html %]" size="30" class="form-control form-control-sm" /> >+ <input type="text" name="title_filter" id="title_filter" value="[% title_filter | html %]" class="form-control form-control-sm" /> > </div> > [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) %] > [% IF loggedinusername %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt >index c6a6b1fc77..8fc751a5cb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt >@@ -118,7 +118,7 @@ > </label> > </div> > <div class="col-auto gx-2 my-1"> >- <input type="text" name="limit" class="form-control form-control-sm" maxlength="4" size="4" value="[% limit or '100' | html %]" /> >+ <input type="text" name="limit" class="form-control form-control-sm" maxlength="4" value="[% limit or '100' | html %]" /> > </div> > <div class="col-auto gx-2 my-1"> > <input type="submit" value="OK" class="btn btn-sm btn-primary" /> >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..7963033f8f 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 >@@ -38,7 +38,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> > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 438878a6f1..3254809a77 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -1048,7 +1048,7 @@ > <h6 id="suspendHoldTitle"></h6> > <input type="hidden" name="reserve_id" id="suspendHoldReserveId" value="" /> > <label for="suspend_untilDate">Suspend until:</label> >- <input type="text" name="suspend_until" id="suspend_untilDate" size="10" /> >+ <input type="text" name="suspend_until" id="suspend_untilDate"/> > [% INCLUDE 'date-format.inc' %] > <p><a href="#" class="clear-flatpickr" data-fp="suspend_untilDate">Clear date to suspend indefinitely</a></p> > </div> >-- >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