index.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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="place">
  5. {foreach name="placeList" item="vo"}
  6. <li class="{:$Think.get.place === (string)$key ? 'active' : ''}" id="tab-place-{$key}"><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
  7. {/foreach}
  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('setting/banner/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('setting/banner/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
  18. <div class="dropdown btn-group {:$auth->check('setting/banner/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. <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>
  22. <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>
  23. </ul>
  24. </div>
  25. </div>
  26. <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
  27. data-operate-edit="{:$auth->check('setting/banner/edit')}"
  28. data-operate-del=""
  29. width="100%">
  30. </table>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </div>