Files
SmartHomePHP/views/history/index.php
Alex Solomaha 41e0f392ca Fixes
2017-03-04 11:03:12 +02:00

28 lines
683 B
PHP

<?php
/* @var $this yii\web\View */
/* @var $searchModel app\models\HistorySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
use yii\widgets\ListView;
use yii\widgets\Pjax;
$this->title = 'История';
$this->params['breadcrumbs'][] = $this->title;
$this->params['in-card'] = false;
?>
<div class="history-index">
<?php Pjax::begin(); ?>
<?= ListView::widget([
'dataProvider' => $dataProvider,
'itemOptions' => ['class' => 'item'],
'summaryOptions' => ['class' => 'alert alert-info'],
'emptyTextOptions' => ['class' => 'alert alert-warning'],
'itemView' => '_history',
]) ?>
<?php Pjax::end(); ?>
</div>