diff --git a/gallery/templates/gallery/about.html b/gallery/templates/gallery/about.html index c75a187..12d7243 100644 --- a/gallery/templates/gallery/about.html +++ b/gallery/templates/gallery/about.html @@ -13,49 +13,55 @@ {% block content %} -{% gallery_stats as counts %} + +
+ +
-
-
-

{{ site_config.about_title }}

- - Profile photo - -

- {{ site_config.about_description }} -

+ {% gallery_stats as counts %} +
+
+

{{ site_config.about_title }}

+ + Profile photo + +

+ {{ site_config.about_description }} +

-

- Contact: - - {{ site_config.contact_email }} - -

+

+ Contact: + + {{ site_config.contact_email }} + +

+
+ {% if site_config.bluesky_url %} + + {% endif %} + {% if site_config.twitter_url %} + + {% endif %} + {% if site_config.instagram_url %} + + {% endif %} +
-
- {% if site_config.bluesky_url %} - - {% endif %} - {% if site_config.twitter_url %} - - {% endif %} - {% if site_config.instagram_url %} - - {% endif %} -
+
-
- -
-

- {{ counts.0 }} Albums (public {{ counts.1 }}), - {{ counts.2 }} Photos

+
+

+ {{ counts.0 }} Albums (public {{ counts.1 }}), + {{ counts.2 }} Photos

+
-
{% endblock %} \ No newline at end of file diff --git a/gallery/templates/gallery/album_detail.html b/gallery/templates/gallery/album_detail.html index 9b872b5..b3e7d6e 100644 --- a/gallery/templates/gallery/album_detail.html +++ b/gallery/templates/gallery/album_detail.html @@ -25,6 +25,15 @@ {% block content %} + + +
{% for photo in photos %} diff --git a/gallery/templates/gallery/album_list.html b/gallery/templates/gallery/album_list.html index f913b6b..9b5a05c 100644 --- a/gallery/templates/gallery/album_list.html +++ b/gallery/templates/gallery/album_list.html @@ -12,39 +12,47 @@ {% block content %} -
- - {% for album in album_list %} -
-
- - - - - -
-

- {{ album }} -

-

- {{ album.album_date|date:"d.m.Y" }} • {{ album.photos_in_album }} photos -

-
- -
+ +
+
- {% endfor %} -
+
-{% include "./partials/pagination.html" %} + {% for album in album_list %} +
+
+ + +
+ + Cover image for {{ album.name }} + +
+ + +
+

+ {{ album }} +

+

+ {{ album.album_date|date:"d.m.Y" }} • {{ album.photos_in_album }} photos +

+
+ +
+
+ {% endfor %} + +
+ + {% include "./partials/pagination.html" %} {% endblock %} \ No newline at end of file diff --git a/gallery/templates/gallery/partials/pagination.html b/gallery/templates/gallery/partials/pagination.html index 2fe8ff4..69b7f33 100644 --- a/gallery/templates/gallery/partials/pagination.html +++ b/gallery/templates/gallery/partials/pagination.html @@ -1,8 +1,9 @@ {% load link_tags %} {% if page_obj.has_other_pages %} -
-
    +
    + +
      {% if page_obj.has_previous %}
    • « Prev
    • @@ -39,5 +40,6 @@ {% endif %}
    +
    {% endif %} \ No newline at end of file diff --git a/gallery/templates/gallery/photo_detail.html b/gallery/templates/gallery/photo_detail.html index 47dd3ef..a3def8b 100644 --- a/gallery/templates/gallery/photo_detail.html +++ b/gallery/templates/gallery/photo_detail.html @@ -42,6 +42,20 @@
+ + + + +
    @@ -125,5 +139,4 @@
- {% endblock %} \ No newline at end of file diff --git a/gallery/templates/gallery/photo_list.html b/gallery/templates/gallery/photo_list.html index 186a810..7ec3f07 100644 --- a/gallery/templates/gallery/photo_list.html +++ b/gallery/templates/gallery/photo_list.html @@ -12,13 +12,30 @@ {% block content %} -{% load link_tags %} + {% load link_tags %} + +
+
+ + + + +
+
-
diff --git a/gallery/templates/gallery/search.html b/gallery/templates/gallery/search.html index 5c5a1b2..1614564 100644 --- a/gallery/templates/gallery/search.html +++ b/gallery/templates/gallery/search.html @@ -12,41 +12,49 @@ {% block content %} -
- {% if results %} - {% for album in results %} -
-
- - -
- - Cover image for {{ album.name }} - -
- - -
-

- {{ album }} -

-

- {{ album.album_date|date:"d.m.Y" }} • {{ album.photos_in_album }} photos -

-
- -
-
- {% endfor %} - {% else %} -

Not found: "{{ query }}".

- {% endif %} -
+ +
+ +
-{% include "./partials/pagination.html" %} +
+ {% if results %} + {% for album in results %} +
+
+ + +
+ + Cover image for {{ album.name }} + +
+ + +
+

+ {{ album }} +

+

+ {{ album.album_date|date:"d.m.Y" }} • {{ album.photos_in_album }} photos +

+
+ +
+
+ {% endfor %} + {% else %} +

Not found: "{{ query }}".

+ {% endif %} +
+ + {% include "./partials/pagination.html" %} {% endblock %} \ No newline at end of file diff --git a/static/css/muistox.css b/static/css/muistox.css index 8dd9baf..7b8583c 100644 --- a/static/css/muistox.css +++ b/static/css/muistox.css @@ -6,3 +6,7 @@ body { min-height: 50px; } +.uk-align-center { + margin-top: 15px !important; + margin-bottom: 15px !important; +}