logo

pleroma-fe

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

limits_tab.vue (4046B)


  1. <template>
  2. <div :label="$t('admin_dash.tabs.limits')">
  3. <div class="setting-item">
  4. <h2>{{ $t('admin_dash.limits.arbitrary_limits') }}</h2>
  5. <ul class="setting-list">
  6. <li>
  7. <h3>{{ $t('admin_dash.limits.posts') }}</h3>
  8. <ul class="setting-list">
  9. <li>
  10. <IntegerSetting
  11. source="admin"
  12. path=":pleroma.:instance.:limit"
  13. draft-mode
  14. />
  15. </li>
  16. <li>
  17. <IntegerSetting
  18. source="admin"
  19. path=":pleroma.:instance.:remote_limit"
  20. expert="1"
  21. draft-mode
  22. />
  23. </li>
  24. </ul>
  25. </li>
  26. <li>
  27. <h3>{{ $t('admin_dash.limits.uploads') }}</h3>
  28. <ul class="setting-list">
  29. <li>
  30. <IntegerSetting
  31. source="admin"
  32. path=":pleroma.:instance.:description_limit"
  33. draft-mode
  34. />
  35. </li>
  36. <li>
  37. <IntegerSetting
  38. source="admin"
  39. path=":pleroma.:instance.:upload_limit"
  40. draft-mode
  41. />
  42. </li>
  43. <li>
  44. <IntegerSetting
  45. source="admin"
  46. path=":pleroma.:instance.:max_media_attachments"
  47. draft-mode
  48. />
  49. </li>
  50. </ul>
  51. </li>
  52. <li>
  53. <h3>{{ $t('admin_dash.limits.users') }}</h3>
  54. <ul class="setting-list">
  55. <li>
  56. <IntegerSetting
  57. source="admin"
  58. path=":pleroma.:instance.:max_pinned_statuses"
  59. draft-mode
  60. />
  61. </li>
  62. <li>
  63. <IntegerSetting
  64. source="admin"
  65. path=":pleroma.:instance.:user_bio_length"
  66. draft-mode
  67. />
  68. </li>
  69. <li>
  70. <IntegerSetting
  71. source="admin"
  72. path=":pleroma.:instance.:user_name_length"
  73. draft-mode
  74. />
  75. </li>
  76. <li>
  77. <h4>{{ $t('admin_dash.limits.profile_fields') }}</h4>
  78. <ul class="setting-list">
  79. <li>
  80. <IntegerSetting
  81. source="admin"
  82. path=":pleroma.:instance.:max_account_fields"
  83. draft-mode
  84. />
  85. </li>
  86. <li>
  87. <IntegerSetting
  88. source="admin"
  89. path=":pleroma.:instance.:max_remote_account_fields"
  90. draft-mode
  91. expert="1"
  92. />
  93. </li>
  94. <li>
  95. <IntegerSetting
  96. source="admin"
  97. path=":pleroma.:instance.:account_field_name_length"
  98. draft-mode
  99. />
  100. </li>
  101. <li>
  102. <IntegerSetting
  103. source="admin"
  104. path=":pleroma.:instance.:account_field_value_length"
  105. draft-mode
  106. />
  107. </li>
  108. </ul>
  109. </li>
  110. <li>
  111. <h4>{{ $t('admin_dash.limits.user_uploads') }}</h4>
  112. <ul class="setting-list">
  113. <li>
  114. <IntegerSetting
  115. source="admin"
  116. path=":pleroma.:instance.:avatar_upload_limit"
  117. draft-mode
  118. />
  119. </li>
  120. <li>
  121. <IntegerSetting
  122. source="admin"
  123. path=":pleroma.:instance.:banner_upload_limit"
  124. draft-mode
  125. />
  126. </li>
  127. </ul>
  128. </li>
  129. </ul>
  130. </li>
  131. </ul>
  132. </div>
  133. </div>
  134. </template>
  135. <script src="./limits_tab.js"></script>