Пример #1
0
?>
                </small>
            </h1>
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>

            <div class="col-xs-12 auth-group-index">
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => ['real_title', 'description:ntext', 'created_at:date', ['class' => 'yii\\grid\\ActionColumn', 'header' => '操作', 'template' => '{update} {delete} {permission}', 'buttons' => ['update' => function ($url, $model, $key) {
    return Html::a('<span class="glyphicon glyphicon-pencil"></span>', $url, ['title' => '编辑', 'class' => 'remoteform']);
}, 'permission' => function ($url, $model, $key) {
    return Html::a('划分权限', $url, ['title' => '划分权限']);
}], 'headerOptions' => ['width' => '140']]]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #2
0
            -->
                <small>
                    <?php 
echo Html::a('<i class="fa fa-plus"></i> 新增', ['create'], ['class' => 'btn btn-primary btn-sm new-menu']);
?>
                </small>
            </h1>
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>

            <div class="col-xs-12 attr-index">
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => ['id', ['label' => '分类', 'value' => 'category.name'], 'name', 'body:ntext', 'status', ['class' => 'yii\\grid\\ActionColumn']]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #3
0
            -->
                <small>
                    <?php 
echo Html::a('<i class="fa fa-plus"></i> 新增', ['create'], ['class' => 'btn btn-primary btn-sm new-menu']);
?>
                </small>
            </h1>
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>

            <div class="col-xs-12 category-index">
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => [['class' => 'yii\\grid\\SerialColumn'], 'id', 'pid', 'level', 'code', 'name', ['class' => 'yii\\grid\\ActionColumn']]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #4
0
            -->
                <small>
                    <?php 
echo Html::a('新增', ['create'], ['class' => 'btn btn-primary btn-xs new-menu']);
?>
                </small>
            </h1>
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>

            <div class="col-xs-12 settings-index">
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => [['class' => 'yii\\grid\\SerialColumn'], 'sname', 'svalue', 'svalues:ntext', 'sintro', 'stype', ['class' => 'yii\\grid\\ActionColumn']]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #5
0
            -->
                <small>
                    <?php 
echo Html::a('<i class="fa fa-plus"></i> 新增', ['create'], ['class' => 'btn btn-primary btn-sm new-menu']);
?>
                </small>
            </h1>
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>

            <div class="col-xs-12 post-index">
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => [['class' => 'yii\\grid\\SerialColumn'], 'id', 'author_id', 'category_id', 'title', 'summary:ntext', ['class' => 'yii\\grid\\ActionColumn']]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #6
0
<div class="page-content">
    <!-- /section:settings.box -->
    <div class="page-content-area">
        <div class="page-header">
            <h1>
                <small>
                    <?php 
echo Html::a('<i class="fa fa-plus"></i> 新增', ['create'], ['class' => 'btn btn-primary btn-sm new-menu']);
?>
                </small>
            </h1>
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>
            <div class="col-xs-12 user-index">
    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => ['id', 'username', 'email:email', 'statuslabel', ['class' => 'yii\\grid\\ActionColumn']]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #7
0
            -->
                <small>
                    <?php 
echo Html::a('<i class="fa fa-plus"></i> 新增', ['create'], ['class' => 'btn btn-primary btn-sm new-menu']);
?>
                </small>
            </h1>
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>

            <div class="col-xs-12 user-index">
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => [['class' => 'yii\\grid\\SerialColumn'], 'openid', 'merchant_id', 'nickname', 'remark', 'sex', ['class' => 'yii\\grid\\ActionColumn']]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #8
0
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>

            <div class="col-xs-12 wechat-index">
    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed footable table-stripped toggle-arrow-tiny'], 'columns' => ['id', 'name', 'wechat_id', ['label' => '应用id', 'value' => function ($data) {
    return $data->appid;
}, 'headerOptions' => ['data-hide' => 'all']], ['label' => '密钥', 'value' => function ($data) {
    return $data->secret;
}, 'headerOptions' => ['data-hide' => 'all']], ['label' => 'token', 'value' => function ($data) {
    return $data->token;
}, 'headerOptions' => ['data-hide' => 'all']], ['label' => '消息加密串', 'value' => function ($data) {
    return $data->encodekey;
}, 'headerOptions' => ['data-hide' => 'all']], 'created_at:date', ['class' => 'yii\\grid\\ActionColumn', 'header' => '操作', 'template' => '{update} {delete} {sel}', 'buttons' => ['sel' => function ($url, $model, $key) {
    return Html::a('<span>操作此公众号</span>', $url, ['title' => '选 择']);
}], 'headerOptions' => ['width' => '150']]]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #9
0
            -->
                <small>
                    <?php 
echo Html::a('<i class="fa fa-plus"></i> 新增', ['create'], ['class' => 'btn btn-primary btn-sm new-menu']);
?>
                </small>
            </h1>
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>

            <div class="col-xs-12 merchant-index">
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => ['id', 'merchant_name', 'wechatid', 'user_id', 'appid', 'secret', 'token', ['class' => 'yii\\grid\\ActionColumn']]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #10
0
    echo Url::toRoute(['create', 'category_id' => $cate->id]);
    ?>
" class="cate-plus"><i class="fa fa-plus"></i>增加</a>
                    </li>
                <?php 
}
?>
                 
                </ul>
                  
                </div>  
            </div>

            <div class="col-xs-10 goods-index">
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => [['label' => '主图', 'value' => function ($data) {
    if (!$data->attach) {
        return;
    }
    return $data->attach->getImg('tiny');
}, 'format' => 'image', 'headerOptions' => ['width' => '40']], 'name', 'category.name', 'intro:ntext', 'price', ['class' => 'yii\\grid\\ActionColumn', 'headerOptions' => ['width' => 80]]]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>
Пример #11
0
            -->
                <small>
                    <?php 
echo Html::a('<i class="fa fa-plus"></i> 新增', ['create'], ['class' => 'btn btn-primary btn-sm new-menu']);
?>
                </small>
            </h1>
        </div><!-- /.page-header -->

        <div class="row">
            <div class="col-xs-12">
                <div class="search-box search-outline">
                        <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>
                </div>
            </div>

            <div class="col-xs-12 attr-val-index">
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'tableOptions' => ['class' => 'table table-striped table-hover table-bordered table-condensed'], 'columns' => ['id', 'category_id', 'attr_id', 'val', ['class' => 'yii\\grid\\ActionColumn']]]);
?>
                <div class="hr hr-18 dotted hr-double"></div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content-area -->
</div>