logo

pleroma-fe

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

bookmark_folders.vue (841B)


  1. <template>
  2. <div class="Bookmark-folders panel panel-default">
  3. <div class="panel-heading">
  4. <h1 class="title">
  5. {{ $t('nav.bookmark_folders') }}
  6. </h1>
  7. <router-link
  8. :to="{ name: 'bookmark-folder-new' }"
  9. class="button-default btn new-folder-button"
  10. >
  11. {{ $t("bookmark_folders.new") }}
  12. </router-link>
  13. </div>
  14. <div class="panel-body">
  15. <BookmarkFolderCard
  16. :all-bookmarks="true"
  17. class="list-item"
  18. />
  19. <BookmarkFolderCard
  20. v-for="folder in bookmarkFolders.slice().reverse()"
  21. :key="folder"
  22. :folder="folder"
  23. class="list-item"
  24. />
  25. </div>
  26. </div>
  27. </template>
  28. <script src="./bookmark_folders.js"></script>
  29. <style lang="scss">
  30. .Bookmark-folders {
  31. .new-folder-button {
  32. padding: 0 0.5em;
  33. }
  34. }
  35. </style>