diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-05-22 14:48:22 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-06-26 12:37:39 +0200 |
commit | e3de46767683c5050377cc5e683cd6e3d28ea4e9 (patch) | |
tree | 50fa6d33415fe6bab0df928661ab1941cf6d9774 /install/ui/src/freeipa/widgets | |
parent | 6e7d4ad468854cce8a9a76f3abf8268e3813ff93 (diff) | |
download | freeipa-e3de46767683c5050377cc5e683cd6e3d28ea4e9.tar.gz freeipa-e3de46767683c5050377cc5e683cd6e3d28ea4e9.tar.xz freeipa-e3de46767683c5050377cc5e683cd6e3d28ea4e9.zip |
webui: add placeholders to login screen
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui/src/freeipa/widgets')
-rw-r--r-- | install/ui/src/freeipa/widgets/LoginScreen.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/widgets/LoginScreen.js b/install/ui/src/freeipa/widgets/LoginScreen.js index 701c88cf1..78991d0a9 100644 --- a/install/ui/src/freeipa/widgets/LoginScreen.js +++ b/install/ui/src/freeipa/widgets/LoginScreen.js @@ -568,6 +568,7 @@ define(['dojo/_base/declare', $type: 'text', name: 'username', label: text.get('@i18n:login.username', "Username"), + placeholder: text.get('@i18n:login.username', "Username"), show_errors: false, undo: false }, @@ -575,6 +576,7 @@ define(['dojo/_base/declare', $type: 'password', name: 'password', label: text.get('@i18n:login.password', "Password"), + placeholder: text.get('@i18n:login.password_and_otp', 'Password or Password+One-Time-Password'), show_errors: false, undo: false }, @@ -589,13 +591,15 @@ define(['dojo/_base/declare', name: 'current_password', $type: 'password', label: text.get('@i18n:login.current_password', "Current Password"), + placeholder: text.get('@i18n:login.current_password', "Current Password"), show_errors: false, undo: false }, { name: 'otp', $type: 'password', - label: text.get('@i18n:login.current_password', "OTP"), + label: text.get('@i18n:password.otp', "OTP"), + placeholder: text.get('@i18n:password.otp_long', 'One-Time-Password'), show_errors: false, undo: false }, @@ -604,6 +608,7 @@ define(['dojo/_base/declare', $type: 'password', required: true, label: text.get('@i18n:password.new_password)', "New Password"), + placeholder: text.get('@i18n:password.new_password)', "New Password"), show_errors: false, undo: false }, @@ -612,6 +617,7 @@ define(['dojo/_base/declare', $type: 'password', required: true, label: text.get('@i18n:password.verify_password', "Verify Password"), + placeholder: text.get('@i18n:password.new_password)', "New Password"), validators: [{ $type: 'same_password', other_field: 'new_password' |