upload.html 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. <table class="table table-hover margin-bottom-10" id="sample-table-1">
  2. <thead>
  3. <tr>
  4. <th class="center noborder">序号</th>
  5. <th class="noborder">附件名称</th>
  6. <th class="noborder">上传时间</th>
  7. <th class="hidden-xs noborder">文件大小</th>
  8. <th class="hidden-xs noborder">文件类型</th>
  9. <!-- <th class="center noborder">附件预览</th> -->
  10. <th class="center noborder">附件下载</th>
  11. </tr>
  12. </thead>
  13. <tbody>
  14. <tr ng-repeat="attachment in attachments">
  15. <td class="center noborder">{{$index + 1}}</td>
  16. <td class="hidden-xs noborder">{{attachment.name}}</td>
  17. <td class="noborder">{{attachment.addTime|date:'yyyy-MM-dd HH:mm:ss'}}</td>
  18. <td class="noborder" nowrap>{{ attachment.size/1024/1024|number:2 }} MB</td>
  19. <td class="noborder">{{attachment.suffix}}</td>
  20. <!-- <td class="center noborder">
  21. <div class="visible-md visible-lg hidden-sm hidden-xs">
  22. <a ng-click="view(attachment.id,attachment.previewUrl)" class="btn btn-transparent btn-xs" tooltip-placement="top" tooltip="预览"><i class="icon iconfont icon-icon_yulan fn fontcolor-twelve fontsizes-8"></i></a>
  23. </div>
  24. </td> -->
  25. <td class="center noborder">
  26. <div class="visible-md visible-lg hidden-sm hidden-xs">
  27. <a ng-click="download(attachment.token,attachment.name)" class="btn btn-transparent btn-xs" tooltip-placement="top" tooltip="下载"><i class="icon iconfont icon-icon_updown fn fontcolor-twelve fontsizes-14"></i></a>
  28. </div>
  29. </td>
  30. </tr>
  31. </tbody>
  32. </table>