index.html 4.1 KB
<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                class="fa fa-refresh"></i> </a>
                        <a href="javascript:;"
                           class="btn btn-success btn-add {:$auth->check('litestore/litestoregoods/add')?'':'hide'}"
                           title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;"
                           class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('litestore/litestoregoods/edit')?'':'hide'}"
                           title="{:__('Edit')}"><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;"
                           class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('litestore/litestoregoods/del')?'':'hide'}"
                           title="{:__('Delete')}"><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a href="javascript:;"
                           class="btn btn-danger btn-import {:$auth->check('litestore/litestoregoods/import')?'':'hide'}"
                           title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload"
                           data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i>
                            {:__('Import')}</a>
                        <!--                                                <a href="javascript:;"-->
                        <!--                           class="btn btn-info btn-change btn-export btn-disable" data-params="action=export"-->
                        <!--                           data-url="litestore/litestoregoods/export"-->
                        <!--                           title="{:__('批量导出')}"><i class="fa fa-download"></i>{:__('批量导出')}</a>-->
                        <a href="javascript:;"
                           class="btn btn-info btn-export {:$auth->check('litestore/litestoregoods/export')?'':'hide'}"
                           title="{:__('Export')}" id="btn-export-file"><i class="fa fa-download"></i> 批量导出</a>
                        <a href="{$template}" class="btn btn-info"><i class="fa fa-folder-open"></i> {:__('导入模板下载')}</a>

                        <!--                        <div class="dropdown btn-group {:$auth->check('litestore/litestoregoods/multi')?'':'hide'}">-->
                        <!--                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>-->
                        <!--                            <ul class="dropdown-menu text-left" role="menu">-->
                        <!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>-->
                        <!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>-->
                        <!--                            </ul>-->
                        <!--                        </div>-->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('litestore/litestoregoods/edit')}"
                           data-operate-del="{:$auth->check('litestore/litestoregoods/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>