2016-02-09 22:03:18 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block css %}
|
2016-02-13 11:21:51 +01:00
|
|
|
<link type="text/css" rel="stylesheet" href="../static/css/fonts.css" media="screen,projection"/>
|
|
|
|
<link type="text/css" rel="stylesheet" href="../static/css/style.css" media="screen,projection"/>
|
|
|
|
<link type="text/css" rel="stylesheet" href="../static/css/style-page.css" media="screen,projection"/>
|
|
|
|
{% endblock %}
|
|
|
|
{% block logo %}
|
|
|
|
<img id="logo" src="../static/img/logo.svg" />
|
2016-02-09 22:03:18 +01:00
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<section class="text">
|
2016-02-13 11:21:51 +01:00
|
|
|
<h2>{{ gallery.title }}</h2>
|
2016-02-09 22:03:18 +01:00
|
|
|
</section>
|
2016-02-16 08:51:23 +01:00
|
|
|
{% for section in gallery.sections %}
|
2016-11-04 12:55:02 +01:00
|
|
|
{% include "sections/" + section.type + ".html" %}
|
2016-02-16 08:51:23 +01:00
|
|
|
{% endfor %}
|
2016-02-09 22:03:18 +01:00
|
|
|
<div class="back-to-home">
|
|
|
|
<hr>
|
2016-02-13 11:21:51 +01:00
|
|
|
<a href="../index.html">
|
2016-11-04 12:55:02 +01:00
|
|
|
<div id="logo" src="../static/img/logo.svg"/>
|
|
|
|
HOME
|
|
|
|
</div>
|
2016-02-09 22:03:18 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
2018-03-22 10:47:14 +01:00
|
|
|
{% if settings.settings.night_mode %}
|
2016-02-13 11:21:51 +01:00
|
|
|
<script type="text/javascript" src="../static/js/jquery-2.1.4.min.js" charset="utf-8"></script>
|
2018-03-22 10:47:14 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
if (localStorage.getItem("mode_night") == "true") {
|
|
|
|
$('body').addClass('night');
|
|
|
|
document.getElementById("toggle-box-checkbox").checked = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
$('#toggle-box-checkbox').on('change', function(){
|
|
|
|
if(this.checked){
|
|
|
|
$('body').addClass('night');
|
|
|
|
localStorage.setItem("mode_night", true);
|
|
|
|
}else{
|
|
|
|
$('body').removeClass('night');
|
|
|
|
localStorage.setItem("mode_night", false);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endif %}
|
2016-02-09 22:03:18 +01:00
|
|
|
{% endblock %}
|