web: full web components part 1 (#4964)
* migrate loading Signed-off-by: Jens Langhammer <jens@goauthentik.io> * migrate api browser Signed-off-by: Jens Langhammer <jens@goauthentik.io> * migrate base css Signed-off-by: Jens Langhammer <jens@goauthentik.io> * move tenant fetching to base interface Signed-off-by: Jens Langhammer <jens@goauthentik.io> * import pre-loaded stages in flow interface and not executor to strip down executor size Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix redirect and such Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		| @ -9,16 +9,13 @@ | ||||
|         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||||
|         <title>{% block title %}{% trans title|default:tenant.branding_title %}{% endblock %}</title> | ||||
|         <link rel="shortcut icon" type="image/png" href="{% static 'dist/assets/icons/icon.png' %}"> | ||||
|         <link rel="stylesheet" type="text/css" href="{% static 'dist/patternfly-base.css' %}"> | ||||
|         <link rel="stylesheet" type="text/css" href="{% static 'dist/page.css' %}"> | ||||
|         <link rel="stylesheet" type="text/css" href="{% static 'dist/empty-state.css' %}"> | ||||
|         <link rel="stylesheet" type="text/css" href="{% static 'dist/spinner.css' %}"> | ||||
|         {% block head_before %} | ||||
|         {% endblock %} | ||||
|         <link rel="stylesheet" type="text/css" href="{% static 'dist/authentik.css' %}"> | ||||
|         <link rel="stylesheet" type="text/css" href="{% static 'dist/theme-dark.css' %}" media="(prefers-color-scheme: dark)"> | ||||
|         <link rel="stylesheet" type="text/css" href="{% static 'dist/custom.css' %}" data-inject> | ||||
|         <script src="{% static 'dist/poly.js' %}" type="module"></script> | ||||
|         <script src="{% static 'dist/poly.js' %}?version={{ version }}" type="module"></script> | ||||
|         <script src="{% static 'dist/standalone/loading/index.js' %}?version={{ version }}" type="module"></script> | ||||
|         {% block head %} | ||||
|         {% endblock %} | ||||
|         <meta name="sentry-trace" content="{{ sentry_trace }}" /> | ||||
|  | ||||
| @ -1,7 +1,6 @@ | ||||
| {% extends "base/skeleton.html" %} | ||||
|  | ||||
| {% load static %} | ||||
| {% load i18n %} | ||||
|  | ||||
| {% block head %} | ||||
| <script src="{% static 'dist/admin/AdminInterface.js' %}?version={{ version }}" type="module"></script> | ||||
| @ -15,19 +14,6 @@ | ||||
| {% block body %} | ||||
| <ak-message-container></ak-message-container> | ||||
| <ak-interface-admin> | ||||
|     <section class="ak-static-page pf-c-page__main-section pf-m-no-padding-mobile pf-m-xl"> | ||||
|         <div class="pf-c-empty-state" style="height: 100vh;"> | ||||
|             <div class="pf-c-empty-state__content"> | ||||
|                 <span class="pf-c-spinner pf-m-xl pf-c-empty-state__icon" role="progressbar" aria-valuetext="{% trans 'Loading...' %}"> | ||||
|                     <span class="pf-c-spinner__clipper"></span> | ||||
|                     <span class="pf-c-spinner__lead-ball"></span> | ||||
|                     <span class="pf-c-spinner__tail-ball"></span> | ||||
|                 </span> | ||||
|                 <h1 class="pf-c-title pf-m-lg"> | ||||
|                     {% trans "Loading..." %} | ||||
|                 </h1> | ||||
|             </div> | ||||
|         </div> | ||||
|     </section> | ||||
|     <ak-loading></ak-loading> | ||||
| </ak-interface-admin> | ||||
| {% endblock %} | ||||
|  | ||||
| @ -1,7 +1,6 @@ | ||||
| {% extends "base/skeleton.html" %} | ||||
|  | ||||
| {% load static %} | ||||
| {% load i18n %} | ||||
|  | ||||
| {% block head_before %} | ||||
| {{ block.super }} | ||||
| @ -31,19 +30,6 @@ window.authentik.flow = { | ||||
| {% block body %} | ||||
| <ak-message-container></ak-message-container> | ||||
| <ak-flow-executor> | ||||
|     <section class="ak-static-page pf-c-page__main-section pf-m-no-padding-mobile pf-m-xl"> | ||||
|         <div class="pf-c-empty-state" style="height: 100vh;"> | ||||
|             <div class="pf-c-empty-state__content"> | ||||
|                 <span class="pf-c-spinner pf-m-xl pf-c-empty-state__icon" role="progressbar" aria-valuetext="{% trans 'Loading...' %}"> | ||||
|                     <span class="pf-c-spinner__clipper"></span> | ||||
|                     <span class="pf-c-spinner__lead-ball"></span> | ||||
|                     <span class="pf-c-spinner__tail-ball"></span> | ||||
|                 </span> | ||||
|                 <h1 class="pf-c-title pf-m-lg"> | ||||
|                     {% trans "Loading..." %} | ||||
|                 </h1> | ||||
|             </div> | ||||
|         </div> | ||||
|     </section> | ||||
|     <ak-loading></ak-loading> | ||||
| </ak-flow-executor> | ||||
| {% endblock %} | ||||
|  | ||||
| @ -1,7 +1,6 @@ | ||||
| {% extends "base/skeleton.html" %} | ||||
|  | ||||
| {% load static %} | ||||
| {% load i18n %} | ||||
|  | ||||
| {% block head %} | ||||
| <script src="{% static 'dist/user/UserInterface.js' %}?version={{ version }}" type="module"></script> | ||||
| @ -15,19 +14,6 @@ | ||||
| {% block body %} | ||||
| <ak-message-container></ak-message-container> | ||||
| <ak-interface-user> | ||||
|     <section class="ak-static-page pf-c-page__main-section pf-m-no-padding-mobile pf-m-xl"> | ||||
|         <div class="pf-c-empty-state" style="height: 100vh;"> | ||||
|             <div class="pf-c-empty-state__content"> | ||||
|                 <span class="pf-c-spinner pf-m-xl pf-c-empty-state__icon" role="progressbar" aria-valuetext="{% trans 'Loading...' %}"> | ||||
|                     <span class="pf-c-spinner__clipper"></span> | ||||
|                     <span class="pf-c-spinner__lead-ball"></span> | ||||
|                     <span class="pf-c-spinner__tail-ball"></span> | ||||
|                 </span> | ||||
|                 <h1 class="pf-c-title pf-m-lg"> | ||||
|                     {% trans "Loading..." %} | ||||
|                 </h1> | ||||
|             </div> | ||||
|         </div> | ||||
|     </section> | ||||
|     <ak-loading></ak-loading> | ||||
| </ak-interface-user> | ||||
| {% endblock %} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens L
					Jens L