From aca502bf993406a41b36b938246110ed9bd91f78 Mon Sep 17 00:00:00 2001 From: Kai Schlamp Date: Wed, 16 Aug 2023 11:11:01 +0000 Subject: [PATCH] Introduce sandbox layout --- adit/sandbox/templates/sandbox/sandbox_async_view.html | 2 +- adit/sandbox/templates/sandbox/sandbox_layout.html | 6 ++++++ adit/sandbox/templates/sandbox/sandbox_list.html | 2 +- adit/sandbox/templates/sandbox/sandbox_messages.html | 7 +------ adit/sandbox/templates/sandbox/sandbox_toasts.html | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 adit/sandbox/templates/sandbox/sandbox_layout.html diff --git a/adit/sandbox/templates/sandbox/sandbox_async_view.html b/adit/sandbox/templates/sandbox/sandbox_async_view.html index 50f3bf36..559ebb82 100644 --- a/adit/sandbox/templates/sandbox/sandbox_async_view.html +++ b/adit/sandbox/templates/sandbox/sandbox_async_view.html @@ -1,4 +1,4 @@ -{% extends "core/core_layout.html" %} +{% extends "sandbox/sandbox_layout.html" %} {% block heading %}

Async view sandbox

{% endblock heading %} diff --git a/adit/sandbox/templates/sandbox/sandbox_layout.html b/adit/sandbox/templates/sandbox/sandbox_layout.html new file mode 100644 index 00000000..e277f0e9 --- /dev/null +++ b/adit/sandbox/templates/sandbox/sandbox_layout.html @@ -0,0 +1,6 @@ +{% extends "core/core_layout.html" %} +{% load static from static %} +{% block script %} + {{ block.super }} + +{% endblock script %} diff --git a/adit/sandbox/templates/sandbox/sandbox_list.html b/adit/sandbox/templates/sandbox/sandbox_list.html index 05fb4989..732f7489 100644 --- a/adit/sandbox/templates/sandbox/sandbox_list.html +++ b/adit/sandbox/templates/sandbox/sandbox_list.html @@ -1,4 +1,4 @@ -{% extends "core/core_layout.html" %} +{% extends "sandbox/sandbox_layout.html" %} {% block heading %}

Sandboxes

{% endblock heading %} diff --git a/adit/sandbox/templates/sandbox/sandbox_messages.html b/adit/sandbox/templates/sandbox/sandbox_messages.html index fedf7224..4c3c44f0 100644 --- a/adit/sandbox/templates/sandbox/sandbox_messages.html +++ b/adit/sandbox/templates/sandbox/sandbox_messages.html @@ -1,9 +1,4 @@ -{% extends "core/core_layout.html" %} -{% load static from static %} -{% block script %} - {{ block.super }} - -{% endblock script %} +{% extends "sasndbox/sandbox_layout.html" %} {% block heading %}

Message Sandbox

{% endblock heading %} diff --git a/adit/sandbox/templates/sandbox/sandbox_toasts.html b/adit/sandbox/templates/sandbox/sandbox_toasts.html index c72467a3..2e477568 100644 --- a/adit/sandbox/templates/sandbox/sandbox_toasts.html +++ b/adit/sandbox/templates/sandbox/sandbox_toasts.html @@ -1,4 +1,4 @@ -{% extends "core/core_layout.html" %} +{% extends "sandbox/sandbox_layout.html" %} {% load static from static %} {% block script %} {{ block.super }}