From a0daaabfde6a4b9dff11d2f6fb917834a7d26c10 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 11 Apr 2021 22:02:48 +0200 Subject: [PATCH] web: replace full pf with components for loading animation Signed-off-by: Jens Langhammer --- authentik/core/templates/base/skeleton.html | 5 ++++- web/rollup.config.js | 6 ++++-- web/src/interfaces/admin/index.html | 5 ++++- web/src/interfaces/flow/index.html | 5 ++++- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/authentik/core/templates/base/skeleton.html b/authentik/core/templates/base/skeleton.html index e4feab481..8e4e20ce5 100644 --- a/authentik/core/templates/base/skeleton.html +++ b/authentik/core/templates/base/skeleton.html @@ -10,7 +10,10 @@ {% block title %}{% trans title|default:config.authentik.branding.title %}{% endblock %} - + + + + diff --git a/web/rollup.config.js b/web/rollup.config.js index f207c7481..c761f2bc9 100644 --- a/web/rollup.config.js +++ b/web/rollup.config.js @@ -15,8 +15,10 @@ const extensions = [ const resources = [ { src: "node_modules/rapidoc/dist/rapidoc-min.js", dest: "dist/" }, - { src: "node_modules/@patternfly/patternfly/patternfly.min.css", dest: "dist/" }, - { src: "node_modules/@patternfly/patternfly/patternfly.min.css.map", dest: "dist/" }, + { src: "node_modules/@patternfly/patternfly/patternfly-base.css", dest: "dist/" }, + { src: "node_modules/@patternfly/patternfly/components/Page/page.css", dest: "dist/" }, + { src: "node_modules/@patternfly/patternfly/components/EmptyState/empty-state.css", dest: "dist/" }, + { src: "node_modules/@patternfly/patternfly/components/Spinner/spinner.css", dest: "dist/" }, { src: "src/authentik.css", dest: "dist/" }, { src: "node_modules/@patternfly/patternfly/assets/*", dest: "dist/assets/" }, diff --git a/web/src/interfaces/admin/index.html b/web/src/interfaces/admin/index.html index 9e2f5de0f..22dc2da87 100644 --- a/web/src/interfaces/admin/index.html +++ b/web/src/interfaces/admin/index.html @@ -5,7 +5,10 @@ - + + + + diff --git a/web/src/interfaces/flow/index.html b/web/src/interfaces/flow/index.html index 1d91456da..9f7cddc8c 100644 --- a/web/src/interfaces/flow/index.html +++ b/web/src/interfaces/flow/index.html @@ -5,7 +5,10 @@ - + + + +