backup_index.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\grid\GridView;
  4. /* @var $this yii\web\View */
  5. /* @var $searchModel app\models\PublishingSearch */
  6. /* @var $dataProvider yii\data\ActiveDataProvider */
  7. $this->title = Yii::t('app', 'Publishings');
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="panel panel-primary">
  11. <div class="panel-heading"><span class="glyphicon glyphicon-list"></span><strong> <?= Html::encode($this->title) ?></strong></div>
  12. <div class="panel-body">
  13. <div class="publishing-index">
  14. <h1><?= Html::encode($this->title) ?></h1>
  15. <?php //echo $this->render('_search', ['model' => $searchModel]); ?>
  16. <?= GridView::widget([
  17. 'dataProvider' => $dataProvider,
  18. 'filterModel' => $searchModel,
  19. 'columns' => [
  20. ['class' => 'yii\grid\SerialColumn'],
  21. 'id',
  22. 'name',
  23. 'userName',
  24. 'lotName',
  25. 'endBidding',
  26. // 'date_stop',
  27. // 'last_price',
  28. // 'last_user',
  29. // 'last_date',
  30. // 'type',
  31. 'status',
  32. ['class' => 'yii\grid\ActionColumn',
  33. 'template' => '{view}',],
  34. ],
  35. ]); ?>
  36. </div>
  37. </div>
  38. </div>