85 lines
2.7 KiB
HTML
85 lines
2.7 KiB
HTML
{% load static %}
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>{% block title %}Help!{% endblock %} – Helfer*innen</title>
|
|
<link rel="icon" href="{% static 'tonkakt.svg' %}" sizes="any" type="image/svg+xml">
|
|
<link rel="stylesheet" href="{% static 'bulma.min.css' %}">
|
|
<link rel="stylesheet" href="{% static 'bulma-prefers-dark.min.css' %}">
|
|
<style>
|
|
@font-face {
|
|
font-family: "Maven Pro";
|
|
src: url("{% static 'MavenPro-VariableFont:wght.ttf' %}");
|
|
}
|
|
|
|
body {
|
|
font-family: "Maven Pro", sans-serif !important;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
body > .section {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
:root {
|
|
--background: #fff;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background: #17181c;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="is-flex is-flex-direction-column">
|
|
<nav class="navbar">
|
|
<div class="container">
|
|
<div class="navbar-brand">
|
|
<a class="navbar-item has-text-weight-bold" href="{% url 'index' %}">Helfer*innen</a>
|
|
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="main-nav">
|
|
<span aria-hidden="true"></span>
|
|
<span aria-hidden="true"></span>
|
|
<span aria-hidden="true"></span>
|
|
</a>
|
|
</div>
|
|
<div class="navbar-menu" id="main-nav">
|
|
{% block navbar %}
|
|
{% endblock navbar %}
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
{% block body %}
|
|
<section class="section">
|
|
<div class="container">
|
|
{% include 'notifications.html' %}
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|
|
<footer class="footer">
|
|
<div class="container">
|
|
{% block footer %}
|
|
{% endblock %}
|
|
<div class="breadcrumb has-dot-separator is-right">
|
|
<ul>
|
|
<li><a href="{% url 'pages:view' 'map' %}">Karte</a></li>
|
|
<li><a href="{% url 'pages:view' 'faq' %}">Häufig gestellte Fragen</a></li>
|
|
<li><a href="{% url 'pages:view' 'about' %}">Über diese Seite/Impressum</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
<script>
|
|
document.querySelectorAll('.delete').forEach(btn => btn.addEventListener('click', event => event.target.parentElement.remove()));
|
|
document.querySelectorAll('.navbar-burger').forEach(el => el.addEventListener('click', () => {
|
|
if (el.dataset.target) {
|
|
el.classList.toggle('is-active');
|
|
document.getElementById(el.dataset.target).classList.toggle('is-active');
|
|
}
|
|
}));
|
|
</script>
|
|
</body>
|
|
</html>
|