From 58aeb72afa6f28ead18888d47438e0704a424e23 Mon Sep 17 00:00:00 2001 From: Joachim Date: Wed, 21 Apr 2021 17:23:48 +0200 Subject: [PATCH 01/14] Move card footer container inside the card-footer component --- bookwyrm/templates/components/card.html | 6 +-- .../templates/moderation/report_preview.html | 38 ++++++++++--------- bookwyrm/templates/snippets/goal_card.html | 12 +++--- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/bookwyrm/templates/components/card.html b/bookwyrm/templates/components/card.html index f1104893..7dc3e1b0 100644 --- a/bookwyrm/templates/components/card.html +++ b/bookwyrm/templates/components/card.html @@ -11,10 +11,8 @@ {% endif %} - + {% block card-footer %} + {% endblock %} {% block card-bonus %} {% endblock %} diff --git a/bookwyrm/templates/moderation/report_preview.html b/bookwyrm/templates/moderation/report_preview.html index 363783d5..936c04b8 100644 --- a/bookwyrm/templates/moderation/report_preview.html +++ b/bookwyrm/templates/moderation/report_preview.html @@ -16,22 +16,24 @@ {% endblock %} {% block card-footer %} - - - + {% endblock %} diff --git a/bookwyrm/templates/snippets/goal_card.html b/bookwyrm/templates/snippets/goal_card.html index 329fea54..5014b81c 100644 --- a/bookwyrm/templates/snippets/goal_card.html +++ b/bookwyrm/templates/snippets/goal_card.html @@ -17,9 +17,11 @@ {% endblock %} {% block card-footer %} - + {% endblock %} From 13957c2f4424187c9af786d6fa98dfe6560d6143 Mon Sep 17 00:00:00 2001 From: Joachim Date: Wed, 21 Apr 2021 17:32:35 +0200 Subject: [PATCH 02/14] Move footer some items to header - Header elements are now enclosed in a media layout - Footer elements are not in a card-footer anymore --- .../templates/snippets/status/layout.html | 15 +- .../snippets/status/status_header.html | 142 ++++++++++-------- 2 files changed, 81 insertions(+), 76 deletions(-) diff --git a/bookwyrm/templates/snippets/status/layout.html b/bookwyrm/templates/snippets/status/layout.html index 5b6c0c78..9c9d8fc1 100644 --- a/bookwyrm/templates/snippets/status/layout.html +++ b/bookwyrm/templates/snippets/status/layout.html @@ -13,7 +13,7 @@ {% block card-content %}{% endblock %} {% block card-footer %} -