Layouts and Components

Layouts

adminlte2/base.html

Base AdminLTE 2 layout template.

adminlte2/layouts/boxed.html

AdminLTE 2 template for boxed layout option.

See https://adminlte.io/themes/AdminLTE/pages/layout/boxed.html for a live example of this template.

adminlte2/layouts/collapsed_sidebar.html

AdminLTE 2 template for collapsed sidebar layout option.

See https://adminlte.io/themes/AdminLTE/pages/layout/collapsed-sidebar.html for a live example of this template.

adminlte2/layouts/fixed.html

AdminLTE 2 template for fixed layout option.

See https://adminlte.io/themes/AdminLTE/pages/layout/fixed.html for a live example of this template.

adminlte2/layouts/top_navigation.html

AdminLTE 2 template for top navigation layout option.

See https://adminlte.io/themes/AdminLTE/pages/layout/top-nav.html for a live example of this template.

Pages

adminlte2/layouts/login.html

AdminLTE 2 login page template.

See https://adminlte.io/themes/AdminLTE/pages/examples/login.html for a live example of this template.

adminlte2/layouts/register.html

AdminLTE 2 register page template.

See https://adminlte.io/themes/AdminLTE/pages/examples/register.html for a live example of this template.

Components

adminlte2/components/sidebar.html

Sidebar navigation template.

Please check the Template Blocks > Layouts > Sidebar section for more information on the available template blocks that can be used to customize this component.

adminlte2/components/control.html

Control navigation template.

Please check the Template Blocks > Layouts > Control section for more information on the available template blocks that can be used to customize this component.

adminlte2/components/header.html

Header navigation bar template for boxed, collapsed sidebar, and fixed layout options.

Please check the Template Blocks > Layouts > Header section for more information on the available template blocks that can be used to customize this component.

adminlte2/components/header_top_navigation.html

Header navigation bar template for top navigation layout option.

Please check the Template Blocks > Layouts > Header section for more information on the available template blocks that can be used to customize this component.

adminlte2/components/messages.html

Django Messages alert box template.

Please check the Template Blocks > Layouts > Messages section for more information on the available template blocks that can be used to customize this component.

adminlte2/components/footer.html

Footer template.

Please check the Template Blocks > Layouts > Footer section for more information on the available template blocks that can be used to customize this component.

adminlte2/components/footer_top_navigation.html

Footer template for top navigation layout option.

Please check the Template Blocks > Layouts > Footer section for more information on the available template blocks that can be used to customize this component.

Shortcuts

django-adminlte2-templates provides shortcuts to some commonly-used layout template modifications:

adminlte2/shortcuts/barebones/*

Remove content header (page title, page description, breadcrumb navigation), footer, and control sidebar for boxed.html, collapsed_sidebar.html, fixed.html, and top_navigation.html.

adminlte2/shortcuts/no_content_header/*

Remove content header (page title, page description, breadcrumb navigation) for boxed.html, collapsed_sidebar.html, fixed.html, and top_navigation.html.

adminlte2/shortcuts/no_breadcrumbs/*

Remove breadcrumb navigation for boxed.html, collapsed_sidebar.html, fixed.html, and top_navigation.html.

adminlte2/shortcuts/no_footer/*

Remove footer for boxed.html, collapsed_sidebar.html, fixed.html, and top_navigation.html.

adminlte2/shortcuts/no_breadcrumbs_footer/*

Remove footer and breadcrumb navigation for boxed.html, collapsed_sidebar.html, fixed.html, and top_navigation.html.

Extras

adminlte2/extras/paginator.html

Layout template file for template tag {% paginator %}.

Please check the Template Tags > Tags section for more information on {% paginator %}. You may also check the Template Blocks > Extras > Paginator section for more information on the available template blocks that can be used to customize this template.