summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-08-26 19:00:42 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-08-27 20:52:47 +0200
commit2a935f1b47ed27596ac4a6d8bf5fd911c766d453 (patch)
treed688176a155f8d80f2de2ea53b0bfdb989055a0d /core/templates
parent46978b616cf18d86c3b5790560d233ebde1fc8e7 (diff)
downloadnextcloud-server-2a935f1b47ed27596ac4a6d8bf5fd911c766d453.tar.gz
nextcloud-server-2a935f1b47ed27596ac4a6d8bf5fd911c766d453.zip
move log in button into fields and use icon instead of text
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/login.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index f942e02dc86..0cd76b2b372 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -56,19 +56,22 @@ script('core', [
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
</p>
+ <input type="submit" id="submit" class="login primary icon-confirm" value="" disabled="disabled"/>
+
<?php if (isset($_['invalidpassword']) && ($_['invalidpassword'])): ?>
<a id="lost-password" class="warning" href="">
<?php p($l->t('Wrong password. Reset it?')); ?>
</a>
<?php endif; ?>
<?php if ($_['rememberLoginAllowed'] === true) : ?>
- <input type="checkbox" name="remember_login" value="1" id="remember_login">
- <label for="remember_login"><?php p($l->t('remember')); ?></label>
+ <div class="remember-login-container">
+ <input type="checkbox" name="remember_login" value="1" id="remember_login">
+ <label for="remember_login"><?php p($l->t('remember')); ?></label>
+ </div>
<?php endif; ?>
<input type="hidden" name="timezone-offset" id="timezone-offset"/>
<input type="hidden" name="timezone" id="timezone"/>
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>">
- <input type="submit" id="submit" class="login primary" value="<?php p($l->t('Log in')); ?>" disabled="disabled"/>
</fieldset>
</form>
<?php if (!empty($_['alt_login'])) { ?>