Remove infield label, add password icon, fix layout
This commit is contained in:
parent
d0b71dffca
commit
cedca03ef5
|
@ -57,7 +57,8 @@ OC.Lostpassword = {
|
|||
|
||||
sendLinkSuccess : function(msg){
|
||||
var node = OC.Lostpassword.getSendStatusNode();
|
||||
node.addClass('success').css({width:'auto'});
|
||||
// update is the better success message styling
|
||||
node.addClass('update').css({width:'auto'});
|
||||
node.html(OC.Lostpassword.sendSuccessMsg);
|
||||
},
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#reset-password p {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#password-icon {
|
||||
top: 20px;
|
||||
}
|
|
@ -1,8 +1,10 @@
|
|||
<?php OCP\Util::addStyle('lostpassword', 'resetpassword'); ?>
|
||||
<form action="<?php print_unescaped($_['link']) ?>" id="reset-password" method="post">
|
||||
<fieldset>
|
||||
<p>
|
||||
<label for="password" class="infield"><?php p($l->t('New password')); ?></label>
|
||||
<input type="password" name="password" id="password" value="" required />
|
||||
<input type="password" name="password" id="password" value="" placeholder="<?php p($l->t('New Password')); ?>" required />
|
||||
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
|
||||
</p>
|
||||
<input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
|
||||
</fieldset>
|
||||
|
|
Loading…
Reference in New Issue