2021-05-28 13:51:23 +00:00
|
|
|
{% extends "base.html.j2" %}
|
2020-10-30 14:01:41 +00:00
|
|
|
|
2020-07-03 09:17:47 +00:00
|
|
|
{% block page_content %}
|
2020-10-23 06:51:46 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col s12">
|
2020-10-23 08:42:52 +00:00
|
|
|
<h1 id="title">{{ title }}</h1>
|
2020-10-23 06:51:46 +00:00
|
|
|
</div>
|
|
|
|
<div class="col s12">
|
2023-12-20 14:37:59 +00:00
|
|
|
<div class="switch">
|
|
|
|
<label>
|
|
|
|
DE
|
|
|
|
<input type="checkbox" id="terms-of-use-page-switch">
|
|
|
|
<span class="lever"></span>
|
|
|
|
EN
|
|
|
|
</label>
|
2020-10-23 06:51:46 +00:00
|
|
|
</div>
|
2023-12-20 14:37:59 +00:00
|
|
|
<br>
|
2020-07-03 09:17:47 +00:00
|
|
|
</div>
|
2023-12-20 14:37:59 +00:00
|
|
|
<div class="terms-of-use-page-content hide">
|
|
|
|
{% include "main/terms_of_use_en.html.j2" %}
|
2020-07-03 09:17:47 +00:00
|
|
|
</div>
|
2023-12-20 14:37:59 +00:00
|
|
|
<div class="terms-of-use-page-content">
|
|
|
|
{% include "main/terms_of_use_de.html.j2" %}
|
2020-07-03 09:17:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-01 13:15:20 +00:00
|
|
|
{% endblock page_content %}
|
2023-12-20 14:37:59 +00:00
|
|
|
|
|
|
|
{% block scripts %}
|
2023-12-21 12:03:58 +00:00
|
|
|
{{ super() }}
|
2023-12-20 14:37:59 +00:00
|
|
|
<script>
|
2023-12-21 12:03:58 +00:00
|
|
|
let languagePageSwitch = document.querySelector('#terms-of-use-page-switch');
|
|
|
|
let termsOfUsePageContent = document.querySelectorAll('.terms-of-use-page-content');
|
|
|
|
languagePageSwitch.addEventListener('change', function() {
|
|
|
|
termsOfUsePageContent.forEach(content => {
|
2023-12-20 14:37:59 +00:00
|
|
|
content.classList.toggle('hide');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock scripts %}
|