[IMP] add code for confirm pwd image

bzr revid: ggh@tinyerp.com-20121030055202-epuold0yrsoukw3f
This commit is contained in:
ggh-openerp 2012-10-30 11:22:02 +05:30
parent 05848507da
commit 4fa267f1fc
4 changed files with 6 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 666 B

View File

@ -331,6 +331,7 @@ instance.web.DatabaseManager = instance.web.Widget.extend({
self.$el.find("form[name=restore_db_form]").validate({ submitHandler: self.do_restore });
self.$el.find("form td input[name=old_pwd]").css('background','url(/web/static/src/img/old_key.png) no-repeat 4px');
self.$el.find("form td input[name=new_pwd]").css('background','url(/web/static/src/img/new_key.png) no-repeat 4px');
self.$el.find("form td input[name=confirm_pwd]").css('background','url(/web/static/src/img/new_key.png) no-repeat 4px');
self.$el.find("form[name=change_pwd_form]").validate({
messages: {
old_pwd: "Please enter your previous password",

View File

@ -263,7 +263,7 @@
</tr>
<tr>
<td><label for="confirm_pwd">Confirm new master password:</label></td>
<td><input type="password" name="confirm_pwd" class="required" equalTo="input[name=new_pwd]" minlength="1" style="padding-left: 22px;"/> </td>
<td class="oe_keyImage_new_pwd"><input type="password" name="confirm_pwd" placeholder=" Password..." class="required" equalTo="input[name=new_pwd]" minlength="1"/> </td>
</tr>
</table>
</form>
@ -295,14 +295,14 @@
minlength="1" placeholder=" Password..." autofocus="autofocus"/></td>
</tr>
<tr>
<td><label for="new_password">New Password:</label></td>
<td class="oe_keyImage_new_pwd"><input type="password" name="new_password"
<td><label for="new_password">New Password:</label></td>
<td class="oe_keyImage_new_pwd"><input type="password" name="new_password"
placeholder=" Password..." minlength="1"/></td>
</tr>
<tr>
<td><label for="confirm_pwd">Confirm Password:</label></td>
<td><input type="password" name="confirm_pwd"
minlength="1" style="padding-left: 22px;"/></td>
<td class="oe_keyImage_new_pwd"><input type="password" name="confirm_pwd"
placeholder=" Password..." minlength="1" /></td>
</tr>
<tr>
<td colspan="2" align="right"><button class="oe_button">Change Password</button></td>