{% import "Juice/macros/html.html" as html with context %} {% import "Juice/macros/menu.html" as menu with context %} {% import "Juice/macros/forms.html" as forms with context %} {% import "Juice/macros/widget.html" as widget with context %} {% set wide_view = false %} {% set show_menus = true %} {% if __.__USER_AUTH_ENABLED__ and current_user and not current_user.is_authenticated %} {% set wide_view = true %} {% set show_menus = false %} {% endif %} {% set bootswatch_theme = "yeti" %} {% if __.TEMPLATE_CONTEXT["bootswatch_theme"] is defined %} {% set bootswatch_theme = __.TEMPLATE_CONTEXT["bootswatch_theme"] %} {% endif %}
{{ html.head("%s - Admin", add_social_graph=false, add_google_analytics=false) }} {{ html.bootswatch_theme(bootswatch_theme) }} {{ html.css("juice-admin.css") }} {{ html.css("admin-all-css") }} {{ menu.navbar(brand=__.TEMPLATE_CONTEXT["brand_name"], url="/", groups=["admin"]) }}