mirror of
https://github.com/CyanoFresh/SmartHomePHP.git
synced 2026-02-20 03:11:26 +01:00
Fixes view
This commit is contained in:
@@ -4,25 +4,23 @@
|
||||
/* @var $searchModel app\models\HistorySearch */
|
||||
/* @var $dataProvider yii\data\ActiveDataProvider */
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\ListView;
|
||||
use yii\widgets\Pjax;
|
||||
$this->title = 'Histories';
|
||||
|
||||
$this->title = 'История';
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
?>
|
||||
<div class="history-index">
|
||||
|
||||
<!-- <p>-->
|
||||
<!-- --><?//= Html::a('Добавить', ['create'], ['class' => 'btn btn-success']) ?>
|
||||
<!-- </p>-->
|
||||
<!-- --><?php //echo $this->render('_search', ['model' => $searchModel]); ?>
|
||||
|
||||
<?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>
|
||||
|
||||
Reference in New Issue
Block a user