pranav nachnekar | 7b9e309 | 2019-08-28 16:57:37 +0530 | [diff] [blame] | 1 | {% extends "templates/web.html" %} |
| 2 | |
| 3 | {% block title %}{{ _("Book Appointment") }}{% endblock %} |
| 4 | |
| 5 | {% block page_content %} |
| 6 | <div class="container"> |
| 7 | <!-- title: Book an appointment --> |
| 8 | <div class="text-center mb-5"> |
| 9 | <h3>Book an appointment</h3> |
| 10 | <h4>Select the date and your timezone</h4> |
| 11 | </div> |
| 12 | <div class="row justify-content-center mt-3"> |
| 13 | <div class="col-md-4 align-self-center "> |
| 14 | <form name="myform"> |
| 15 | <input type="date" name="appointment-date" id="appointment-date" class="form-control mt-3" min="{{ from_date }}" max="{{ to_date }}"> |
| 16 | <select name="appointment-timezone" id="appointment-timezone" class="form-control mt-3"> |
| 17 | {% if timezones %} |
| 18 | {% for timezone in timezones%} |
| 19 | <option value="{{timezone.offset}}">{{timezone.timezone_name}}</option> |
| 20 | {% endfor %} |
| 21 | {% endif %} |
| 22 | </select> |
| 23 | </form> |
| 24 | <button class="form-control mt-3 btn btn-dark" id="next-button" onclick="next()"> |
| 25 | Next |
| 26 | </button> |
| 27 | </div> |
| 28 | </div> |
| 29 | </div> |
| 30 | |
| 31 | {% endblock %} |