From 968b82caccb78b30a89b76187e999973774cf62d Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Thu, 12 Oct 2023 12:04:46 +0200 Subject: Remove UI draft MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For now we will keep the existing UI and only change the API behind it Signed-off-by: Côme Chilliet --- apps/settings/src/components/SetupCheck.vue | 123 --------------------- apps/settings/src/main-admin-setup-check.js | 43 ------- .../settings/templates/settings/admin/overview.php | 3 - 3 files changed, 169 deletions(-) delete mode 100644 apps/settings/src/components/SetupCheck.vue delete mode 100644 apps/settings/src/main-admin-setup-check.js (limited to 'apps/settings') diff --git a/apps/settings/src/components/SetupCheck.vue b/apps/settings/src/components/SetupCheck.vue deleted file mode 100644 index 885145bfffa..00000000000 --- a/apps/settings/src/components/SetupCheck.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - - - diff --git a/apps/settings/src/main-admin-setup-check.js b/apps/settings/src/main-admin-setup-check.js deleted file mode 100644 index 5f984fd626a..00000000000 --- a/apps/settings/src/main-admin-setup-check.js +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @copyright 2022 Christopher Ng - * - * @author Christopher Ng - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - */ - -import Vue from 'vue' -import { getRequestToken } from '@nextcloud/auth' -import { translate as t } from '@nextcloud/l10n' - -import logger from './logger.js' - -import SetupCheck from './components/SetupCheck.vue' - -__webpack_nonce__ = btoa(getRequestToken()) - -Vue.mixin({ - props: { - logger, - }, - methods: { - t, - }, -}) - -const SetupCheckView = Vue.extend(SetupCheck) -new SetupCheckView().$mount('#vue-admin-setup-check') diff --git a/apps/settings/templates/settings/admin/overview.php b/apps/settings/templates/settings/admin/overview.php index 69f1479fc16..d8b3674f47e 100644 --- a/apps/settings/templates/settings/admin/overview.php +++ b/apps/settings/templates/settings/admin/overview.php @@ -25,7 +25,6 @@ /** @var array $_ */ /** @var \OCP\Defaults $theme */ -\OCP\Util::addScript('settings', 'vue-settings-admin-setup-check'); ?>
@@ -67,8 +66,6 @@
-
-

t('Version'));?>

-- cgit v1.2.3