logo

pleroma-fe

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

settings_modal_user_content.vue (2268B)


  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. :label="$t('settings.appearance')"
  18. icon="window-restore"
  19. data-tab-name="appearance"
  20. :delay-render="true"
  21. >
  22. <AppearanceTab />
  23. </div>
  24. <div
  25. v-if="expertLevel > 0 && !isMobileLayout"
  26. :label="$t('settings.style.themes3.editor.title')"
  27. icon="palette"
  28. data-tab-name="style"
  29. :delay-render="true"
  30. >
  31. <StyleTab />
  32. </div>
  33. <div
  34. v-if="expertLevel > 0 && !isMobileLayout"
  35. :label="$t('settings.theme_old')"
  36. icon="paint-brush"
  37. data-tab-name="theme"
  38. :delay-render="true"
  39. >
  40. <ThemeTab />
  41. </div>
  42. <div
  43. v-if="isLoggedIn"
  44. :label="$t('settings.profile_tab')"
  45. icon="user"
  46. data-tab-name="profile"
  47. >
  48. <ProfileTab />
  49. </div>
  50. <div
  51. v-if="isLoggedIn"
  52. :label="$t('settings.notifications')"
  53. icon="bell"
  54. data-tab-name="notifications"
  55. >
  56. <NotificationsTab />
  57. </div>
  58. <div
  59. v-if="isLoggedIn"
  60. :label="$t('settings.security_tab')"
  61. icon="lock"
  62. data-tab-name="security"
  63. >
  64. <SecurityTab />
  65. </div>
  66. <div
  67. :label="$t('settings.filtering')"
  68. icon="filter"
  69. data-tab-name="filtering"
  70. >
  71. <FilteringTab />
  72. </div>
  73. <div
  74. v-if="isLoggedIn"
  75. :label="$t('settings.mutes_and_blocks')"
  76. :fullHeight="true"
  77. icon="eye-slash"
  78. data-tab-name="mutesAndBlocks"
  79. >
  80. <MutesAndBlocksTab />
  81. </div>
  82. <div
  83. v-if="isLoggedIn"
  84. :label="$t('settings.data_import_export_tab')"
  85. icon="download"
  86. data-tab-name="dataImportExport"
  87. >
  88. <DataImportExportTab />
  89. </div>
  90. <div
  91. :label="$t('settings.version.title')"
  92. icon="info"
  93. data-tab-name="version"
  94. >
  95. <VersionTab />
  96. </div>
  97. </tab-switcher>
  98. </template>
  99. <script src="./settings_modal_user_content.js"></script>
  100. <style src="./settings_modal_user_content.scss" lang="scss"></style>