You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.9 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. <urban-filemanager-file>
  2. <div class="file-table__row">
  3. <div class="file-table__column file-table__column--select" onchange={ (event) => { props.handleMarked(event, this) } }>
  4. <input type="checkbox" value="true" />
  5. </div>
  6. <div class="file-table__column file-table__column--filename">
  7. { props.file.filename }
  8. </div>
  9. <div class="file-table__column file-table__column--size">
  10. <div class="file-table__inner has-text-right width-100">{ props.file.meta.size }</div>
  11. </div>
  12. <div class="file-table__column file-table__column--date">
  13. <div class="file-table__inner has-text-right">{ props.file.meta.updated_at }</div>
  14. </div>
  15. <div class="file-table__column file-table__column--actions">
  16. <div class="file-table__inner has-text-right">
  17. <svg class="icon fill-success mr-1" aria-hidden="true" disabled onclick={ () => { props.actions.handlePreview(event, this) } }>
  18. <use xlink:href="/symbol-defs.svg#icon-eye"></use>
  19. </svg>
  20. <svg class="icon fill-success mr-1" aria-hidden="true" onclick={ () => { props.actions.handleDownload(event, this) } }>
  21. <use xlink:href="/symbol-defs.svg#icon-download"></use>
  22. </svg>
  23. <svg class="icon fill-danger mr-1" aria-hidden="true" onclick={ () => { props.actions.handleDelete(event, this) } }>
  24. <use xlink:href="/symbol-defs.svg#icon-delete"></use>
  25. </svg>
  26. <svg class="icon fill-grey mr-1" aria-hidden="true" onclick={ () => { props.actions.handleMarked(event, this) } }>
  27. <use xlink:href="/symbol-defs.svg#icon-build"></use>
  28. </svg>
  29. </div>
  30. </div>
  31. </div>
  32. <script>
  33. export default {
  34. }
  35. </script>
  36. </urban-filemanager-file>