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_admin_content.vue (2024B)


  1. <template>
  2. <tab-switcher
  3. v-if="adminDescriptionsLoaded && (noDb || adminDbLoaded)"
  4. ref="tabSwitcher"
  5. class="settings_tab-switcher"
  6. :side-tab-bar="true"
  7. :scrollable-tabs="true"
  8. :render-only-focused="true"
  9. :body-scroll-lock="bodyLock"
  10. >
  11. <div
  12. v-if="noDb"
  13. :label="$t('admin_dash.tabs.nodb')"
  14. icon="exclamation-triangle"
  15. data-tab-name="nodb-notice"
  16. >
  17. <div :label="$t('admin_dash.tabs.nodb')">
  18. <div class="setting-item">
  19. <h2>{{ $t('admin_dash.nodb.heading') }}</h2>
  20. <i18n-t keypath="admin_dash.nodb.text">
  21. <template #documentation>
  22. <a
  23. href="https://docs-develop.pleroma.social/backend/configuration/howto_database_config/"
  24. target="_blank"
  25. >
  26. {{ $t("admin_dash.nodb.documentation") }}
  27. </a>
  28. </template>
  29. <template #property>
  30. <code>config :pleroma, configurable_from_database</code>
  31. </template>
  32. <template #value>
  33. <code>true</code>
  34. </template>
  35. </i18n-t>
  36. <p>{{ $t('admin_dash.nodb.text2') }}</p>
  37. </div>
  38. </div>
  39. </div>
  40. <div
  41. v-if="adminDbLoaded"
  42. :label="$t('admin_dash.tabs.instance')"
  43. icon="wrench"
  44. data-tab-name="general"
  45. >
  46. <InstanceTab />
  47. </div>
  48. <div
  49. v-if="adminDbLoaded"
  50. :label="$t('admin_dash.tabs.limits')"
  51. icon="hand"
  52. data-tab-name="limits"
  53. >
  54. <LimitsTab />
  55. </div>
  56. <div
  57. :label="$t('admin_dash.tabs.frontends')"
  58. icon="laptop-code"
  59. data-tab-name="frontends"
  60. >
  61. <FrontendsTab />
  62. </div>
  63. <div
  64. :label="$t('admin_dash.tabs.emoji')"
  65. icon="face-smile-beam"
  66. data-tab-name="emoji"
  67. >
  68. <EmojiTab />
  69. </div>
  70. </tab-switcher>
  71. </template>
  72. <script src="./settings_modal_admin_content.js"></script>
  73. <style src="./settings_modal_admin_content.scss" lang="scss"></style>