You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.4 KiB
HTML
41 lines
1.4 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 %}</title>
|
|
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
|
<link rel="stylesheet" href="{% static 'bulma.min.css' %}">
|
|
<link rel="stylesheet" href="{% static 'bulma-prefers-dark.min.css' %}">
|
|
</head>
|
|
<body>
|
|
<nav class="navbar">
|
|
<div class="container">
|
|
<div class="navbar-brand">
|
|
<a class="navbar-item has-text-weight-bold" href="{% url 'index' %}">Helfer*innen</a>
|
|
{% block navbar %}
|
|
{% endblock navbar %}
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
{% block body %}
|
|
{% include 'notifications.html' %}
|
|
{% endblock %}
|
|
<script>
|
|
document.querySelectorAll('.delete').forEach(btn => btn.addEventListener('click', event => event.target.parentElement.remove()));
|
|
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
|
if ($navbarBurgers.length > 0) {
|
|
$navbarBurgers.forEach( el => {
|
|
el.addEventListener('click', () => {
|
|
const target = el.dataset.target;
|
|
const $target = document.getElementById(target);
|
|
el.classList.toggle('is-active');
|
|
$target.classList.toggle('is-active');
|
|
});
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|