From 75472ee1ea3e0955af4961d0aeec11df2abc559a Mon Sep 17 00:00:00 2001 From: Jason Heppler Date: Fri, 4 Oct 2024 12:25:12 -0500 Subject: [PATCH] refactor: Resolves a majority of the feedback in #14 --- config/settings.py | 1 + exhibits/templates/exhibits/exhibit_page.html | 574 ++++++++++++------ static/css/style.css | 17 + templates/base_exhibit.html | 4 +- templates/index.html | 17 +- 5 files changed, 426 insertions(+), 187 deletions(-) diff --git a/config/settings.py b/config/settings.py index cc94c4c..2439710 100644 --- a/config/settings.py +++ b/config/settings.py @@ -213,6 +213,7 @@ WAGTAIL_SITE_NAME = "Connecting Threads" WAGTAIL_BASE_URL = "http://localhost:8000" WAGTAILADMIN_BASE_URL = "http://localhost:8000" +WAGTAILEMBEDS_RESPONSIVE_HTML = True LOGGING = { "version": 1, diff --git a/exhibits/templates/exhibits/exhibit_page.html b/exhibits/templates/exhibits/exhibit_page.html index f4a2031..49f7c20 100644 --- a/exhibits/templates/exhibits/exhibit_page.html +++ b/exhibits/templates/exhibits/exhibit_page.html @@ -5,8 +5,8 @@ {% block content %}
- - {# ================= image, left column ======================= #} + + {# ================= image, left column ======================= #} {% if page.layout == 'left_image_one_third' %}
{% if page.image_comparisons.all %} @@ -17,8 +17,10 @@ - - + +
@@ -29,14 +31,16 @@ {% image page.image original class="w-full h-screen object-cover" %}