-
Notifications
You must be signed in to change notification settings - Fork 359
Expand file tree
/
Copy pathbase.html
More file actions
62 lines (52 loc) · 2.17 KB
/
Copy pathbase.html
File metadata and controls
62 lines (52 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{% extends 'unfold/layouts/skeleton.html' %}
{% load i18n unfold %}
{% block base %}
<div id="page" class="flex min-h-screen">
{% if not is_popup and is_nav_sidebar_enabled %}
{% block nav-sidebar %}
{% include "admin/nav_sidebar.html" %}
{% endblock %}
{% endif %}
<div id="main" class="flex-grow min-w-0">
{% include "unfold/helpers/header.html" %}
{% if not is_popup %}
{% spaceless %}
{% block breadcrumbs %}
<div class="px-4 lg:px-12">
<div class="container mb-12 mx-auto -my-3">
<ul class="flex">
{% url 'admin:index' as link %}
{% trans 'Home' as name %}
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=name %}
{% block custom_breadcrumbs %}{% endblock %}
</ul>
</div>
</div>
{% endblock %}
{% endspaceless %}
{% endif %}
{% block messages %}
<div class="px-4 lg:px-12">
<div class="container mx-auto">
{% include "unfold/helpers/messages.html" %}
</div>
</div>
{% endblock messages %}
<div class="px-4 pb-12 lg:px-12">
<div id="content" class="container mx-auto {% block coltype %}colM{% endblock %}">
{% if cl %}
{% tab_list cl.opts %}
{% elif opts %}
{% tab_list opts %}
{% endif %}
{% block content %}
{% block object-tools %}{% endblock %}
{{ content }}
{% endblock %}
{% block sidebar %}{% endblock %}
</div>
</div>
{% block footer %}{% endblock %}
</div>
</div>
{% endblock %}