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"> |
pranav nachnekar | 828fea6 | 2019-08-30 10:49:57 +0530 | [diff] [blame] | 15 | <input |
| 16 | type="date" |
| 17 | onchange="ondatechange()" |
| 18 | name="appointment-date" |
| 19 | id="appointment-date" |
| 20 | class="form-control mt-3" |
| 21 | min="{{ from_date }}" |
| 22 | max="{{ to_date }}"> |
pranav nachnekar | 7b9e309 | 2019-08-28 16:57:37 +0530 | [diff] [blame] | 23 | <select name="appointment-timezone" id="appointment-timezone" class="form-control mt-3"> |
| 24 | {% if timezones %} |
| 25 | {% for timezone in timezones%} |
| 26 | <option value="{{timezone.offset}}">{{timezone.timezone_name}}</option> |
| 27 | {% endfor %} |
| 28 | {% endif %} |
| 29 | </select> |
| 30 | </form> |
| 31 | <button class="form-control mt-3 btn btn-dark" id="next-button" onclick="next()"> |
| 32 | Next |
| 33 | </button> |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |
| 37 | |
| 38 | {% endblock %} |