From 38ece1c4e4cce8ad2a3ee0da005bba6a9fcc68c7 Mon Sep 17 00:00:00 2001 From: William Rockwood Date: Wed, 28 Nov 2012 16:23:29 -0500 Subject: [PATCH] Password help text and formatting fixes - Added password help text to indicate the minimum complexity requirements on the password change pages - Tweaked a couple css classes to make the "change" pages more readable - Added account-update-alias css to make the "change holdshelf alias" page similar to the other "change" pages. Signed-off-by: William Rockwood --- css/tadl.css | 5 ++++- templates_tadlskin/opac/myopac/update_password.tt2 | 5 +++-- templates_tadlskin/opac/password_reset.tt2 | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/css/tadl.css b/css/tadl.css index 777cf28594..d7a4a25c16 100644 --- a/css/tadl.css +++ b/css/tadl.css @@ -1296,8 +1296,11 @@ div.facet_sidebar { .pending-addr td { background-color: #ffcccc !important; border: 0 !important; } #account-update-email table { text-align: center; padding: 20px; margin-top: 30px; border-collapse: collapse; } -#account-update-email table td { padding: 5px 15px 5px 15px; border-bottom: 1px solid #ddd; text-align: left;} +#account-update-email table td { padding: 5px 15px 5px 15px; font-size:1.2em; text-align: left;} #account-update-email-error { font-size: 1.5em; padding: 10px; border:1px solid #e9ebf3;} +#account-update-alias table { text-align: center; padding: 20px; margin-top: 30px; border-collapse: collapse; } +#account-update-alias table td { padding: 5px 15px 5px 15px; font-size:1.2em; text-align: left;} +#account-update-alias-error { font-size: 1.5em; padding: 10px; border:1px solid #e9ebf3;} a.dash-link:hover { text-decoration: underline !important; } #list_create_table td { vertical-align: middle; padding: 0 8px; } #list_create_table { diff --git a/templates_tadlskin/opac/myopac/update_password.tt2 b/templates_tadlskin/opac/myopac/update_password.tt2 index 4fe4648897..ab668c5157 100644 --- a/templates_tadlskin/opac/myopac/update_password.tt2 +++ b/templates_tadlskin/opac/myopac/update_password.tt2 @@ -7,7 +7,7 @@ [% IF ctx.password_invalid %]
- [% |l %] New password is invalid. Please try a different password. [% END %] + [% |l %] New password is invalid or doesn't meet minimum complexity requirements. Please try a different password. [% END %]
[% ELSIF ctx.password_nomatch %] @@ -26,7 +26,8 @@ [% l('Current Password') %] [% l('New Password') %] [% l('New Password Again') %] - + + [% l('Note: Passwords must be at least 7 characters long and contain at least 1 number and 1 letter.') %] diff --git a/templates_tadlskin/opac/password_reset.tt2 b/templates_tadlskin/opac/password_reset.tt2 index bbf9418c89..4da16c9383 100644 --- a/templates_tadlskin/opac/password_reset.tt2 +++ b/templates_tadlskin/opac/password_reset.tt2 @@ -42,6 +42,7 @@ + [% l('Passwords must be at least 7 characters long and contain at least 1 number and 1 letter.') %] -- 2.11.0