{% extends "conjunto/base.html" %}
{% load static i18n statici18n conjunto avatar gdaps %}
{% comment %}
Full application layout: topbar + sidebar + scrollable canvas +
statusbar + two offcanvas panels.
This is the template to extend for regular in-app pages. It preserves
all historical block names that used to live in ``conjunto/base.html``
(top_bar, sidebar, canvas, page_*, content, footer, statusbar,
offcanvas_*). Projects that previously extended ``conjunto/base.html``
for the app layout should switch to this template.
{% endcomment %}
{% block body_attrs %}
class="antialiased cj-sidebar-left-mode-{{ cj_layout.sidebar_left_mode|default:'full' }} cj-sidebar-right-mode-{{ cj_layout.sidebar_right_mode|default:'collapsed' }}"
data-default-sidebar-left-width="{{ cj_layout.sidebar_left_width }}"
data-default-sidebar-right-width="{{ cj_layout.sidebar_right_width }}"
data-sidebar-left-state-url="{% url 'conjunto:sidebar-state' 'left' %}"
data-sidebar-right-state-url="{% url 'conjunto:sidebar-state' 'right' %}"
{% if cj_layout.sidebar_left_mode_locked %}data-sidebar-left-mode-locked="1"{% endif %}
{% if cj_layout.sidebar_right_mode_locked %}data-sidebar-right-mode-locked="1"{% endif %}
style="--cj-sidebar-left-width: {{ cj_layout.sidebar_left_width }}; --cj-sidebar-left-mini-width: 3.5rem; --cj-sidebar-right-width: {{ cj_layout.sidebar_right_width }}; --cj-sidebar-right-mini-width: 3.5rem; --cj-navbar-height: 3.5rem; --cj-statusbar-height: 2.5rem;"
{% endblock %}
{% block body %}
{# ── Topbar ─────────────────────────────────────────────────────────────── #}
{% block top_bar %}
{% endblock %}
{# Center: horizontal top-bar menu (menus.main) #}
{% block top_bar_center %}
{% if menus.main %}
{% else %}
{% endif %}
{% endblock %}
{# Page-level action buttons (child templates inject here, e.g. offcanvas triggers) #}
{% block top_bar_actions %}{% endblock %}
{# Right side: theme toggle + notifications bell + user menu #}
{% block top_bar_right %}
{% endblock %}
{% block page_title_prefix %}
{# This is for e.g. placing "BACK"-Links with ti-arrow-left in front of the title, etc. #}
{% endblock %}
{% block page_title %}{% endblock %}