index.html 2.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <div class="panel panel-default panel-intro">
  2. {:build_heading()}
  3. <div class="panel-body">
  4. <div id="myTabContent" class="tab-content">
  5. <div class="tab-pane fade active in" id="one">
  6. <div class="widget-body no-padding">
  7. <div id="toolbar" class="toolbar">
  8. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
  9. <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('unishop/ads/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
  10. <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('unishop/ads/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
  11. <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('unishop/ads/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
  12. <!-- <a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('unishop/ads/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>-->
  13. <div class="dropdown btn-group {:$auth->check('unishop/ads/multi')?'':'hide'}">
  14. <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
  15. <ul class="dropdown-menu text-left" role="menu">
  16. <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>
  17. <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>
  18. </ul>
  19. </div>
  20. </div>
  21. <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
  22. data-operate-edit="{:$auth->check('unishop/ads/edit')}"
  23. data-operate-del="{:$auth->check('unishop/ads/del')}"
  24. width="100%">
  25. </table>
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. </div>