38 lines
1.5 KiB
Smarty
38 lines
1.5 KiB
Smarty
{extends file=$smarty.current_dir|cat:'/../extends.tpl'}
|
|
{use class="yii\helpers\Url"}
|
|
{use class="yii\grid\GridView"}
|
|
{use class="yii\widgets\Pjax" type="block"}
|
|
{use class="app\assets\DepartmentAsset"}
|
|
{DepartmentAsset::register($this)|void}
|
|
{block name='content'}
|
|
<div class="logs-index">
|
|
<div class="" style="font-size: 15px;">
|
|
<label class="action-button" onclick="common.form(this, '');" data-href="{Url::to(['tree'])}">
|
|
<i class="fa fa-sitemap fa-1-5x"></i> Cây thư mục
|
|
</label>
|
|
<label class="action-button" onclick="_logs(this);" data-href="{Url::to(['logs'])}">
|
|
<i class="fa fa-file fa-1-5x"></i> Ghi nhận hệ thống
|
|
</label>
|
|
</div>
|
|
{Pjax id="department-list"}
|
|
{GridView::widget([
|
|
'dataProvider' => $dataProvider,
|
|
'filterModel' => $searchModel,
|
|
'layout'=> \app\helpers\CommonGrid::getLayout(),
|
|
'tableOptions' => [
|
|
'class' => 'table table-striped table-bordered table-hover',
|
|
'style' => 'background:#fff;min-width:700px;'
|
|
],
|
|
'columns' => [
|
|
[
|
|
'class' => 'yii\grid\SerialColumn',
|
|
'contentOptions' => ['class' => 'text-center'],
|
|
'headerOptions' => ['class' => 'text-center', 'style' => 'width:3%']
|
|
],
|
|
'time',
|
|
'staff_id'
|
|
]
|
|
])}
|
|
{/Pjax}
|
|
</div>
|
|
{/block} |