From e90304681303db5a343a9cd85edfb7e4e8cc9a59 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Thu, 21 Jan 2021 16:45:59 +0100 Subject: [PATCH] Basic settings restructure - created new central settings page and moved there all settings from the nav menu --- ghost/admin/app/components/gh-nav-menu.hbs | 8 +-- ghost/admin/app/router.js | 2 + ghost/admin/app/routes/settings.js | 4 ++ ghost/admin/app/styles/layouts/settings.css | 52 ++++++++++++++++++ ghost/admin/app/templates/settings.hbs | 55 +++++++++++++++++++ .../settings/code-injection-loading.hbs | 2 + .../app/templates/settings/code-injection.hbs | 2 + .../app/templates/settings/design-loading.hbs | 2 + ghost/admin/app/templates/settings/design.hbs | 2 + .../templates/settings/general-loading.hbs | 4 +- .../admin/app/templates/settings/general.hbs | 4 +- .../settings/integration-loading.hbs | 2 + .../app/templates/settings/integration.hbs | 2 + .../app/templates/settings/integrations.hbs | 2 + .../settings/integrations/amp-loading.hbs | 4 ++ .../templates/settings/integrations/amp.hbs | 2 + .../settings/integrations/firstpromoter.hbs | 2 + .../settings/integrations/slack-loading.hbs | 2 + .../templates/settings/integrations/slack.hbs | 2 + .../integrations/unsplash-loading.hbs | 2 + .../settings/integrations/unsplash.hbs | 2 + .../settings/integrations/zapier.hbs | 2 + .../app/templates/settings/labs-loading.hbs | 2 + ghost/admin/app/templates/settings/labs.hbs | 2 + .../app/templates/settings/labs/members.hbs | 2 + 25 files changed, 158 insertions(+), 9 deletions(-) create mode 100644 ghost/admin/app/routes/settings.js create mode 100644 ghost/admin/app/templates/settings.hbs diff --git a/ghost/admin/app/components/gh-nav-menu.hbs b/ghost/admin/app/components/gh-nav-menu.hbs index cd217ed0f4..def6ec0c82 100644 --- a/ghost/admin/app/components/gh-nav-menu.hbs +++ b/ghost/admin/app/components/gh-nav-menu.hbs @@ -32,7 +32,6 @@ {{#if (gh-user-can-admin this.session.user)}}