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.
-
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.
-
adminlte2/components/control.html
Control navigation template.
-
adminlte2/components/header.html
Header navigation bar template for boxed, collapsed sidebar, and fixed layout options.
-
adminlte2/components/header_top_navigation.html
Header navigation bar template for top navigation layout option.
-
adminlte2/components/messages.html
Django Messages alert box template.
-
adminlte2/components/footer.html
Footer template.
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
, andtop_navigation.html
.
-
adminlte2/shortcuts/no_content_header/*
Remove content header (page title, page description, breadcrumb navigation) for
boxed.html
,collapsed_sidebar.html
,fixed.html
, andtop_navigation.html
.
-
adminlte2/shortcuts/no_breadcrumb/*
Remove breadcrumb navigation for
boxed.html
,collapsed_sidebar.html
,fixed.html
, andtop_navigation.html
.
-
adminlte2/shortcuts/no_footer/*
Remove footer for
boxed.html
,collapsed_sidebar.html
,fixed.html
, andtop_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 %}
.