From ffd8c59c8e659fa64fd88e9360376bfd88dfaf85 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 24 Mar 2021 17:46:41 +0100 Subject: [PATCH] api: use common skeleton in swagger template Signed-off-by: Jens Langhammer --- authentik/api/templates/api/swagger.html | 43 +++++++++++------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/authentik/api/templates/api/swagger.html b/authentik/api/templates/api/swagger.html index 283ca5d69..f1538480e 100644 --- a/authentik/api/templates/api/swagger.html +++ b/authentik/api/templates/api/swagger.html @@ -1,24 +1,21 @@ -{% load static %} -{% load i18n %} +{% extends "base/skeleton.html" %} - - - - - - {% block title %}{% trans title|default:config.authentik.branding.title %}{% endblock %} - - - -
- -
-
- - +{% load static %} + +{% block head %} + +{% endblock %} + +{% block body %} + +
+ +
+
+{% endblock %}