attachment.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <link rel="stylesheet" href="__CDN__/assets/libs/bootstrap-table/dist/bootstrap-table.min.css">
  2. {if $Think.get.dialog}
  3. <style>
  4. body {
  5. padding-top: 0;
  6. background: #fff;
  7. }
  8. nav.navbar-fixed-top, footer.footer {
  9. display: none;
  10. }
  11. main.content {
  12. padding: 0;
  13. }
  14. .fixed-table-container {
  15. border: none;
  16. }
  17. .panel-heading .nav-tabs {
  18. padding: 0 15px;
  19. }
  20. .panel-heading .nav-tabs li {
  21. font-size: 14px;
  22. }
  23. </style>
  24. {/if}
  25. <div class="panel panel-default panel-intro" style="padding:0;">
  26. {if !$Think.get.mimetype||$Think.get.mimetype=='*'}
  27. <div class="panel-heading">
  28. <ul class="nav nav-tabs" data-field="mimetype">
  29. <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
  30. {foreach name="mimetypeList" item="vo"}
  31. <li><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
  32. {/foreach}
  33. </ul>
  34. </div>
  35. {/if}
  36. <div class="panel-body">
  37. <div id="myTabContent" class="tab-content">
  38. <div class="tab-pane fade active in" id="one">
  39. <div class="widget-body no-padding">
  40. <div id="toolbar" class="toolbar">
  41. <a href="javascript:;" class="btn btn-primary btn-refresh" title="刷新"><i class="fa fa-refresh"></i> </a>
  42. <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>
  43. {if request()->get('multiple') == 'true'}
  44. <a class="btn btn-danger btn-choose-multi"><i class="fa fa-check"></i> {:__('Choose')}</a>
  45. {/if}
  46. </div>
  47. <table id="table" class="table table-bordered table-hover" width="100%">
  48. </table>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>