Show a little explanation above the input field

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2016-11-11 09:59:20 +01:00 committed by Lukas Reschke
parent bb7787a157
commit 80abb69b60
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
2 changed files with 8 additions and 3 deletions

View File

@ -998,6 +998,8 @@ fieldset.warning legend + p, fieldset.update legend + p {
top: 45%;
left: 40%;
border: 1px solid #e9322d;
color: #e9322d;
font-weight: bold;
z-index: 1000;
background: #e4b9c0;
border-radius: 10px;
@ -1010,7 +1012,9 @@ fieldset.warning legend + p, fieldset.update legend + p {
}
#sudo-login-form .confirm {
position: absolute;
top: 25px;
right: 25px;
position: relative;
right: 32px;
border: none;
opacity: .3;
background-color: transparent;
}

View File

@ -148,6 +148,7 @@
<div id="sudo-login-background" class="hidden"></div>
<div id="sudo-login-form" class="hidden">
<?php p($l->t('This action requires you to confirm your password:')); ?><br>
<input type="password" class="question" autocomplete="off" name="question" value=" <?php /* Hack against firefox ignoring autocomplete="off" */ ?>"
placeholder="<?php p($l->t('Confirm your password')); ?>" />
<input class="confirm icon-confirm" title="<?php p($l->t('Confirm')); ?>" value="" type="submit">