mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-02 03:42:26 +02:00
Fix base template indentation and spacing
This commit is contained in:
parent
59ad699edf
commit
30ea525619
1 changed files with 49 additions and 46 deletions
|
@ -1,7 +1,8 @@
|
||||||
{% load static %}
|
{% load static %}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
|
@ -16,8 +17,9 @@
|
||||||
{% block extra_css %}{% endblock extra_css %}
|
{% block extra_css %}{% endblock extra_css %}
|
||||||
{% endblock css %}
|
{% endblock css %}
|
||||||
<link rel="shortcut icon" href="{% static 'img/icons/chariotte.ico' %}">
|
<link rel="shortcut icon" href="{% static 'img/icons/chariotte.ico' %}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<!-- Top navbar -->
|
<!-- Top navbar -->
|
||||||
<nav class="top-nav navbar">
|
<nav class="top-nav navbar">
|
||||||
|
@ -124,9 +126,9 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="content has-text-centered columns">
|
<div class="content has-text-centered columns">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<p>
|
<p>
|
||||||
|
@ -137,7 +139,8 @@
|
||||||
<a href="{% url 'legal_notice' %}">Mentions légales</a>
|
<a href="{% url 'legal_notice' %}">Mentions légales</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -148,7 +151,7 @@
|
||||||
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
||||||
|
|
||||||
// Add a click event on each of them
|
// Add a click event on each of them
|
||||||
$navbarBurgers.forEach( el => {
|
$navbarBurgers.forEach(el => {
|
||||||
el.addEventListener('click', () => {
|
el.addEventListener('click', () => {
|
||||||
|
|
||||||
// Get the target from the "data-target" attribute
|
// Get the target from the "data-target" attribute
|
||||||
|
@ -163,5 +166,5 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
{% block extra_js %}{% endblock %}
|
{% block extra_js %} {% endblock %}
|
||||||
</script>
|
</script>
|
Loading…
Reference in a new issue