diff --git a/gallery/templates/gallery/album_list.html b/gallery/templates/gallery/album_list.html index 2d1b405..f1a2841 100644 --- a/gallery/templates/gallery/album_list.html +++ b/gallery/templates/gallery/album_list.html @@ -4,6 +4,10 @@ {% block title %} Gallery : Albums {% endblock %} + +{% block parallax %} + {% include "./partials/parallax.html" %} +{% endblock %} {% block content %} diff --git a/gallery/templates/gallery/main.html b/gallery/templates/gallery/main.html deleted file mode 100644 index 6da4000..0000000 --- a/gallery/templates/gallery/main.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "base_dark.html" %} -{% load top_tags %} - - -{% block title %} Gallery {% endblock %} - - -{% block content %} - Hello World! - - - - - -

Istunto vanhenee: {{ session_expiry|date:"d.m.Y H:i" }}

- -{% endblock %} \ No newline at end of file diff --git a/gallery/templates/gallery/partials/parallax.html b/gallery/templates/gallery/partials/parallax.html new file mode 100644 index 0000000..efeb491 --- /dev/null +++ b/gallery/templates/gallery/partials/parallax.html @@ -0,0 +1,21 @@ +{% load top_tags %} +{% load static %} + +
+ + + +
\ No newline at end of file diff --git a/gallery/templates/gallery/photo_list.html b/gallery/templates/gallery/photo_list.html index 44ef8b1..8882277 100644 --- a/gallery/templates/gallery/photo_list.html +++ b/gallery/templates/gallery/photo_list.html @@ -1,16 +1,22 @@ {% extends "base_dark.html" %} - +{% load static %} {% block title %} Gallery : Photostream {% endblock %} + +{% block parallax %} + {% include "./partials/parallax.html" %} +{% endblock %} + {% block content %} {% load link_tags %} -