From 0c71f45e66f0ef049160afad6bd19f04a32fe6f2 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Sun, 22 May 2022 22:51:32 -0400 Subject: [PATCH] Fix indentation --- france/france_rsvp/static/css/custom.css | 38 ++++---- france/france_rsvp/templates/form.html | 44 ++++----- france/france_rsvp/templates/index.html | 118 +++++++++++------------ france/france_rsvp/templates/layout.html | 10 +- france/france_rsvp/templates/rsvp.html | 46 +++++---- france/france_rsvp/templates/thanks.html | 8 +- france/france_rsvp/web.py | 2 + 7 files changed, 138 insertions(+), 128 deletions(-) diff --git a/france/france_rsvp/static/css/custom.css b/france/france_rsvp/static/css/custom.css index 53daad7..d82336d 100644 --- a/france/france_rsvp/static/css/custom.css +++ b/france/france_rsvp/static/css/custom.css @@ -1,33 +1,33 @@ /* timeline from https://mdbootstrap.com/docs/standard/extended/timeline/ */ .timeline-with-icons { - border-left: 3px solid hsl(0, 0%, 90%); - position: relative; - list-style: none; - margin-top:1.3rem; + border-left: 3px solid hsl(0, 0%, 90%); + position: relative; + list-style: none; + margin-top:1.3rem; } .timeline-with-icons .timeline-item { - position: relative; + position: relative; } .timeline-with-icons .timeline-item:after { - position: absolute; - display: block; - top: 0; + position: absolute; + display: block; + top: 0; } .timeline-with-icons .timeline-icon { - position: absolute; - left: -48px; - background-color: hsl(217, 88.2%, 90%); - color: hsl(217, 88.8%, 35.1%); - border-radius: 60%; - height: 38px; - width: 38px; - display: flex; - align-items: center; - justify-content: center; + position: absolute; + left: -48px; + background-color: hsl(217, 88.2%, 90%); + color: hsl(217, 88.8%, 35.1%); + border-radius: 60%; + height: 38px; + width: 38px; + display: flex; + align-items: center; + justify-content: center; } body { @@ -37,7 +37,7 @@ body { background-repeat: no-repeat; background-size: cover; } - + body > nav > div { font-size:1.5rem; } diff --git a/france/france_rsvp/templates/form.html b/france/france_rsvp/templates/form.html index c58976d..52fad7f 100644 --- a/france/france_rsvp/templates/form.html +++ b/france/france_rsvp/templates/form.html @@ -3,34 +3,34 @@ {% block navitems %} {% endblock %} {% block content %} - - {% if error %} -

{{ error }}

- {% endif %} - -
- -
-
- -
- -
- -
-
- - -
- + {% if error %} +

{{ error }}

+ {% endif %} + +
+ +
+
+ +
+ +
+ +
+
+ + + +
+ {% endblock %} diff --git a/france/france_rsvp/templates/index.html b/france/france_rsvp/templates/index.html index 3272a08..841ff07 100644 --- a/france/france_rsvp/templates/index.html +++ b/france/france_rsvp/templates/index.html @@ -6,17 +6,17 @@ {% endblock %} {% block content %} - -

Rémi & Vicky are renewing their vows!

+ +

Rémi & Vicky are renewing their vows!

Rémi & Vicky were married in a small ceremony in Janaury 30, 2021. Exactly 1.5 years later, we can finally make it to France to renew our vows and celebrate with everyone! We hope to see you there.

-RSVP +RSVP

La Chapelle-Taillefert

30 Julliet 2022

@@ -26,67 +26,67 @@
+
  • + + + + +

    Décontraction et pétanque

    +

    16h00

    +

    La venue. Bring your own boules de pétanque !

    +
  • + +
  • + + + + +

    Apéro et BBQ

    +

    19h30

    +

    La venue

    +
  • + +
  • + + + + +

    Karaoké et musique et danse

    +

    21h30

    +

    La venue

    +
  • + +
    diff --git a/france/france_rsvp/templates/layout.html b/france/france_rsvp/templates/layout.html index bc487fb..8578386 100644 --- a/france/france_rsvp/templates/layout.html +++ b/france/france_rsvp/templates/layout.html @@ -10,9 +10,9 @@ {% block title %}{% endblock %} Rémi & Vicky {% endblock %} - + - + - +
    {% block content %}{% endblock %}
    - + - + diff --git a/france/france_rsvp/templates/rsvp.html b/france/france_rsvp/templates/rsvp.html index f5b91e3..c6df9d6 100644 --- a/france/france_rsvp/templates/rsvp.html +++ b/france/france_rsvp/templates/rsvp.html @@ -2,9 +2,9 @@ {% block title %}RSVP -{% endblock %} {% block navitems %} - + {% endblock %} {% block content %} @@ -12,20 +12,24 @@ {% if error %}

    {{ error }}

    {% endif %} - +
    - +
    - +
    @@ -33,17 +37,21 @@
    - +
    - +
    - + {% endblock %} diff --git a/france/france_rsvp/templates/thanks.html b/france/france_rsvp/templates/thanks.html index 121e57d..8743680 100644 --- a/france/france_rsvp/templates/thanks.html +++ b/france/france_rsvp/templates/thanks.html @@ -1,15 +1,15 @@ {% extends "layout.html" %} {% block title %}MERCI -{% endblock %} {% block navitems %} - + {% endblock %} {% block content %}

    Merci !

    -

    We are looking forward to seeing you there. The itinerary and addresses are on the info page.

    +

    We are looking forward to seeing you there. The itinerary and addresses are on the info page.

    {% endblock %} diff --git a/france/france_rsvp/web.py b/france/france_rsvp/web.py index 485f259..77e8050 100644 --- a/france/france_rsvp/web.py +++ b/france/france_rsvp/web.py @@ -9,10 +9,12 @@ logger = logging.getLogger(__name__) app = Flask('france_rsvp') + @app.route('/france/') def index(): return render_template('index.html') + @app.route('/france/rsvp', methods=['GET', 'POST']) def form(): error = None