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.

45 lines
1.4 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. <buckets>
  2. <div class="buckets">
  3. <div class="tile is-ancestor">
  4. <div class="tile is-3 is-parent" each={ bucket in props.buckets }>
  5. <div class="tile is-child">
  6. <a class="buckets__item" href="/bucket/{ bucket.id }">
  7. <div class="content">
  8. <p class="title is-4">
  9. { bucket.name }
  10. </p>
  11. <div class="tags are-medium" if={ bucket.tags && bucket.tags.length > 0 }>
  12. <span class="tag is-white" each={ tag in bucket.tags }>{ tag }</span>
  13. </div>
  14. </div>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="buckets__more">
  20. <button type="button" class="button" onclick={ handleClick }>
  21. More
  22. <span class="icon is-small is-left">
  23. <svg aria-hidden="true">
  24. <use xlink:href="/symbol-defs.svg#icon-add-circle"></use>
  25. </svg>
  26. </span>
  27. </button>
  28. </div>
  29. </div>
  30. <script>
  31. /**
  32. *
  33. *
  34. * @author Björn Hase
  35. *
  36. */
  37. export default {
  38. handleClick() {
  39. }
  40. }
  41. </script>
  42. </buckets>