fipamo/brain/views/dash/_frame.twig

46 lines
1.1 KiB
Twig
Raw Permalink Normal View History

<!DOCTYPE html>
<html>
2022-04-16 22:21:57 +02:00
<head>
<meta charset="UTF-8">
<meta name="theme-color" content="#1d3040"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
2022-04-16 22:21:57 +02:00
<title>
{% block title %}
{{ title }}
{% endblock %}
</title>
{% block stylesheets %}{% endblock %}
</head>
<body>
{% if status %}
<header>
{% apply spaceless %}
<nav class="top-nav">
<a href="/dashboard"><img id="the-logo" src="/assets/images/global/fipamo-logo.svg"/></a>
<h1>{{ title }}</h1>
<div class="nav-right">
{% if status %}
2022-04-16 22:21:57 +02:00
{% apply spaceless %}
{{ include("dash/partials/navigation.twig") }}
2022-04-16 22:21:57 +02:00
{% endapply %}
{% endif %}
</div>
</nav>
<div class="notify" role="note">
{% apply spaceless %}
{{ include("dash/partials/notifications.twig") }}
{% endapply %}
</div>
2022-04-16 22:21:57 +02:00
{% endapply %}
{% endif %}
</header>
<main>
{% apply spaceless %}
{% block mainContent %}{% endblock %}
{% endapply %}
</main>
2022-04-16 22:21:57 +02:00
<footer></footer>
<script type="module" src="/assets/scripts/dash.js"></script>
2022-04-16 22:21:57 +02:00
</body>
</html>