benevalibre/benevalibre/templates/base.html

86 lignes
2.9 KiB
HTML

{% load static minified %}<!DOCTYPE html>
<html class="no-js" lang="fr">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
{% block title %}{{ page.title }}{% endblock %}
{% block title_suffix %}- Bénévalibre{% endblock %}
</title>
<!-- favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="{% static "favicon/apple-touch-icon.png" %}">
<link rel="icon" type="image/png" sizes="32x32" href="{% static "favicon/favicon-32x32.png" %}">
<link rel="icon" type="image/png" sizes="16x16" href="{% static "favicon/favicon-16x16.png" %}">
<link rel="manifest" href="{% static "favicon/site.webmanifest" %}">
<link rel="mask-icon" href="{% static "favicon/safari-pinned-tab.svg" %}" color="#e21482">
<link rel="shortcut icon" href="{% static "favicon/favicon.ico" %}">
<meta name="msapplication-config" content="{% static "favicon/browserconfig.xml" %}">
<meta name="msapplication-TileColor" content="#e21482">
<meta name="theme-color" content="#202020">
{% block css %}
<link rel="stylesheet" href="{% minified "css/fork-awesome.css" %}">
<link rel="stylesheet" href="{% minified "css/app.css" %}">
{% endblock %}
{% block extra_head %}{% endblock %}
</head>
<body>
{% block container %}
<div class="app-container">
{% block header %}
<header class="app-header">
{% include "includes/navigation.html" %}
</header>
{% endblock %}
<main class="app-content">
{% include "includes/messages.html" %}
{% block content_header %}
{% if page.header_title or page.titlebuttons %}
<div class="container content-header">
<div class="row no-gutters align-items-end">
<div class="col-sm">
{% if page.header_title %}
<h2 class="content-header-title">{{ page.header_title }}</h2>
{% endif %}
</div>
<div class="col-sm-auto text-right">
{% block titlebuttons %}
{% if page.titlebuttons %}
<div class="title-buttons ml-3 mt-2">
{% include "includes/buttons.html" with buttons=page.titlebuttons %}
</div>
{% endif %}
{% endblock %}
</div>
</div>
</div>
{% endif %}
{% endblock %}
{% block content_container %}
<div class="container content-container">
{% block content %}{% endblock %}
</div>
{% endblock %}
</main>
{% block footer %}
<footer class="container app-footer">
{% include "includes/footer.html" %}
</footer>
{% endblock %}
</div>
{% endblock container %}
{% block javascript %}
<script src="{% minified "js/app.js" %}"></script>
{% endblock %}
</body>
</html>