From 9517c890b53825bba8d5ef228fb976e9b48d4902 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 4 Apr 2021 16:10:08 +0200 Subject: [PATCH] if/*: show loading animation before full JS is loaded Signed-off-by: Jens Langhammer --- authentik/core/templates/if/admin.html | 18 +++++++++++++++++- authentik/core/templates/if/flow.html | 18 +++++++++++++++++- web/src/interfaces/admin/index.html | 15 ++++++++++++++- web/src/interfaces/flow/index.html | 15 ++++++++++++++- 4 files changed, 62 insertions(+), 4 deletions(-) diff --git a/authentik/core/templates/if/admin.html b/authentik/core/templates/if/admin.html index 43df9a509..266e9e7f5 100644 --- a/authentik/core/templates/if/admin.html +++ b/authentik/core/templates/if/admin.html @@ -1,6 +1,7 @@ {% extends "base/skeleton.html" %} {% load static %} +{% load i18n %} {% block head %} @@ -8,5 +9,20 @@ {% block body %} - + +
+
+
+ + + + + +

+ {% trans "Loading..." %} +

+
+
+
+
{% endblock %} diff --git a/authentik/core/templates/if/flow.html b/authentik/core/templates/if/flow.html index 3756f4f89..f22a1c4bc 100644 --- a/authentik/core/templates/if/flow.html +++ b/authentik/core/templates/if/flow.html @@ -1,6 +1,7 @@ {% extends "base/skeleton.html" %} {% load static %} +{% load i18n %} {% block head %} @@ -8,5 +9,20 @@ {% block body %} - + +
+
+
+ + + + + +

+ {% trans "Loading..." %} +

+
+
+
+
{% endblock %} diff --git a/web/src/interfaces/admin/index.html b/web/src/interfaces/admin/index.html index 1e8e705fb..aeffa594b 100644 --- a/web/src/interfaces/admin/index.html +++ b/web/src/interfaces/admin/index.html @@ -13,6 +13,19 @@ - + +
+
+
+ + + + + +

Loading...

+
+
+
+
diff --git a/web/src/interfaces/flow/index.html b/web/src/interfaces/flow/index.html index b574d4948..1b87010c7 100644 --- a/web/src/interfaces/flow/index.html +++ b/web/src/interfaces/flow/index.html @@ -13,6 +13,19 @@ - + +
+
+
+ + + + + +

Loading...

+
+
+
+