index.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <div class="panel panel-default panel-intro">
  2. <div class="panel-heading">
  3. {:build_heading(null,FALSE)}
  4. <ul class="nav nav-tabs">
  5. <li class="active"><a href="#all" data-toggle="tab">{:__('All')}</a></li>
  6. {foreach name="typeList" item="vo"}
  7. <li><a href="#{$key}" data-toggle="tab">{$vo}</a></li>
  8. {/foreach}
  9. </ul>
  10. </div>
  11. <div class="panel-body">
  12. <div id="myTabContent" class="tab-content">
  13. <div class="tab-pane fade active in" id="one">
  14. <div class="widget-body no-padding">
  15. <div id="toolbar" class="toolbar">
  16. {:build_toolbar('refresh,add,edit,del')}
  17. <div class="dropdown btn-group {:$auth->check('category/multi')?'':'hide'}">
  18. <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
  19. <ul class="dropdown-menu text-left" role="menu">
  20. <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>
  21. <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>
  22. </ul>
  23. </div>
  24. </div>
  25. <table id="table" class="table table-striped table-bordered table-hover"
  26. data-operate-edit="{:$auth->check('category/edit')}"
  27. data-operate-del="{:$auth->check('category/del')}"
  28. width="100%">
  29. </table>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>