<?php

/* @var $this yii\web\View */

use wdigital\cms\inspinia\widgets\Panel;
use yii\helpers\Url;

$this->title = 'WD CMS';
?>
<div class="site-index">
    <div class="body-content">
        <div class="row">
            <?php Panel::begin([
                'title'=>$this->title,
                'description'=> 'Panel',
                'toolbar'=>[
                    [
                        'title' => '',
                        'link'  => Url::to(['/']),
                        'icon'  => 'wrench',
                        'items' => [
                            [
                                'title' => 'Item 1',
                                'link'  => Url::to(['/']),
                                'icon'  => 'earth',
                            ],
                            [
                                'title' => 'Item 2',
                                'link'  => Url::to(['/']),
                                'icon'  => 'pencil',
                            ],
                        ],
                    ],
                    [
                        'title' => 'QQ',
                        'link'  => Url::to(['http://qq.com']),
                        'icon'  => 'qq',
                    ]
                ]
            ]);
            Panel::end()?>
        </div>
            <div class="col-lg-12">
                <h2>Heading</h2>
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
                    dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
                    ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
                    fugiat nulla pariatur.</p>
            </div>
        </div>
    </div>
</div>
