index.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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="activestatus">
  5. <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
  6. <li class="{:$Think.get.status === (string)0 ? 'active' : ''}"><a href="#t-0" data-value="normal" data-toggle="tab">正常</a></li>
  7. <li class="{:$Think.get.status === (string)1 ? 'active' : ''}"><a href="#t-1" data-value="passed" data-toggle="tab">已过期</a></li>
  8. </ul>
  9. </div>
  10. <div class="panel-body">
  11. <div id="myTabContent" class="tab-content">
  12. <div class="tab-pane fade active in" id="one">
  13. <div class="widget-body no-padding">
  14. <div id="toolbar" class="toolbar">
  15. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
  16. <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('unishop/product/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
  17. <!--<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('unishop/product/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
  18. <!--<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('unishop/product/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>-->
  19. <!--<div class="dropdown btn-group {:$auth->check('unishop/product/multi')?'':'hide'}">
  20. <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
  21. <ul class="dropdown-menu text-left" role="menu">
  22. <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>
  23. <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>
  24. </ul>
  25. </div>-->
  26. <a class="btn btn-success btn-recyclebin btn-dialog {:$auth->check('unishop/product/recyclebin')?'':'hide'}" href="unishop/product/recyclebin" title="{:__('Recycle bin')}"><i class="fa fa-recycle"></i> {:__('Recycle bin')}</a>
  27. </div>
  28. <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
  29. data-operate-edit="{:$auth->check('unishop/product/edit')}"
  30. data-operate-del="{:$auth->check('unishop/product/del')}"
  31. width="100%">
  32. </table>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. </div>