From bb8174400a38d890871852d89f0dee9db683d8f4 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Mon, 7 Mar 2022 07:03:14 +0000 Subject: [PATCH] add gallery design --- fet2020/templates/gallery/album.html | 117 ++++++++++++++------------- fet2020/templates/gallery/index.html | 42 +++++----- 2 files changed, 79 insertions(+), 80 deletions(-) diff --git a/fet2020/templates/gallery/album.html b/fet2020/templates/gallery/album.html index 64b150d2..9b46dfe5 100644 --- a/fet2020/templates/gallery/album.html +++ b/fet2020/templates/gallery/album.html @@ -1,74 +1,75 @@ -{% extends 'layout.html' %} +{% extends 'base.html' %} {% load static %} +{% block title %}FET: {{ album.title }}{% endblock %} + {% block galleryheader %} {% endblock %} {% block content %} + +
+

Fotos

-
-
-
- Zurück -
- {% if request.user.is_authenticated %} - {% if album.id %} - - {% else %} - - {% endif %} + + Zurück + + + {% if request.user.is_authenticated %} + {% if album.id %} + + Album bearbeiten + + {% else %} + + neues Album hinzufügen + {% endif %} -
-
- -
-
- {{ album.title }}
- {% if album.photographer %} - Fotograf(en): {{ album.photographer }}
- {% endif %} - {% if album.event_date %} - Datum: {{ album.event_date }}
- {% endif %} - {% if album.status == album.DRAFT %} - DRAFT
- {% endif %} - {% if album.description %} -

- {{ album.description|safe }} - {% endif %} -

-
-
+ {% endif %} +
+

{{ album.title }}

+ {% if album.photographer %} + {{ album.photographer }} + {% endif %} + {% if album.event_date %} + {{ album.event_date }} + {% endif %} + Gußhaus 27 - 1040, Wien + {% if album.status == album.DRAFT %} + DRAFT
+ {% endif %} + {% if album.description %} +
+

{{ album.description|safe }}

+
+ {% endif %} +
+ +
- - - +