index.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <div class="panel panel-default panel-intro">
  2. <div class="panel-heading">
  3. {:build_heading(null,FALSE)}
  4. <ul class="nav nav-tabs" data-field="status">
  5. <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
  6. {foreach name="statusList" item="vo"}
  7. <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$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. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
  17. <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('exam/question/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
  18. <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('exam/question/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
  19. <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('exam/question/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
  20. <a href="javascript:;" class="btn btn-danger btn-importPage {:$auth->check('exam/question/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file"><i class="fa fa-upload"></i> {:__('Import')}</a>
  21. <!--<div class="dropdown btn-group {:$auth->check('exam/question/multi')?'':'hide'}">
  22. <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
  23. <ul class="dropdown-menu text-left" role="menu">
  24. <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>
  25. <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>
  26. </ul>
  27. </div>-->
  28. <a class="btn btn-success btn-recyclebin btn-dialog {:$auth->check('exam/question/recyclebin')?'':'hide'}" href="exam/question/recyclebin" title="{:__('Recycle bin')}"><i class="fa fa-recycle"></i> {:__('Recycle bin')}</a>
  29. </div>
  30. <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
  31. data-operate-edit="{:$auth->check('exam/question/edit')}"
  32. data-operate-del="{:$auth->check('exam/question/del')}"
  33. width="100%">
  34. </table>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>