From 2695b63c611e36b53764eeadc1d5c8516f21de46 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Tue, 24 Mar 2015 21:34:07 -0400 Subject: big reorganization of the templates --- getting.htm | 31 ----------- lodging.htm | 31 ----------- rsvp.htm | 31 ----------- templates/en/getting.htm | 6 --- templates/en/gifts.htm | 7 --- templates/en/lodging.htm | 6 --- templates/en/main.htm | 22 -------- templates/en/rsvp.htm | 131 ----------------------------------------------- templates/fr/main.htm | 4 -- templates/getting.html | 5 ++ templates/gifts.html | 6 +++ templates/layout.htm | 61 ---------------------- templates/layout.html | 33 ++++++++++++ templates/lodging.html | 6 +++ templates/main.html | 25 +++++++++ templates/rsvp.html | 131 +++++++++++++++++++++++++++++++++++++++++++++++ templates/sr/main.htm | 4 -- 17 files changed, 206 insertions(+), 334 deletions(-) delete mode 100644 getting.htm delete mode 100644 lodging.htm delete mode 100644 rsvp.htm delete mode 100644 templates/en/getting.htm delete mode 100644 templates/en/gifts.htm delete mode 100644 templates/en/lodging.htm delete mode 100644 templates/en/main.htm delete mode 100644 templates/en/rsvp.htm delete mode 100644 templates/fr/main.htm create mode 100644 templates/getting.html create mode 100644 templates/gifts.html delete mode 100644 templates/layout.htm create mode 100644 templates/layout.html create mode 100644 templates/lodging.html create mode 100644 templates/main.html create mode 100644 templates/rsvp.html delete mode 100644 templates/sr/main.htm diff --git a/getting.htm b/getting.htm deleted file mode 100644 index 5989bba..0000000 --- a/getting.htm +++ /dev/null @@ -1,31 +0,0 @@ - - - - I & G wedding - - - - - - - -
- banner -
-
-
- -
-
- lorem ipsum sic amet -
-
- - - - diff --git a/lodging.htm b/lodging.htm deleted file mode 100644 index 5989bba..0000000 --- a/lodging.htm +++ /dev/null @@ -1,31 +0,0 @@ - - - - I & G wedding - - - - - - - -
- banner -
-
-
- -
-
- lorem ipsum sic amet -
-
- - - - diff --git a/rsvp.htm b/rsvp.htm deleted file mode 100644 index 5989bba..0000000 --- a/rsvp.htm +++ /dev/null @@ -1,31 +0,0 @@ - - - - I & G wedding - - - - - - - -
- banner -
-
-
- -
-
- lorem ipsum sic amet -
-
- - - - diff --git a/templates/en/getting.htm b/templates/en/getting.htm deleted file mode 100644 index 85b4e27..0000000 --- a/templates/en/getting.htm +++ /dev/null @@ -1,6 +0,0 @@ -{%extends 'layout.htm' %} -{%block content%} -

- Coming soon! -

-{% endblock %} diff --git a/templates/en/gifts.htm b/templates/en/gifts.htm deleted file mode 100644 index 5242cfa..0000000 --- a/templates/en/gifts.htm +++ /dev/null @@ -1,7 +0,0 @@ -{%extends 'layout.htm' %} -{%block content%} -

- We are not asking for any gifts considering the expense of the trip - to France. -

-{% endblock %} diff --git a/templates/en/lodging.htm b/templates/en/lodging.htm deleted file mode 100644 index 85b4e27..0000000 --- a/templates/en/lodging.htm +++ /dev/null @@ -1,6 +0,0 @@ -{%extends 'layout.htm' %} -{%block content%} -

- Coming soon! -

-{% endblock %} diff --git a/templates/en/main.htm b/templates/en/main.htm deleted file mode 100644 index 0e6add6..0000000 --- a/templates/en/main.htm +++ /dev/null @@ -1,22 +0,0 @@ -{%extends 'layout.htm' %} -{%block content%} -

- Welcome to the homepage of -
- Iva and Guillaume’s wedding! -

-

- The wedding will take place -
- Friday September 4th, 2015 -
- in Le Lavandou, France. -

-

- This website will be updated periodically to include more - information. For now we just ask you to complete the RSVP - form. Please let us know if you have any questions. -

-

- We are looking forward to sharing this experience with you! -{% endblock %} diff --git a/templates/en/rsvp.htm b/templates/en/rsvp.htm deleted file mode 100644 index d1b5e65..0000000 --- a/templates/en/rsvp.htm +++ /dev/null @@ -1,131 +0,0 @@ -{%extends 'layout.htm' %} -{% block content%} -

