forked from projects/fipamo
ac08c77813
Began the process of removing all invalid role attributes starting with the header, login, and notifications components. Updated the corresponding scripts as well. Made a few structural changes to the header to simply it and then tested it to ensure notification still worked.
46 lines
1.1 KiB
Twig
46 lines
1.1 KiB
Twig
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="theme-color" content="#1d3040"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<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 %}
|
|
{% apply spaceless %}
|
|
{{ include("dash/partials/navigation.twig") }}
|
|
{% endapply %}
|
|
{% endif %}
|
|
</div>
|
|
</nav>
|
|
<div class="notify" role="note">
|
|
{% apply spaceless %}
|
|
{{ include("dash/partials/notifications.twig") }}
|
|
{% endapply %}
|
|
</div>
|
|
{% endapply %}
|
|
{% endif %}
|
|
</header>
|
|
<main>
|
|
{% apply spaceless %}
|
|
{% block mainContent %}{% endblock %}
|
|
{% endapply %}
|
|
</main>
|
|
<footer></footer>
|
|
<script type="module" src="/assets/scripts/dash.js"></script>
|
|
</body>
|
|
</html>
|