* Works in IE8, 9, 10, Firefox 24 and Chromium 30 * Credits to Julian Müller @Julian1998remotes/origin/stable6
parent
b48dffa9a3
commit
4af220d09e
@ -0,0 +1,26 @@ |
|||||||
|
#body-login form label.infield { |
||||||
|
width: 190px; |
||||||
|
padding: 10px; |
||||||
|
left: 8px; |
||||||
|
top: 8px; |
||||||
|
} |
||||||
|
|
||||||
|
#password { |
||||||
|
width: 190px !important; |
||||||
|
padding: 10px; |
||||||
|
margin: 6px; |
||||||
|
} |
||||||
|
|
||||||
|
input[type="submit"]{ |
||||||
|
width: 45px; |
||||||
|
height: 45px; |
||||||
|
margin: 6px; |
||||||
|
background-image: url('%webroot%/core/img/actions/confirm.svg'); |
||||||
|
background-repeat: no-repeat; |
||||||
|
background-position: center; |
||||||
|
} |
||||||
|
|
||||||
|
#body-login input[type="submit"] { |
||||||
|
position: absolute; |
||||||
|
top: 0px; |
||||||
|
} |
@ -1,12 +1,15 @@ |
|||||||
<form action="<?php p($_['URL']); ?>" method="post">
|
<form action="<?php p($_['URL']); ?>" method="post">
|
||||||
<fieldset> |
<fieldset> |
||||||
|
<?php if (!isset($_['wrongpw'])): ?> |
||||||
|
<div class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
|
||||||
|
<?php endif; ?> |
||||||
<?php if (isset($_['wrongpw'])): ?> |
<?php if (isset($_['wrongpw'])): ?> |
||||||
<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
|
<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
|
||||||
<?php endif; ?> |
<?php endif; ?> |
||||||
<p class="infield"> |
<p class="infield"> |
||||||
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
||||||
<input type="password" name="password" id="password" placeholder="" value="" autofocus /> |
<input type="password" name="password" id="password" placeholder="" value="" autofocus /> |
||||||
<input type="submit" value="<?php p($l->t('Submit')); ?>" />
|
<input type="submit" value="" class="svg" /> |
||||||
</p> |
</p> |
||||||
</fieldset> |
</fieldset> |
||||||
</form> |
</form> |
||||||
|
After Width: | Height: | Size: 190 B |
After Width: | Height: | Size: 1.9 KiB |
Loading…
Reference in new issue