file.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {include file="../../../application/admin/view_new/public/head" /}
  2. <div class="page-container p10">
  3. <div class="my-btn-box lh30" >
  4. <div class="layui-btn-group fl">
  5. <a href="{:url('data')}" class="layui-btn layui-btn-primary "><i class="layui-icon">&#xe620;</i>{:lang('return')}</a>
  6. <a data-href="{:url('del')}" class="layui-btn layui-btn-primary j-page-btns confirm"><i class="layui-icon">&#xe640;</i>{:lang('del')}</a>
  7. </div>
  8. <div class="page-filter fr" >
  9. </div>
  10. </div>
  11. <form class="layui-form " method="post" id="pageListForm">
  12. <table class="layui-table mt10">
  13. <thead>
  14. <tr>
  15. <th><input type="checkbox" lay-skin="primary" lay-filter="allChoose">{:lang('file_name')}</th>
  16. <th width="200">{:lang('file_size')}</th>
  17. <th width="200">{:lang('file_time')}</th>
  18. </tr>
  19. </thead>
  20. {if condition="$ischild eq 1"}
  21. <tr><td colspan="3"><a href="{:url('annex/file',['path'=>$uppath])}">...{:lang('return_parent_dir')}</a></td></tr>
  22. {/if}
  23. {volist name="files" id="vo"}
  24. <tr>
  25. {if condition="$vo.isfile eq 1"}
  26. <th><input type="checkbox" name="ids[]" value=".{$vo.path}" class="layui-checkbox checkbox-ids" lay-skin="primary"> <a href="{$vo.path}" target="_blank">{$vo.name}</a></th>
  27. <td>{$vo.size}</td>
  28. <td>{$vo.time|mac_day='color'}</td>
  29. {else}
  30. <th><a href="{:url('annex/file',['path'=>$vo.path])}">{$vo.name}</a></th>
  31. <td></td>
  32. <td></td>
  33. {/if}
  34. </tr>
  35. {/volist}
  36. </tbody>
  37. <tfoot>
  38. <tr><td colspan="3">{:lang('sum')}<b class="red">{$num_path}</b>{:lang('dir')},<b class="red">{$num_file}</b>{:lang('file')},{:lang('occupies')}<b class="red">{$sum_size}</b>{:lang('space')}</td></tr>
  39. </tfoot>
  40. </table>
  41. </form>
  42. </div>
  43. {include file="../../../application/admin/view_new/public/foot" /}
  44. <script type="text/javascript">
  45. layui.use(['element', 'layer'], function() {
  46. });
  47. </script>
  48. </body>
  49. </html>