index.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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-success btn-edit btn-disabled disabled {:$auth->check('greenroom/withdrawal/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
  17. <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('greenroom/withdrawal/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
  18. <div class="dropdown btn-group {:$auth->check('greenroom/withdrawal/multi')?'':'hide'}">
  19. <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
  20. <ul class="dropdown-menu text-left" role="menu">
  21. {foreach name="statusList" item="vo"}
  22. <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:" data-params="status={$key}">{:__('Set status to ' . $key)}</a></li>
  23. {/foreach}
  24. </ul>
  25. </div>
  26. </div>
  27. <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
  28. data-operate-edit="{:$auth->check('greenroom/withdrawal/edit')}"
  29. data-operate-del="{:$auth->check('greenroom/withdrawal/del')}"
  30. width="100%">
  31. </table>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. </div>