- {% with messages = get_flashed_messages() %} - {% if messages %} - {% for message in messages %} -
-
- Success! {{message}} -
- {% endfor %} -
- {% endif %} - {% endwith %} -
- -
-

{{form['user_name']}}

-
-
-
- -
- -
-
-

- Will you be able to make it to our wedding? -

-
- -
- - -
-
-
- -
- -
-
-
- -
- -
-
-

- Will you be accompanied by a plus one? -

-
- -
- - -
-
-
- -
- -
-
-

- Will you be coming with kids? -

-
- -
- - -
-
-
- -
- -
-
-

- Please let us know if you have any dietary restrictions or comments: -

- -
- -
- -
-
-
-
- -
-
-
-{% endblock %} diff --git a/templates/fr/main.htm b/templates/fr/main.htm deleted file mode 100644 index c195258..0000000 --- a/templates/fr/main.htm +++ /dev/null @@ -1,4 +0,0 @@ -{%extends 'layout.htm' %} -{%block content%} -Je suis un bloc francais -{% endblock %} diff --git a/templates/getting.html b/templates/getting.html new file mode 100644 index 0000000..eac8f95 --- /dev/null +++ b/templates/getting.html @@ -0,0 +1,5 @@ +{%extends 'layout.html' %} +{%block content%} +

{% trans %}Coming soon!{% endtrans %} +

+{% endblock %} diff --git a/templates/gifts.html b/templates/gifts.html new file mode 100644 index 0000000..1a3996c --- /dev/null +++ b/templates/gifts.html @@ -0,0 +1,6 @@ +{%extends 'layout.html' %} +{%block content%} +

{% trans %}We are not asking for any + gifts considering the expense of the trip to France.{% endtrans %} +

+{% endblock %} diff --git a/templates/layout.htm b/templates/layout.htm deleted file mode 100644 index e42c48e..0000000 --- a/templates/layout.htm +++ /dev/null @@ -1,61 +0,0 @@ - - - - {%if lang=="en" %} - I & G wedding - {% endif %} - {%if lang=="fr" %} - Mariage de I & G - {% endif %} - {%if lang=="sr" %} - Vencanje I & G - {% endif %} - - - - - - - - -
- -
-
- -
- {% block content %} - {% endblock %} -
-
- - - - diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..ec933b2 --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,33 @@ + + + + {{_("I & G wedding")}} + + + + + + + +
+ +
+
+ +
+ {% block content %} + {% endblock %} +
+
+ + + + diff --git a/templates/lodging.html b/templates/lodging.html new file mode 100644 index 0000000..6cf51fe --- /dev/null +++ b/templates/lodging.html @@ -0,0 +1,6 @@ +{%extends 'layout.html' %} +{%block content%} +

+ {{_("Coming soon!")}} +

+{% endblock %} diff --git a/templates/main.html b/templates/main.html new file mode 100644 index 0000000..68e32ae --- /dev/null +++ b/templates/main.html @@ -0,0 +1,25 @@ +{%extends 'layout.html' %} +{%block content%} +

+ Welcome to the homepage of +
+ Iva and Guillaume’s wedding! +

+

{% trans %} + The wedding will take place +
+ Friday September 4th, 2015 +
+ in Le Lavandou, France.{% endtrans %} +

+

{% trans %} + This website will be updated periodically to include more + information. For now we just ask you to complete the RSVP + form. Please let us know if you have any questions. + {% endtrans %} +

+

{% trans %} + We are looking forward to sharing this experience with you! + {% endtrans %} +

+ {% with messages = get_flashed_messages() %} + {% if messages %} + {% for message in messages %} +
+
+ Success! {{message}} +
+ {% endfor %} +
+ {% endif %} + {% endwith %} +
+ +
+

{{form['user_name']}}

+
+
+
+ +
+ +
+
+

+ Will you be able to make it to our wedding? +

+
+ +
+ + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+

+ {{_("Will you be accompanied by a plus one?")}} +

+
+ +
+ + +
+
+
+ +
+ +
+
+

+ Will you be coming with kids? +

+
+ +
+ + +
+
+
+ +
+ +
+
+

+ Please let us know if you have any dietary restrictions or comments: +

+ +
+ +
+ +
+
+
+
+ +
+
+ +{% endblock %} diff --git a/templates/sr/main.htm b/templates/sr/main.htm deleted file mode 100644 index 0475072..0000000 --- a/templates/sr/main.htm +++ /dev/null @@ -1,4 +0,0 @@ -{%extends 'layout.htm' %} -{%block content%} -Ja sam srbski block -{% endblock %} -- cgit v1.2.3-70-g09d2