logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

lists_card.vue (658B)


  1. <template>
  2. <div class="list-card">
  3. <router-link
  4. :to="{ name: 'lists-timeline', params: { id: list.id } }"
  5. class="list-name"
  6. >
  7. {{ list.title }}
  8. </router-link>
  9. <router-link
  10. :to="{ name: 'lists-edit', params: { id: list.id } }"
  11. class="button-list-edit"
  12. >
  13. <FAIcon
  14. class="fa-scale-110 fa-old-padding"
  15. icon="ellipsis-h"
  16. />
  17. </router-link>
  18. </div>
  19. </template>
  20. <script src="./lists_card.js"></script>
  21. <style lang="scss">
  22. .list-card {
  23. display: flex;
  24. }
  25. .list-name {
  26. flex-grow: 1;
  27. }
  28. .list-name,
  29. .button-list-edit {
  30. margin: 0;
  31. padding: 1em;
  32. color: var(--link);
  33. }
  34. </style>