作者 王小刚
1 个管道 的构建 通过 耗费 1 秒

cccc

@@ -7,10 +7,9 @@ @@ -7,10 +7,9 @@
7 <div class="widget-body no-padding"> 7 <div class="widget-body no-padding">
8 <div id="toolbar" class="toolbar"> 8 <div id="toolbar" class="toolbar">
9 {:build_toolbar('refresh')} 9 {:build_toolbar('refresh')}
10 - {:build_toolbar('add')} 10 + <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('auth/admin/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
11 </div> 11 </div>
12 <table id="table" class="table table-striped table-bordered table-hover" 12 <table id="table" class="table table-striped table-bordered table-hover"
13 - data-operate-add="{:$auth->check('auth/admin/add')}"  
14 data-operate-edit="{:$auth->check('auth/admin/edit')}" 13 data-operate-edit="{:$auth->check('auth/admin/edit')}"
15 data-operate-del="{:$auth->check('auth/admin/del')}" 14 data-operate-del="{:$auth->check('auth/admin/del')}"
16 width="100%"> 15 width="100%">