{% extends "conjunto/app_base.html" %} {% load static i18n %} {% block title %}Dashboard{% endblock %} {% block content %}

Welcome to Conjunto

This is an example dashboard page using the Conjunto template system.

Features

  • Multiple Layout Variants: Configure via CONJUNTO_LAYOUT setting
  • Dynamic Menus: Built from IMenuItem GDAPS plugins
  • Responsive Design: Mobile-friendly with collapsible sidebar
  • Theme Toggle: Light/dark mode with localStorage persistence
  • Nested Navigation: Support for 1-level submenus in sidebar

Available Menu Locations

  • menu="main" - Horizontal navbar menu
  • menu="sidebar" - Vertical sidebar navigation
  • menu="user" - User dropdown menu
  • menu="notifications" - Notifications dropdown
  • menu="page_actions" - Action buttons next to page title

Layout Variants

Set 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
Current Layout: {{ globals.layout }}

Template Blocks

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 %} - Footer

Quick Start

To use this template in your Django project:

  1. Extend the base template in your views:
    {% templatetag openblock %} extends "conjunto/base.html" {% templatetag closeblock %}
  2. Create IMenuItem implementations for your menus (see example_menus.py)
{% endblock %}