diff --git a/sp/templates/sp/error.html b/sp/templates/sp/error.html
index a03a264..0f07d17 100644
--- a/sp/templates/sp/error.html
+++ b/sp/templates/sp/error.html
@@ -1,22 +1,15 @@
+{% extends "admin/base_site.html" %}
{% load i18n %}
-
-
- {% trans "SSO Error" %} - {{ idp }}
-
-
-
-
-
{% trans "SSO Error" %}
-
{{ reason }}
-
{% trans "State" %}: {{ state }}
- {% if errors %}
-
- {% for err in errors %}
- - {{ err }}
- {% endfor %}
-
- {% endif %}
-
-
-
+{% block content %}
+ {% trans "SSO Error" %}
+ {{ reason }}
+ {% trans "State" %}: {{ state }}
+ {% if errors %}
+
+ {% for err in errors %}
+ - {{ err }}
+ {% endfor %}
+
+ {% endif %}
+{% endblock %}
diff --git a/sp/templates/sp/test.html b/sp/templates/sp/test.html
index 8388b2d..461f92a 100644
--- a/sp/templates/sp/test.html
+++ b/sp/templates/sp/test.html
@@ -1,46 +1,33 @@
+{% extends "admin/base_site.html" %}
{% load i18n %}
-
-
- {% trans "IdP Test" %} - {{ idp }}
-
-
-
-
-
-
{{ idp }}
-
+{% block content %}
+
{% trans "IdP Test" %} - {{ idp }}
+
+ - {% trans "Name ID Format" %}
+ - {{ nameid_format }}
-
- - {% trans "Name ID Format" %}
- - {{ nameid_format }}
-
- - {% trans "Name ID" %}
- - {{ nameid }}
-
-
-
-
-
-
- {% trans "SAML Attribute" %} |
- {% trans "Mapped Name" %} |
- {% trans "NameID" %} |
- {% trans "Value" %} |
-
-
-
- {% for attr, value in attrs %}
-
- {{ attr.saml_attribute }} |
- {{ attr.mapped_name }} |
- {% if attr.is_nameid %}✔{% endif %} |
- {{ value }} |
-
- {% endfor %}
-
-
-
-
-
-
+ {% trans "Name ID" %}
+ {{ nameid }}
+
+
+
+
+ {% trans "SAML Attribute" %} |
+ {% trans "Mapped Name" %} |
+ {% trans "NameID" %} |
+ {% trans "Value" %} |
+
+
+
+ {% for attr, value in attrs %}
+
+ {{ attr.saml_attribute }} |
+ {{ attr.mapped_name }} |
+ {% if attr.is_nameid %}✔{% endif %} |
+ {{ value }} |
+
+ {% endfor %}
+
+
+{% endblock %}
diff --git a/sp/templates/sp/unauth.html b/sp/templates/sp/unauth.html
index 68ff78c..ae7a70f 100644
--- a/sp/templates/sp/unauth.html
+++ b/sp/templates/sp/unauth.html
@@ -1,15 +1,9 @@
+{% extends "admin/base_site.html" %}
{% load i18n %}
-
-
- {% trans "Authentication Error" %} - {{ idp }}
-
-
-
-
-
{% if verify %}{% trans "Verification Error" %}{% else %}{% trans "Authentication Error" %}{% endif %}
-
{% blocktrans with nameid=nameid %}Could not authenticate user "{{ nameid }}".{% endblocktrans %}
- {% if verify %}
{% blocktrans with user=user %}Expected verification credentials for "{{ user }}".{% endblocktrans %}
{% endif %}
-
-
-
+{% block content %}
+ {% if verify %}{% trans "Verification Error" %}{% else %}{% trans "Authentication Error" %}{% endif %}
+ {% blocktrans with nameid=nameid %}Could not authenticate user "{{ nameid }}".{% endblocktrans %}
+ {% if verify %}{% blocktrans with user=user %}Expected verification credentials for "{{ user }}".{% endblocktrans %}
{% endif %}
+{% endblock %}
+{% load i18n %}