Bugzilla – Attachment 180420 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: Remove the input size attributes and replace it with css style
Bug-39271-Remove-the-input-size-attributes-and-rep.patch (text/plain), 47.04 KB, created by
Nina Martinez
on 2025-04-02 15:58:20 UTC
(
hide
)
Description:
Bug 39271: Remove the input size attributes and replace it with css style
Filename:
MIME Type:
Creator:
Nina Martinez
Created:
2025-04-02 15:58:20 UTC
Size:
47.04 KB
patch
obsolete
>From f0f93fb5b2f4eb94cffd2639da2df5a472915388 Mon Sep 17 00:00:00 2001 >From: nina martinez <nina.martinez@biblibre.com> >Date: Wed, 2 Apr 2025 15:36:23 +0200 >Subject: [PATCH] Bug 39271: 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 and Verify that the input design is still coherent > > . Apply patch and restart_all > . Click 'Log in to your account' and click on log in without completing the authentication (opac-auth) ( input tag label, 'Card number or username:' and 'Password:' ) > > . Click on 'log in to your account' and 'Forgot your password' (opac-password-recovery) (syspref : OpacResetPassword) >(input tag name, 'Card number or username:' , 'Email:', 'New password' and 'Confirm new password:' ) > > .Click on 'Create an account' and create a new account (opac-registration-confirmation) (syspref : PatronSelfRegistration ) (input tag name, 'Card number or username:' and ' Password:' ) > > . Log in to your account > > . Click on the 'Personal details' tab (opac-memberentry) (input tag name, all the 'Street number:', 'Library card number:' and 'Date of birth', ') > > . Click on the 'Change password' tab (opac-passwd)(input tag name, 'Current password:', 'New password:' and 'Re-type new password:') > > . Click on 'Advanced search' (opac-advsearch)(input tag name, 'Publication date range:' ) > > . Make a search that will return results > . Click on a title to access the detailed record > . Click 'Place hold' and show more options (opac-reserve)(input tag name, 'Hold starts on date:' and 'Hold not needed after:' ) (syspref : AllowHoldDateInFuture and OPACAllowHoldDateInFuture) > > . Enable the UseRecalls system preference > . Check out an item to Patron B. (create another Patron, search a record, go to staff interface and check out this item) > . Log into the OPAC as Patron A (your account ) and search for the item. > . Click 'Place recall' (opac-recall) (input tag name, 'Recall not needed after :' ) > > . Click on 'Request article' (opac-request-article) (syspref : ArticleRequests)(input tag name, 'Title:', 'Author:', 'Volume', 'Issue', 'Date', 'Pages', 'Chapters' and 'Notes' ) > > . Click on 'Add to your cart' > > . Click 'Add to your lists' (if you don't have a list, create one) (opac-addbybiblionumber)(input tag name, 'List name:' ) > . Click on 'Lists' > . Click on the list name > . Click 'Send list' (opac-sendshelfform) (input tag name, 'Email address :' ) > > . Click on 'List', 'Your lists' and on 'share' (if you don't have a list, create one) > (syspref : OpacAllowSharingPrivateLists) (opac-shareshelf) (input tag name, 'Email address :' ) > > . Click 'Cart' at the top of the page > . Click 'Send' (opac-sendbasketform)(input tag name, 'Email address :' ) > > . Log in, if you're not already logged in and if you already are, go to Your account. After that go to 'Holds' section (if you don't have it, you have to search a record and click on 'place hold' ) (opac-user) (input tag name, 'Suspend until:' ) > > . Click on the 'Purchase suggestions' tab and 'New purchase suggestion' (syspref : suggestion )(opac-suggestions)(input tag name, 'Standard number (ISBN, ISSN or other):', 'Publication year:', 'Quantity:' and 'Search for:') > > . Click on the 'Tags' tab (opac-tags) (syspref : TagsEnabled ) (input tag name, 'Tag to show from other users: 'if you are logged in and 'Tags to show:' if you are not ) > > .Click on 'Subject cloud' (opac-tags_subject) (syspref : OpacCloud )(input tag name, 'up to' ) > > . opac-reset-password page (input tag name : 'Card number or username:', 'Current password:', 'New password:' and 'Confirm new password:') > > 2- 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 3527cbaf80..0ebb246dd4 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.opac_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.opac_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 dada97a058..d9e75c0857 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> > > [% SET ArticleRequestsSupportedFormats = Koha.MultivaluePreference('ArticleRequestsSupportedFormats') %] >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 ce995218f9..a202f39f5d 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 6d3a52d8c4..891d7e8e46 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 8a90f4de21..38e7636ec8 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