nopaque/app/templates/base.html.j2

58 lines
1.4 KiB
Plaintext
Raw Normal View History

{% extends "materialize/base.html.j2" %}
{% block html_attribs %} lang="en"{% endblock html_attribs %}
{% block head %}
{{ super() }}
<link href="{{ url_for('static', filename='images/nopaque_-_favicon.png') }}" rel="icon">
{% endblock head %}
{% block metas %}
<meta charset="UTF-8">
{{ super() }}
{% endblock metas %}
{% block title %}{{ title }}{% endblock title %}
{% block styles %}
{{ super() }}
{% include "_styles.html.j2" %}
{% endblock styles %}
{% block navbar %}
{% include "_navbar.html.j2" %}
{% endblock navbar %}
{% block sidenav %}
{% if current_user.is_authenticated %}
{% include "_sidenav.html.j2" %}
{% endif %}
{% endblock sidenav %}
{% block main_attribs %} class="background-color"{% endblock main_attribs %}
{% block main %}
{% block page_content %}{% endblock page_content %}
2021-07-16 08:51:39 +00:00
<div id="modals">
2021-12-01 13:15:20 +00:00
{% block modals %}
2023-03-16 09:31:58 +00:00
{% include "main/_manual_modal_contents.html.j2" %}
{# {% if current_user.is_authenticated %}
2021-12-01 13:15:20 +00:00
{% include "_roadmap.html.j2" %}
2023-03-16 09:31:58 +00:00
{% endif %} #}
2021-12-01 13:15:20 +00:00
{% endblock modals %}
2021-07-16 08:51:39 +00:00
</div>
{% endblock main %}
{% block footer_attribs %} class="page-footer primary-variant-color"{% endblock footer_attribs %}
{% block footer %}
{% include "_footer.html.j2" %}
{% endblock footer %}
{% block scripts %}
{{ super() }}
{% include "_scripts.html.j2" %}
2023-03-10 09:33:11 +00:00
{% set page_script = self._TemplateReference__context.name|replace('.html.j2', '.js.j2') %}
<script>
{% include page_script ignore missing %}
</script>
{% endblock scripts %}