index.html 2.5 KB

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