]> source.dussan.org Git - nextcloud-server.git/commitdiff
Show a little explanation above the input field
authorJoas Schilling <coding@schilljs.com>
Fri, 11 Nov 2016 08:59:20 +0000 (09:59 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Fri, 18 Nov 2016 11:10:51 +0000 (12:10 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
core/css/styles.css
core/templates/layout.user.php

index 7b2be87f61034e76673cac4180fcb890784cf29c..6e0156d2238f134dca541099904187d28278596c 100644 (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;
 }
index 8689bf859afcb53a7af82b2584935b7996002976..1d0ac5fa146e47e18d54993da68475547409605f 100644 (file)
 
                <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">