?>
        <!-- END SIDEBAR -->
        <!-- BEGIN CONTENT -->
        <div class="page-content-wrapper">
            <div class="page-content">
                <!-- BEGIN PAGE HEADER-->
                <!-- BEGIN PAGE TITLE -->
                <!--<h3 class="page-title">
                    <? /*= Html::encode($this->title) */ ?>
                    <small><? /*= Html::encode(@$this->params['subTitle']) */ ?></small>
                </h3>-->
                <!-- END PAGE TITLE -->
                <div class="page-bar">
                    <!-- BEGIN BREADCRUMB-->
                    <?php 
echo Breadcrumbs::widget(['actions' => @$this->params['breadcrumbs']['actions'], 'homeLink' => ['label' => \Yii::t('common', 'Home'), 'icon' => 'fa fa-home', 'url' => ['/']], 'links' => @$this->params['breadcrumbs']['links']]);
?>
                </div>
                <?php 
$session = Yii::$app->getSession();
$flashes = $session->getAllFlashes();
foreach ($flashes as $type => $message) {
    echo Alert::widget(['type' => $type, 'body' => $message, 'options' => ['class' => 'Metronic-alerts']]);
    $session->removeFlash($type);
}
?>
                <?/*= Alert::widget(['options' => ['class' => 'Metronic-alerts']]) */?>
                <!-- END PAGE HEADER-->
                <!-- BEGIN PAGE CONTENT-->
                <?php 
echo $content;
Example #2
0
                <div class="page-content">
                    <!-- BEGIN PAGE HEADER-->
                    <div class="row">
                        <div class="col-md-12">
                            <!-- BEGIN PAGE TITLE & BREADCRUMB-->
                            <h3 class="page-title">
                                <?php 
echo Html::encode($this->title);
?>
                                <small><?php 
echo Html::encode($this->title);
?>
</small>
                            </h3>
                            <?php 
echo Breadcrumbs::widget(['actions' => ['label' => 'Action', 'button' => ['type' => Button::TYPE_M_BLUE, 'options' => ['data-hover' => 'dropdown', 'delay' => '1000']], 'dropdown' => ['items' => [['label' => 'DropdownA', 'url' => '/'], ['divider'], ['label' => 'DropdownB', 'url' => '#']]]], 'homeLink' => ['label' => 'Home', 'icon' => 'fa fa-home', 'url' => ['/']], 'links' => [['icon' => 'fa fa-cogs', 'label' => 'Sample Post', 'url' => ['post/edit', 'id' => 1]], 'Edit']]);
?>
                        </div>
                    </div>
                    <!-- END PAGE HEADER-->
                    <!-- BEGIN PAGE CONTENT-->
                    <div class="row">
                        <div class="col-md-12">
                            <?php 
echo $content;
?>
                        </div>
                    </div>
                    <!-- END PAGE CONTENT-->
                </div>
            </div>