Skip to content

Commit

Permalink
Introduce sandbox layout
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack authored Aug 16, 2023
1 parent af0836d commit aca502b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion adit/sandbox/templates/sandbox/sandbox_async_view.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/core_layout.html" %}
{% extends "sandbox/sandbox_layout.html" %}
{% block heading %}
<h4 class="mb-3">Async view sandbox</h4>
{% endblock heading %}
Expand Down
6 changes: 6 additions & 0 deletions adit/sandbox/templates/sandbox/sandbox_layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% extends "core/core_layout.html" %}
{% load static from static %}
{% block script %}
{{ block.super }}
<script src="{% static 'sandbox/sandbox.js' %}"></script>
{% endblock script %}
2 changes: 1 addition & 1 deletion adit/sandbox/templates/sandbox/sandbox_list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/core_layout.html" %}
{% extends "sandbox/sandbox_layout.html" %}
{% block heading %}
<h4 class="mb-3">Sandboxes</h4>
{% endblock heading %}
Expand Down
7 changes: 1 addition & 6 deletions adit/sandbox/templates/sandbox/sandbox_messages.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{% extends "core/core_layout.html" %}
{% load static from static %}
{% block script %}
{{ block.super }}
<script src="{% static 'sandbox/sandbox.js' %}"></script>
{% endblock script %}
{% extends "sasndbox/sandbox_layout.html" %}
{% block heading %}
<h4 class="mb-3">Message Sandbox</h4>
{% endblock heading %}
Expand Down
2 changes: 1 addition & 1 deletion adit/sandbox/templates/sandbox/sandbox_toasts.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/core_layout.html" %}
{% extends "sandbox/sandbox_layout.html" %}
{% load static from static %}
{% block script %}
{{ block.super }}
Expand Down

0 comments on commit aca502b

Please sign in to comment.