forked from projects/fipamo
97278e3a90
Integrated the Notifications UI component into the header to streamline user alerts into the overall experience. Also added titles to use the space created by moving the notifications compoenent to it's own space.
49 lines
1.1 KiB
Twig
49 lines
1.1 KiB
Twig
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="theme-color" content="#FFFFFF"/>
|
|
<title>
|
|
{% block title %}
|
|
{{ title }}
|
|
{% endblock %}
|
|
</title>
|
|
{% block stylesheets %}{% endblock %}
|
|
</head>
|
|
<body>
|
|
{% if status %}
|
|
<header>
|
|
{% apply spaceless %}
|
|
<nav role="top-nav">
|
|
<div role="nav-left">
|
|
<a href="/dashboard"><img id="the-logo" src="/assets/images/global/fipamo-logo.svg"/></a>
|
|
</div>
|
|
<div role="title">
|
|
<h1>{{ title }}</h1>
|
|
</div>
|
|
<div role="nav-right">
|
|
{% if status %}
|
|
{% apply spaceless %}
|
|
{{ include("dash/partials/navigation.twig") }}
|
|
{% endapply %}
|
|
{% endif %}
|
|
</div>
|
|
</nav>
|
|
<div role="notify">
|
|
{% apply spaceless %}
|
|
{{ include("dash/partials/notifications.twig") }}
|
|
{% endapply %}
|
|
</div>
|
|
{% endapply %}
|
|
{% endif %}
|
|
</header>
|
|
<main>
|
|
{% apply spaceless %}
|
|
{% block mainContent %}{% endblock %}
|
|
{% endapply %}
|
|
</main>
|
|
<footer></footer>
|
|
<script src="/assets/scripts/start.js?=dfdfdfse" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|