Commit f383cac4e4ea18c6993965579e80d818e7287424
1 parent
68c65518
Веталь
Showing
1 changed file
with
10 additions
and
6 deletions
Show diff stats
backend/views/site/login.php
| @@ -11,13 +11,15 @@ $this->title = 'Login'; | @@ -11,13 +11,15 @@ $this->title = 'Login'; | ||
| 11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
| 12 | ?> | 12 | ?> |
| 13 | <div class="site-login"> | 13 | <div class="site-login"> |
| 14 | - <h1><?= Html::encode($this->title) ?></h1> | 14 | + <div class="container"> |
| 15 | + <h1><?= Html::encode($this->title) ?></h1> | ||
| 15 | 16 | ||
| 16 | - <p>Please fill out the following fields to login:</p> | 17 | + <p>Please fill out the following fields to login:</p> |
| 17 | 18 | ||
| 18 | - <div class="row"> | ||
| 19 | - <div class="col-lg-5"> | ||
| 20 | - <?php $form = ActiveForm::begin(['id' => 'login-form']); ?> | 19 | + <div class="row"> |
| 20 | + <div class="col-xs-3"></div> | ||
| 21 | + <div class="col-lg-6"> | ||
| 22 | + <?php $form = ActiveForm::begin(['id' => 'login-form']); ?> | ||
| 21 | 23 | ||
| 22 | <?= $form->field($model, 'username')->textInput(['autofocus' => true]) ?> | 24 | <?= $form->field($model, 'username')->textInput(['autofocus' => true]) ?> |
| 23 | 25 | ||
| @@ -29,7 +31,9 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -29,7 +31,9 @@ $this->params['breadcrumbs'][] = $this->title; | ||
| 29 | <?= Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?> | 31 | <?= Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?> |
| 30 | </div> | 32 | </div> |
| 31 | 33 | ||
| 32 | - <?php ActiveForm::end(); ?> | 34 | + <?php ActiveForm::end(); ?> |
| 35 | + </div> | ||
| 36 | + <div class="col-xs-3"></div> | ||
| 33 | </div> | 37 | </div> |
| 34 | </div> | 38 | </div> |
| 35 | </div> | 39 | </div> |