logo

pleroma-fe

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

user_list_menu.vue (1059B)


  1. <template>
  2. <div class="UserListMenu">
  3. <Popover
  4. trigger="hover"
  5. placement="right"
  6. :trigger-attrs="triggerAttrs"
  7. remove-padding
  8. >
  9. <template #content>
  10. <div class="dropdown-menu">
  11. <div
  12. v-for="list in lists"
  13. :key="list.id"
  14. class="menu-item dropdown-item -icon"
  15. >
  16. <button
  17. class="main-button"
  18. @click="toggleList(list.id)"
  19. >
  20. <span
  21. class="input menu-checkbox"
  22. :class="{ 'menu-checkbox-checked': list.inList }"
  23. />
  24. {{ list.title }}
  25. </button>
  26. </div>
  27. </div>
  28. </template>
  29. <template #trigger>
  30. <span class="main-button">
  31. {{ $t('lists.manage_lists') }}
  32. <FAIcon
  33. class="chevron-icon"
  34. size="lg"
  35. icon="chevron-right"
  36. />
  37. </span>
  38. </template>
  39. </Popover>
  40. </div>
  41. </template>
  42. <script src="./user_list_menu.js"></script>