Browse Source
Show a little explanation above the input field
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/1447/head
Joas Schilling
9 years ago
committed by
Lukas Reschke
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
2 changed files with
8 additions and
3 deletions
-
core/css/styles.css
-
core/templates/layout.user.php
|
|
|
@ -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; |
|
|
|
} |
|
|
|
@ -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"> |
|
|
|
|