From 282584e035af7888685a5df44b813e759dc49cf9 Mon Sep 17 00:00:00 2001 From: Matěj Grabovský Date: Thu, 26 Mar 2015 21:39:01 +0100 Subject: A bit more consistent formatting in catalog template --- templates/themes/catalog/catalog.html | 117 +++++++++++++++++----------------- 1 file changed, 59 insertions(+), 58 deletions(-) (limited to 'templates') diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 45239c5b..6cc75a7d 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -18,74 +18,75 @@
{{ settings.subtitle }}
- - - {% trans 'Sort by' %}: - - - {% trans 'Image size' %}: - -
- + + {% trans 'Sort by' %}: + + + {% trans 'Image size' %}: + + +
+
    + {% for post in recent_posts %} +
  • -
    - - {% if post.youtube %} - - -
    - R: {{ post.reply_count }} / I: {{ post.image_count }} - {% if post.subject %} -

    - - {{ post.subject|e }} - -

    - {% else %} -
    - {% endif %} +
    + + {% if post.youtube %} + + +
    + R: {{ post.reply_count }} / I: {{ post.image_count }} + {% if post.subject %} +

    + + {{ post.subject|e }} + +

    + {% else %} +
    + {% endif %} + + {{ post.body }} +
    +
    +
  • + {% endfor %} +
+
- {{ post.body }} -
- - - {% endfor %} - - -
- + {% endfilter %} -- cgit v1.3 From 20ce6999d2a069919754978a4a6aa32e939b523d Mon Sep 17 00:00:00 2001 From: Matěj Grabovský Date: Thu, 26 Mar 2015 21:43:26 +0100 Subject: Wrap controls on the catalog page in a div --- templates/themes/catalog/catalog.html | 40 ++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 19 deletions(-) (limited to 'templates') diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 6cc75a7d..12b3cd98 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -18,27 +18,29 @@
{{ settings.subtitle }}
- +
+
    +
  • {% trans 'Bump order' %}
  • +
  • {% trans 'Creation date' %}
  • +
  • {% trans 'Reply count' %}
  • +
  • {% trans 'Random' %}
  • +
- {% trans 'Sort by' %}: - + {% trans 'Sort by' %}: + - {% trans 'Image size' %}: - + {% trans 'Image size' %}: + +
    -- cgit v1.3