echo $status == 'uninstall' ? 'btn-primary' : 'btn-default'; ?> " href="<?php echo Url::toRoute(['modules/index', 'status' => 'uninstall']); ?> " role="button">未安装</a> </h1> </div> <div class="content-body"> <?php if ($status == 'install') { ?> <?php echo $this->render('modules-installed', ['dataProvider' => $dataProvider]); ?> <?php } else { ?> <?php echo $this->render('modules-uninstalled', ['dataProvider' => $dataProvider]); ?> <?php } ?> </div> <div> <!-- Pjax Content End --> <?php Pjax::end();
$this->params['breadcrumbs'][] = $this->title; ?> <div class="category-index"> <?php Pjax::begin(['timeout' => false, 'id' => 'pjax-gridview']); ?> <h1><?php echo Html::encode($this->title); ?> </h1> <?php // echo $this->render('_search', ['model' => $searchModel]);