diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-24 21:34:07 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-24 21:34:07 -0400 |
| commit | 2695b63c611e36b53764eeadc1d5c8516f21de46 (patch) | |
| tree | 9cff75e72a09b185ebfdac7899a67715ea4d1bcb /templates/en | |
| parent | 61df9a08182cf9b0b52c240603dede0ab6ab741b (diff) | |
| download | wedding-website-2695b63c611e36b53764eeadc1d5c8516f21de46.tar.gz | |
big reorganization of the templates
Diffstat (limited to 'templates/en')
| -rw-r--r-- | templates/en/getting.htm | 6 | ||||
| -rw-r--r-- | templates/en/gifts.htm | 7 | ||||
| -rw-r--r-- | templates/en/lodging.htm | 6 | ||||
| -rw-r--r-- | templates/en/main.htm | 22 | ||||
| -rw-r--r-- | templates/en/rsvp.htm | 131 |
5 files changed, 0 insertions, 172 deletions
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%} -<p style="text-align:center"> - Coming soon! -</p> -{% 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%} -<p style="text-align:center"> - We are not asking for any gifts considering the expense of the trip - to France. -</p> -{% 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%} -<p style="text-align:center"> - Coming soon! -</p> -{% 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%} -<h3> - Welcome to the homepage of - <br> - Iva and Guillaume’s wedding! -</h3> -<p class="info"> - The wedding will take place - <br> - Friday September 4<sup>th</sup>, 2015 - <br> - in Le Lavandou, France. -</p> -<p> - This website will be updated periodically to include more - information. For now we just ask you to complete the <a href="/rsvp">RSVP</a> - form. Please let us know if you have any questions. -</p> -<p class="info"> - We are looking forward to sharing this experience with you! </b> -{% 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%} -<form id="rsvp" action="/rsvp/" role="form" - class="form-horizontal" method="post"> - {% with messages = get_flashed_messages() %} - {% if messages %} - {% for message in messages %} - <div class="row"> - <div class="alert alert-success col-md-9"> - <strong>Success! </strong>{{message}} - </div> - {% endfor %} - </div> - {% endif %} - {% endwith %} - <div class="form-group"> - <label for="name" class="col-md-4 control-label">Username:</label> - <div class="col-md-5"> - <p class="form-control-static">{{form['user_name']}}</p> - </div> - </div> - <div class="form-group"> - <label for="fullname" class="col-md-4 control-label">Full Name:</label> - <div class="col-md-5"> - <input type="text" id="fullname" class="form-control" - name="full_name" placeholder="Your full name" value="{{form['full_name'] if form['full_name']}}"/> - </div> - </div> - <p> - Will you be able to make it to our wedding? - </p> - <div class="form-group"> - <label for="rsvp" class="col-md-4 control-label">RSVP:</label> - <div class="col-md-5"> - <label class="radio-inline"> - <input type="radio" value="1" name="rsvp" - {%if form['rsvp'] %}checked {% endif %}>Yes - </label> - <label class="radio-inline"> - <input type="radio" value="0" name="rsvp" - {%if not form['rsvp'] %}checked {% endif %}>No - </label> - </div> - </div> - <div class="form-group"> - <label for="email" class="col-md-4 control-label">Email:</label> - <div class="col-md-5"> - <input type="email" id="email" class="form-control" - name="email" placeholder="email" - value="{{form['email'] if form['email']}}" - {% if not form['rsvp'] %}disabled{% endif %}/> - </div> - </div> - <div class="form-group"> - <label for="mailing" class="col-md-4 control-label">Mailing Address:</label> - <div class="col-md-5"> - <textarea id="mailing" name="mailing" - placeholder="Your mailing address" - value="{{form['mailing'] if form['mailing']}}" - class="form-control" rows="3" {% if not form['rsvp'] %}disabled {%endif%}></textarea> - </div> - </div> - <p> - Will you be accompanied by a plus one? - </p> - <div class="form-group"> - <label for="plusone" class="col-md-4 control-label">+1:</label> - <div class="col-md-5"> - <label class="radio-inline"> - <input id="plusoneyes" type="radio" value="1" name="plusone" - {%if form['plusone'] %}checked {% endif %} >Yes - </label> - <label class="radio-inline"> - <input id="plusoneno" type="radio" value="0" name="plusone" - {%if not form['plusone'] %}checked {% endif %}>No - </label> - </div> - </div> - <div class="form-group"> - <label for="mailing" class="col-md-4 control-label">+1's Full Name:</label> - <div class="col-md-5"> - <input type="text" id="plusonename" class="form-control" - name="plusonename" placeholder="+1's Name" - value="{{form['plusonename'] if form['plusonename']}}" - {% if not form['plusone']%}disabled{% endif %}/> - </div> - </div> - <p> - Will you be coming with kids? - </p> - <div class="form-group"> - <label for="plusone" class="col-md-4 control-label">Kids:</label> - <div class="col-md-5"> - <label class="radio-inline"> - <input id="kidsyes" type="radio" value="1" name="kids" - {%if form['kids'] %}checked {% endif %}>Yes - </label> - <label class="radio-inline"> - <input id="kidsno" type="radio" value="0" name="kids" - {%if not form['kids'] %}checked {% endif %}>No - </label> - </div> - </div> - <div class="form-group"> - <label for="mailing" class="col-md-4 control-label">Kids' names:</label> - <div class="col-md-5"> - <textarea id="kidsnames" name="kidsnames" placeholder="Your kids' names" - class="form-control" rows="3" - {%if not form['kids']%} disabled{% endif %}>{{form['kidsnames'] if form['kidsnames']}}</textarea> - </div> - </div> - <p> - Please let us know if you have any dietary restrictions or comments: - </p> - - <div class="form-group"> - <label for="mailing" class="col-md-4 control-label">Comments:</label> - <div class="col-md-5"> - <textarea id="comments" name="comments" placeholder="Your comments" - class="form-control" rows="3">{{form['comments'] if form['comments']}}</textarea> - </div> - </div> - <div class="form-group"> - <div class="col-md-offset-4 col-md-5"> - <button type="submit" class="btn btn-primary"> - Update - </button> - </div> - </div> -</form> -{% endblock %} |
