select.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {if !$Think.get.mimetype}
  2. <style>
  3. #one .commonsearch-table{
  4. padding-top:15px!important;
  5. }
  6. </style>
  7. {/if}
  8. <div class="panel panel-default panel-intro">
  9. {if !$Think.get.mimetype}
  10. <div class="panel-heading">
  11. {:build_heading(null,FALSE)}
  12. <ul class="nav nav-tabs" data-field="mimetype">
  13. <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
  14. {foreach name="mimetypeList" item="vo"}
  15. <li><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
  16. {/foreach}
  17. </ul>
  18. </div>
  19. {/if}
  20. <div class="panel-body no-padding">
  21. <div id="myTabContent" class="tab-content">
  22. <div class="tab-pane fade active in" id="one">
  23. <div class="widget-body no-padding">
  24. <div id="toolbar" class="toolbar">
  25. {:build_toolbar('refresh')}
  26. <span><button type="button" id="faupload-image" class="btn btn-success faupload" data-mimetype="{$Think.get.mimetype|default=''}" data-multiple="true"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  27. {if request()->get('multiple') == 'true'}
  28. <a class="btn btn-danger btn-choose-multi"><i class="fa fa-check"></i> {:__('Choose')}</a>
  29. {/if}
  30. </div>
  31. <table id="table" class="table table-bordered table-hover" width="100%">
  32. </table>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. </div>