main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
2.3 KB
|
Rev | Line | |
---|
[d24f17c] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en">
|
---|
| 3 | <head>
|
---|
| 4 | <meta charset="UTF-8">
|
---|
| 5 | <title>Reservation</title>
|
---|
| 6 | </head>
|
---|
| 7 | <body>
|
---|
| 8 | <div class="container mt-5">
|
---|
| 9 | <div class="row justify-content-center">
|
---|
| 10 | <div class="col-md-6">
|
---|
| 11 | <div class="card">
|
---|
| 12 | <div class="card-header">
|
---|
| 13 | <h3 class="text-center">Reservation Confirmation</h3>
|
---|
| 14 | </div>
|
---|
| 15 | <form th:method="POST" th:action="@{'/restaurants/' + ${table?.getId()}}">
|
---|
| 16 | <div class="card-body">
|
---|
| 17 | <h5 class="card-title">Reservation Details</h5>
|
---|
| 18 | <p class="card-text">
|
---|
| 19 | <!-- <input type="hidden" name="restaurantId" th:value="${restaurant.getRestaurantId()}">-->
|
---|
| 20 | <strong>Restaurant:</strong> <span th:text="${restaurant.getName()}"></span> <br>
|
---|
| 21 | <strong>Cuisine type:</strong> <span th:text="${restaurant.getCuisineType()}"></span> <br>
|
---|
| 22 | <strong>Available time slots</strong>
|
---|
| 23 | <select name="reservationDateTime">
|
---|
| 24 | <option th:each="ts: ${table?.getTimeSlots()}"
|
---|
| 25 | th:value="${ts}"
|
---|
| 26 | th:text="${#temporals.format(ts, 'dd-MM-yyyy HH:mm')}"></option>
|
---|
| 27 | </select>
|
---|
| 28 | <br>
|
---|
| 29 | <strong>Party size: </strong><input type="number" name="partySize" maxlength="20">
|
---|
| 30 | <strong>Table size: </strong> <span th:text="${table.getCapacity()}"></span> <br>
|
---|
| 31 | <strong>Special Requests:</strong> <input name="specialRequests" type="text"><br>
|
---|
| 32 | </p>
|
---|
| 33 | <p class="card-text text-success">
|
---|
| 34 | <strong>Check-in Time: grace period of 15 minutes +- the slot, for more call the restaurant</strong><br>
|
---|
| 35 | </p>
|
---|
| 36 | <button type="submit" class="btn btn-primary">Submit</button>
|
---|
| 37 | <a href="/restaurants" class="btn btn-primary">Back to Home</a>
|
---|
| 38 | </div>
|
---|
| 39 | </form>
|
---|
| 40 | </div>
|
---|
| 41 | </div>
|
---|
| 42 | </div>
|
---|
| 43 | </div>
|
---|
| 44 | </body>
|
---|
| 45 | </html> |
---|
Note:
See
TracBrowser
for help on using the repository browser.