Blame view

backend/modules/user/views/layouts/list-user.php 1.21 KB
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  <?php
  
  /**
   * @author FilamentV <vortex.filament@gmail.com>
   * @copyright (c), Thread
   */
  use yii\helpers\Html;
  
  $this->beginContent('@app/layouts/main.php'); ?>
  
      <div class="row border-bottom white-bg page-heading">
          <div class="col-md-7">
              <h2>
                  <?= Yii::t($this->context->module->name, $this->context->module->title) ?>.
                  <?= Yii::t($this->context->module->name, $this->context->title) ?>.
                  <?= Yii::t('app', 'List') ?>
              </h2>
          </div>
          <div class="col-md-2">
              <h2 class="btn-group" role="group">
                  <?= Html::a(Yii::t('app', 'Groups'), ['/user/group/list'], ['class' => 'btn btn-warning']) ?>
              </h2>
          </div>
          <div class="col-md-3">
              <h2 class="btn-group" role="group">
                  <?= Html::a('<i class="fa fa-plus"></i> ' . Yii::t('app', 'Create'), ['create'], ['class' => 'btn btn-primary']) ?>
                  <?= Html::a('<i class="fa fa-trash"></i> ', ['trash'], ['class' => 'btn btn-default', 'title' => Yii::t('app', 'Trash')]) ?>
              </h2>
          </div>
      </div>
  
      <div class="animated fadeIn">
          <?= $content ?>
      </div>
  
  <?php $this->endContent();