Commit f383cac4e4ea18c6993965579e80d818e7287424

Authored by Виталий
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 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 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 24 <?= $form->field($model, 'username')->textInput(['autofocus' => true]) ?>
23 25  
... ... @@ -29,7 +31,9 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
29 31 <?= Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
30 32 </div>
31 33  
32   - <?php ActiveForm::end(); ?>
  34 + <?php ActiveForm::end(); ?>
  35 + </div>
  36 + <div class="col-xs-3"></div>
33 37 </div>
34 38 </div>
35 39 </div>
... ...