{% extends "conjunto/app_base.html" %} {% load static i18n %} {% block title %}Dashboard{% endblock %} {% block content %}
This is an example dashboard page using the Conjunto template system.
CONJUNTO_LAYOUT settingmenu="main" - Horizontal navbar menumenu="sidebar" - Vertical sidebar navigationmenu="user" - User dropdown menumenu="notifications" - Notifications dropdownmenu="page_actions" - Action buttons next to page titleSet CONJUNTO_LAYOUT in your Django settings to one of:
"condensed" - Fixed width container"combined" - Navbar + sidebar layout (default)"fluid" - Full-width container"fluid-vertical" - Vertical navigation layout{{ globals.layout }}
The base template provides these overridable blocks:
{% templatetag openblock %} block title {% templatetag closeblock %} - Page title in <title>{% templatetag openblock %} block banner_text {% templatetag closeblock %} - Banner text at top{% templatetag openblock %} block page_pretitle {% templatetag closeblock %} - Breadcrumb/pretitle{% templatetag openblock %} block page_title {% templatetag closeblock %} - Main heading{% templatetag openblock %} block page_title_actions {% templatetag closeblock %} - Action buttons{% templatetag openblock %} block content {% templatetag closeblock %} - Main content{% templatetag openblock %} block footer {% templatetag closeblock %} - FooterTo use this template in your Django project:
{% templatetag openblock %} extends "conjunto/base.html" {% templatetag closeblock %}
example_menus.py)