select.html 2.2 KB

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