Commit 2bb30caa6d4efd2dd5a8c193b28007fae4b0b04c
1 parent
fd14e3ba
-Morning commit
Showing
1 changed file
with
6 additions
and
24 deletions
Show diff stats
backend/views/site/index.php
@@ -2,9 +2,8 @@ | @@ -2,9 +2,8 @@ | ||
2 | 2 | ||
3 | /* @var $this yii\web\View */ | 3 | /* @var $this yii\web\View */ |
4 | 4 | ||
5 | + use artweb\artbox\core\helpers\ImageHelper; | ||
5 | use artweb\artbox\gentelella\widgets\XPanel; | 6 | use artweb\artbox\gentelella\widgets\XPanel; |
6 | - use yii\bootstrap\Carousel; | ||
7 | - use yii\bootstrap\Collapse; | ||
8 | 7 | ||
9 | $this->title = 'My Yii Application'; | 8 | $this->title = 'My Yii Application'; |
10 | ?> | 9 | ?> |
@@ -17,25 +16,8 @@ | @@ -17,25 +16,8 @@ | ||
17 | ); | 16 | ); |
18 | echo "Velox nuclear vexatum iaceres ducunt ad eleates."; | 17 | echo "Velox nuclear vexatum iaceres ducunt ad eleates."; |
19 | $panel::end(); | 18 | $panel::end(); |
20 | -?> | ||
21 | -<div class="site-index"> | ||
22 | - <div class="x_panel"> | ||
23 | - <div class="x_title"> | ||
24 | - <h2>Test</h2> | ||
25 | - <ul class="nav navbar-right panel_toolbox"> | ||
26 | - <li> | ||
27 | - <a class="collapse-link"> | ||
28 | - <i class="fa fa-chevron-up"></i> | ||
29 | - </a> | ||
30 | - </li> | ||
31 | - <li> | ||
32 | - <a class="close-link"> | ||
33 | - <i class="fa fa-close"></i> | ||
34 | - </a> | ||
35 | - </li> | ||
36 | - </ul> | ||
37 | - <div class="clearfix"></div> | ||
38 | - </div> | ||
39 | - <div class="x_content">Velox nuclear vexatum iaceres ducunt ad eleates.</div> | ||
40 | - </div> | ||
41 | -</div> | 19 | + |
20 | + return ImageHelper::set('@storage/test.jpg') | ||
21 | + ->resize(150, 150) | ||
22 | + ->done(); | ||
23 | + |