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


  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
  21. scope="global"
  22. keypath="admin_dash.nodb.text"
  23. >
  24. <template #documentation>
  25. <a
  26. href="https://docs-develop.pleroma.social/backend/configuration/howto_database_config/"
  27. target="_blank"
  28. >
  29. {{ $t("admin_dash.nodb.documentation") }}
  30. </a>
  31. </template>
  32. <template #property>
  33. <code>config :pleroma, configurable_from_database</code>
  34. </template>
  35. <template #value>
  36. <code>true</code>
  37. </template>
  38. </i18n-t>
  39. <p>{{ $t('admin_dash.nodb.text2') }}</p>
  40. </div>
  41. </div>
  42. </div>
  43. <div
  44. v-if="adminDbLoaded"
  45. :label="$t('admin_dash.tabs.instance')"
  46. icon="wrench"
  47. data-tab-name="general"
  48. >
  49. <InstanceTab />
  50. </div>
  51. <div
  52. v-if="adminDbLoaded"
  53. :label="$t('admin_dash.tabs.limits')"
  54. icon="hand"
  55. data-tab-name="limits"
  56. >
  57. <LimitsTab />
  58. </div>
  59. <div
  60. :label="$t('admin_dash.tabs.frontends')"
  61. icon="laptop-code"
  62. data-tab-name="frontends"
  63. >
  64. <FrontendsTab />
  65. </div>
  66. <div
  67. :label="$t('admin_dash.tabs.emoji')"
  68. icon="face-smile-beam"
  69. data-tab-name="emoji"
  70. >
  71. <EmojiTab />
  72. </div>
  73. </tab-switcher>
  74. </template>
  75. <script src="./settings_modal_admin_content.js"></script>
  76. <style src="./settings_modal_admin_content.scss" lang="scss"></style>