{% if admin_menu is not defined %}
{% set admin_menu = get_menu(admin.menuName()) %}
{% endif %}
<!doctype html>
<html lang="{{ app.request.locale }}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
{% block favicon %}
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
{% endblock %}
<script src="//unpkg.com/@ungap/custom-elements"></script>
{% block title %}
{% set menu_page_title = get_page_title_from_menu(admin_menu) %}
<title>{{ (menu_page_title ? menu_page_title ~ ' | ') ~ admin.appName() }}</title>
{% endblock %}
{% block stylesheets %}
{% include "@UmbrellaAdmin/_stylesheets.html.twig" %}
{% endblock %}
</head>
<body class="env-{{ app.environment }} {% block body_class %}{% endblock %}">
{% block body %}
<div class="wrapper">
{% block sidebar %}
{{ render_menu(admin_menu) }}
{% endblock %}
<div class="main">
{% block topbar %}
<nav class="navbar navbar-expand navbar-light navbar-bg sticky-top">
<a class="sidebar-toggle js-sidebar-toggle">
<i class="hamburger align-self-center"></i>
</a>
<div class="{{ admin.containerClass }}">
{% block breadcrumb %}
{{ render_breadcrumb(admin_menu) }}
{% endblock %}
<div class="navbar-collapse collapse">
<ul class="navbar-nav navbar-align">
{% if admin.notificationEnable() %}
{% include "@UmbrellaAdmin/Notification/widget.html.twig" %}
{% endif %}
{% include '@UmbrellaAdmin/_userinfo.html.twig' %}
</ul>
</div>
</div>
</nav>
{% endblock %}
<main class="content">
<div class="{{ admin.containerClass }}">
{% block content %}
{% endblock %}
</div>
</main>
</div>
</div>
{% endblock %}
{% include "@UmbrellaCore/_toast.html.twig" %}
{% block javascripts %}
{% include "@UmbrellaAdmin/_scripts.html.twig" %}
{% endblock %}
</body>
</html>