summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-11 09:59:20 +0100
committerLukas Reschke <lukas@statuscode.ch>2016-11-18 12:10:51 +0100
commit80abb69b60699f04a3c4bc68a8cb28ec7c9c562b (patch)
tree9528a392957fbde0f9a246827d2a0c5c8d213a8a /core
parentbb7787a157b7d8fc8c376e9ea745e00b3b0a9346 (diff)
downloadnextcloud-server-80abb69b60699f04a3c4bc68a8cb28ec7c9c562b.tar.gz
nextcloud-server-80abb69b60699f04a3c4bc68a8cb28ec7c9c562b.zip
Show a little explanation above the input field
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.css10
-rw-r--r--core/templates/layout.user.php1
2 files changed, 8 insertions, 3 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 7b2be87f610..6e0156d2238 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -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;
}
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 8689bf859af..1d0ac5fa146 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -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">