index.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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="category">
  5. <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
  6. {foreach name="categoryList" item="vo"}
  7. <li><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
  8. {/foreach}
  9. <li class="pull-right dropdown filter-type">
  10. <a href="javascript:" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-filter"></i> {:__('Filter Type')}</a>
  11. <ul class="dropdown-menu text-left" role="menu">
  12. <li class="active"><a href="javascript:" data-value="">{:__('All')}</a></li>
  13. {foreach name="mimetypeList" id="item"}
  14. <li><a href="javascript:" data-value="{$key}">{$item}</a></li>
  15. {/foreach}
  16. </ul>
  17. </li>
  18. </ul>
  19. </div>-->
  20. <div class="panel-body">
  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. <!--<a class="btn btn-info btn-classify dropdown-toggle btn-disabled disabled {:$auth->check('general/attachment/edit')?'':'hide'}"><i class="fa fa-arrow-right"></i> {:__('Classify')}</a>-->
  27. </div>
  28. <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
  29. data-operate-edit="{:$auth->check('general/attachment/edit')}"
  30. data-operate-del="{:$auth->check('general/attachment/del')}"
  31. width="100%">
  32. </table>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. <script id="typetpl" type="text/html">
  39. <div class="row">
  40. <div class="col-xs-12">
  41. <select name="category" class="form-control">
  42. <option value="">{:__('Please select category')}</option>
  43. {foreach name="categoryList" id="item"}
  44. <option value="{$key}">{$item}</option>
  45. {/foreach}
  46. </select>
  47. </div>
  48. </div>
  49. </script>