Skip to content

Commit

Permalink
Updated login page for responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
damasco authored and samdark committed Mar 24, 2016
1 parent 9d2af53 commit 9ae5341
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions views/site/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@
<h1><?= Html::encode($this->title) ?></h1>

<div class="row">
<div class="col-xs-3 col-xs-offset-1">
<div class="col-sm-3 col-sm-offset-1">
<?= yii\authclient\widgets\AuthChoice::widget([
'baseAuthUrl' => ['site/auth'],
'popupMode' => false,
]) ?>
</div>
<div class="col-xs-2">
<div class="col-sm-2">
<h2>OR</h2>
</div>
<div class="col-xs-5">
<div class="col-sm-5">
<h2>fill out the following form</h2>
<?php $form = ActiveForm::begin(['id' => 'login-form']); ?>
<?= $form->field($model, 'username') ?>
<?= $form->field($model, 'password')->passwordInput() ?>
<div style="color:#999;margin:1em 0">
<p class="hint-block">
If you forgot your password you can <?= Html::a('reset it', ['site/request-password-reset']) ?>.
</div>
</p>
<div class="form-group">
<?= Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
</div>
Expand Down

0 comments on commit 9ae5341

Please sign in to comment.