Change form styles

This commit is contained in:
Frédéric Guillot
2014-11-08 13:33:07 -05:00
parent 30c7e96169
commit 20c8342503
6 changed files with 28 additions and 37 deletions

View File

@@ -1,8 +1,4 @@
<div class="form-login">
<div class="page-header">
<h1><?= t('Sign in') ?></h1>
</div>
<div class="form-login">
<?php if (isset($errors['login'])): ?>
<p class="alert alert-error"><?= Helper\escape($errors['login']) ?></p>
@@ -20,19 +16,13 @@
<?= Helper\form_checkbox('remember_me', t('Remember Me'), 1) ?><br/>
<ul>
<?php if (GOOGLE_AUTH): ?>
<li>
<a href="?controller=user&amp;action=google"><?= t('Login with my Google Account') ?></a>
</li>
<a href="?controller=user&amp;action=google"><?= t('Login with my Google Account') ?></a>
<?php endif ?>
<?php if (GITHUB_AUTH): ?>
<li>
<a href="?controller=user&amp;action=gitHub"><?= t('Login with my GitHub Account') ?></a>
</li>
<a href="?controller=user&amp;action=gitHub"><?= t('Login with my GitHub Account') ?></a>
<?php endif ?>
</ul>
<div class="form-actions">
<input type="submit" value="<?= t('Sign in') ?>" class="btn btn-blue"/>