Blame view

backend/views/site/index.php 556 Bytes
1755c393   Yarik   Basic template in...
1
  <?php
567888e8   Yarik   Widgets
2
3
4
      
      /* @var $this yii\web\View */
      
2bb30caa   Alexey Boroda   -Morning commit
5
      use artweb\artbox\core\helpers\ImageHelper;
567888e8   Yarik   Widgets
6
      use artweb\artbox\gentelella\widgets\XPanel;
567888e8   Yarik   Widgets
7
8
9
10
      
      $this->title = 'My Yii Application';
  ?>
  <?php
ebcbe93b   Yarik   Panel
11
12
13
14
15
16
17
      $panel = XPanel::begin(
          [
              'title'         => 'Test',
              'toolbarLayout' => '{close}{collapse}',
          ]
      );
      echo "Velox nuclear vexatum iaceres ducunt ad eleates.";
567888e8   Yarik   Widgets
18
      $panel::end();
2bb30caa   Alexey Boroda   -Morning commit
19
20
21
22
      
      return ImageHelper::set('@storage/test.jpg')
                        ->resize(150, 150)
                        ->done();