logo

pleroma-fe

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

settings_modal_content.vue (1774B)


  1. <template>
  2. <tab-switcher
  3. ref="tabSwitcher"
  4. class="settings_tab-switcher"
  5. :side-tab-bar="true"
  6. :scrollable-tabs="true"
  7. :body-scroll-lock="bodyLock"
  8. >
  9. <div
  10. :label="$t('settings.general')"
  11. icon="wrench"
  12. data-tab-name="general"
  13. >
  14. <GeneralTab />
  15. </div>
  16. <div
  17. v-if="isLoggedIn"
  18. :label="$t('settings.profile_tab')"
  19. icon="user"
  20. data-tab-name="profile"
  21. >
  22. <ProfileTab />
  23. </div>
  24. <div
  25. v-if="isLoggedIn"
  26. :label="$t('settings.security_tab')"
  27. icon="lock"
  28. data-tab-name="security"
  29. >
  30. <SecurityTab />
  31. </div>
  32. <div
  33. :label="$t('settings.filtering')"
  34. icon="filter"
  35. data-tab-name="filtering"
  36. >
  37. <FilteringTab />
  38. </div>
  39. <div
  40. :label="$t('settings.theme')"
  41. icon="paint-brush"
  42. data-tab-name="theme"
  43. >
  44. <ThemeTab />
  45. </div>
  46. <div
  47. v-if="isLoggedIn"
  48. :label="$t('settings.notifications')"
  49. icon="bell"
  50. data-tab-name="notifications"
  51. >
  52. <NotificationsTab />
  53. </div>
  54. <div
  55. v-if="isLoggedIn"
  56. :label="$t('settings.data_import_export_tab')"
  57. icon="download"
  58. data-tab-name="dataImportExport"
  59. >
  60. <DataImportExportTab />
  61. </div>
  62. <div
  63. v-if="isLoggedIn"
  64. :label="$t('settings.mutes_and_blocks')"
  65. :fullHeight="true"
  66. icon="eye-slash"
  67. data-tab-name="mutesAndBlocks"
  68. >
  69. <MutesAndBlocksTab />
  70. </div>
  71. <div
  72. :label="$t('settings.version.title')"
  73. icon="info"
  74. data-tab-name="version"
  75. >
  76. <VersionTab />
  77. </div>
  78. </tab-switcher>
  79. </template>
  80. <script src="./settings_modal_content.js"></script>
  81. <style src="./settings_modal_content.scss" lang="scss"></style>