mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-11 08:11:50 +02:00
118 lines
4.3 KiB
HTML
118 lines
4.3 KiB
HTML
{% load static %}
|
|
{% load sass_tags %}
|
|
{% load settings %}
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:locale" content="fr_FR" />
|
|
<meta property="og:site_name" content="La chariotte">
|
|
<meta property="og:url" content="{{ BASE_URL }}{{ request.path }}">
|
|
<title>
|
|
{% block title %}{% endblock %}
|
|
- La Chariotte</title>
|
|
{% block css %}
|
|
<link href="{% sass_src 'sass/style.sass' %}"
|
|
rel="stylesheet"
|
|
type="text/css" />
|
|
<link rel="stylesheet"
|
|
href="{% static 'fork-awesome/css/fork-awesome.min.css' %}">
|
|
{% block extra_css %}
|
|
{% endblock extra_css %}
|
|
{% endblock css %}
|
|
<link rel="shortcut icon" href="{% static 'img/icons/chariotte.ico' %}">
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<!-- End Top navbar -->
|
|
<!-- Side navbar -->
|
|
<!-- End Navbar -->
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
<footer class="footer section">
|
|
<div class="container">
|
|
<div class="columns is-multiline is-justify-content-center">
|
|
<div class="column is-4-desktop is-5-tablet">
|
|
<div class="widget mb-0">
|
|
<div class="logo mb-4">
|
|
<h2 style="font-size: 2rem;">{% settings_value "PROJECT_NAME" %}</h2>
|
|
</div>
|
|
<a href="mailto:{% settings_value "CONTACT_EMAIL" %}">{% settings_value "CONTACT_EMAIL" %}</a>
|
|
<p>version {{ version }}</p>
|
|
</div>
|
|
</div>
|
|
<div class="column is-2-desktop is-5-tablet">
|
|
<div class="widget mb-0">
|
|
<h4 class="mb-4">Information</h4>
|
|
<ul class="list-unstyled footer-menu lh-35">
|
|
<li>
|
|
<a href="https://blog.chariotte.fr/last">
|
|
<i class="fa fa-newspaper-o mr-3" aria-hidden="true"></i>Actualités</a>
|
|
</li>
|
|
<li>
|
|
<a href="{% url 'about_chariotte' %}">
|
|
<i class="fa fa-info-circle mr-3" aria-hidden="true"></i>C'est quoi ?
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{% url 'notice' %}">
|
|
<i class="fa fa-cog mr-3" aria-hidden="true"></i>Comment ça marche ?
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{% url 'legal_notice' %}">Mentions légales</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="column is-2-desktop is-5-tablet">
|
|
<div class="widget mb-0">
|
|
<h4 class="mb-4">Suivez nous</h4>
|
|
<ul class="list-unstyled footer-socials">
|
|
<li>
|
|
<a href="https://www.facebook.com/profile.php?id=100091984176981"><i class="fa fa-facebook-square mr-2 text-muted"></i>Facebook</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://gitlab.com/la-chariotte/"><i class="fa fa-git-square mr-2 text-muted"></i>Gitlab</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://www.linkedin.com/company/la-chariotte-commandes-groupees/"><i class="fa fa-linkedin-square mr-2 text-muted"></i>LinkedIn</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://mastodon.scop.coop/@la_chariotte"><i class="fa fa-mastodon-square mr-2 text-muted"></i>Mastodon</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
<script>
|
|
// For responsive menu
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
// Get all "navbar-burger" elements
|
|
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
|
|
|
// Add a click event on each of them
|
|
$navbarBurgers.forEach(el => {
|
|
el.addEventListener('click', () => {
|
|
|
|
// Get the target from the "data-target" attribute
|
|
const target = el.dataset.target;
|
|
const $target = document.getElementById(target);
|
|
|
|
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
|
|
el.classList.toggle('is-active');
|
|
$target.classList.toggle('is-active');
|
|
|
|
});
|
|
});
|
|
|
|
});
|
|
{% block extra_js %} {% endblock %}
|
|
</script>
|