From 6816bc8badb34a41e41718b0d42e1021c974ff64 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 5 May 2023 01:50:41 +0300 Subject: [PATCH] remove unused stuff --- .../admin_tabs/frontends_tab.vue | 8 +- .../admin_tabs/instance_tab.vue | 108 +++++------------- .../settings_modal/admin_tabs/limits_tab.vue | 56 +++------ 3 files changed, 43 insertions(+), 129 deletions(-) diff --git a/src/components/settings_modal/admin_tabs/frontends_tab.vue b/src/components/settings_modal/admin_tabs/frontends_tab.vue index e108a96389..5281ef222e 100644 --- a/src/components/settings_modal/admin_tabs/frontends_tab.vue +++ b/src/components/settings_modal/admin_tabs/frontends_tab.vue @@ -13,14 +13,10 @@

{{ $t('admin_dash.frontend.default_frontend_tip2') }}

  • - - NAME - +
  • - - REF - +
  • diff --git a/src/components/settings_modal/admin_tabs/instance_tab.vue b/src/components/settings_modal/admin_tabs/instance_tab.vue index e519e135a7..d537adb6f3 100644 --- a/src/components/settings_modal/admin_tabs/instance_tab.vue +++ b/src/components/settings_modal/admin_tabs/instance_tab.vue @@ -4,34 +4,22 @@

    {{ $t('admin_dash.instance.instance') }}

    • - - NAME - +
    • - - ADMIN EMAIL - +
    • - - DESCRIPTION - +
    • - - SHORT DESCRIPTION - +
    • - - INSTANCE THUMBNAIL - +
    • - - BACKGROUND IMAGE - +
    @@ -39,53 +27,39 @@

    {{ $t('admin_dash.instance.registrations') }}

    • - - REGISTRATIONS OPEN - +
      • - INVITES ENABLED - + />
    • - - BDEY REQUIRED - +
      • - BDEY age of consent - + />
    • - - ACTIVATION REQUIRED - +
    • - - APPROVAL REQUIRED - +
    • {{ $t('admin_dash.instance.captcha_header') }}

    • - - CAPTCHA - +
      • - CAPTCHA TYPE - + /> - VALID - + />

        {{ $t('admin_dash.instance.kocaptcha') }}

      • - - cockAPTCHA ENDPOINT - +
    • @@ -124,17 +92,13 @@

      {{ $t('admin_dash.instance.access') }}

      • - - PUBLIC - +
      • {{ $t('admin_dash.instance.restrict.header') }}

      • - - SEARCH RESTRICTION - +
      • {{ $t('admin_dash.instance.restrict.timelines') }}

        @@ -145,9 +109,7 @@ indeterminate-state=":if_instance_is_private" swap-description-and-label hide-description - > - LOCAL TIMELINES - + />
      • - FED TIMELINES - + />
      • - - TIMELINES - +
      • {{ $t('admin_dash.instance.restrict.profiles') }}

        @@ -173,9 +131,7 @@ indeterminate-state=":if_instance_is_private" swap-description-and-label hide-description - > - LOCAL PROFILES - + />
      • - FED PROFILES - + />
      • - - PROFILES - +
      • {{ $t('admin_dash.instance.restrict.activities') }}

        @@ -201,9 +153,7 @@ indeterminate-state=":if_instance_is_private" swap-description-and-label hide-description - > - LOCAL STATUSES - + />
      • - FED STATUSES - + />
      • - - STATUSES - +
      diff --git a/src/components/settings_modal/admin_tabs/limits_tab.vue b/src/components/settings_modal/admin_tabs/limits_tab.vue index f7a70c9703..068f2cdab0 100644 --- a/src/components/settings_modal/admin_tabs/limits_tab.vue +++ b/src/components/settings_modal/admin_tabs/limits_tab.vue @@ -11,9 +11,7 @@ source="admin" path=":pleroma.:instance.:limit" draft-mode - > - POST LIMIT - + />
    • - POST LIMIT (remote) - + />
    • {{ $t('admin_dash.limits.uploads') }}

      @@ -33,27 +29,21 @@ source="admin" path=":pleroma.:instance.:description_limit" draft-mode - > - IMAGE DESCRIPTION LIMIT - + />
    • - UPLOAD LIMIT KiB - + />
    • - MAX ATTACHMENTS - + />
    • {{ $t('admin_dash.limits.users') }}

      @@ -63,27 +53,21 @@ source="admin" path=":pleroma.:instance.:max_pinned_statuses" draft-mode - > - MAX PINNED POSTS - + />
    • - BIO LENGTH - + />
    • - NAME LENGTH - + />
    • {{ $t('admin_dash.limits.profile_fields') }}

      @@ -93,9 +77,7 @@ source="admin" path=":pleroma.:instance.:max_account_fields" draft-mode - > - MAX ACCOUNT FIELDS - + />
    • - MAX ACCOUNT FIELDS (remote) - + />
    • - MAX ACCOUNT FIELD NAME - + />
    • - MAX ACCOUNT VALUE NAME - + />
    • {{ $t('admin_dash.limits.user_uploads') }}

      @@ -133,18 +109,14 @@ source="admin" path=":pleroma.:instance.:avatar_upload_limit" draft-mode - > - MAX AVATAR SIZE KiB - + />
    • - MAX BANNER SIZE KiB - + />