diff options
author | Kevin McCarthy <kmccarth@redhat.com> | 2007-09-06 14:28:21 -0700 |
---|---|---|
committer | Kevin McCarthy <kmccarth@redhat.com> | 2007-09-06 14:28:21 -0700 |
commit | c821699b64cba075506ecafb187c36eaf866248d (patch) | |
tree | 9a38ae31916067b7a929d5c7a2bd8820d308a563 /ipa-server/ipa-gui/ipagui/templates | |
parent | 450e2661d5289b061cf3af78c96078802668565f (diff) | |
download | freeipa-c821699b64cba075506ecafb187c36eaf866248d.tar.gz freeipa-c821699b64cba075506ecafb187c36eaf866248d.tar.xz freeipa-c821699b64cba075506ecafb187c36eaf866248d.zip |
Password changes:
- remove password generator button
- add confirm password field
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/templates')
-rw-r--r-- | ipa-server/ipa-gui/ipagui/templates/usereditform.kid | 17 | ||||
-rw-r--r-- | ipa-server/ipa-gui/ipagui/templates/usernewform.kid | 15 |
2 files changed, 31 insertions, 1 deletions
diff --git a/ipa-server/ipa-gui/ipagui/templates/usereditform.kid b/ipa-server/ipa-gui/ipagui/templates/usereditform.kid index 4d4269b87..6227c4440 100644 --- a/ipa-server/ipa-gui/ipagui/templates/usereditform.kid +++ b/ipa-server/ipa-gui/ipagui/templates/usereditform.kid @@ -56,8 +56,9 @@ <span py:replace="user.userpassword.display(value_for(user.userpassword))" /> <span py:if="tg.errors.get('userpassword')" class="fielderror" py:content="tg.errors.get('userpassword')" /> - <span id="password_text">********</span> + <!-- + <span id="password_text">********</span> <input id="genpassword_button" type="button" value="Generate Password" disabled="true" onclick="new Ajax.Request('${tg.url('/generate_password')}', @@ -89,6 +90,20 @@ } } </script> + --> + </td> + </tr> + + <tr> + <th valign="top"> + <label class="fieldlabel" for="${user.userpassword_confirm.field_id}" + py:content="user.userpassword_confirm.label" />: + </th> + <td valign="top"> + <span py:replace="user.userpassword_confirm.display( + value_for(user.userpassword_confirm))" /> + <span py:if="tg.errors.get('userpassword_confirm')" class="fielderror" + py:content="tg.errors.get('userpassword_confirm')" /> </td> </tr> diff --git a/ipa-server/ipa-gui/ipagui/templates/usernewform.kid b/ipa-server/ipa-gui/ipagui/templates/usernewform.kid index 884483447..daf131432 100644 --- a/ipa-server/ipa-gui/ipagui/templates/usernewform.kid +++ b/ipa-server/ipa-gui/ipagui/templates/usernewform.kid @@ -92,6 +92,7 @@ <span py:if="tg.errors.get('userpassword')" class="fielderror" py:content="tg.errors.get('userpassword')" /> + <!-- <input type="button" value="Generate Password" onclick="new Ajax.Request('${tg.url('/generate_password')}', { @@ -101,6 +102,20 @@ transport.responseText; } });" /> + --> + </td> + </tr> + + <tr> + <th> + <label class="fieldlabel" for="${user.userpassword_confirm.field_id}" + py:content="user.userpassword_confirm.label" />: + </th> + <td> + <span py:replace="user.userpassword_confirm.display( + value_for(user.userpassword_confirm))" /> + <span py:if="tg.errors.get('userpassword_confirm')" class="fielderror" + py:content="tg.errors.get('userpassword_confirm')" /> </td> </tr> |