source: src/main/resources/templates/seats.html@ 00fa72f

Last change on this file since 00fa72f was 00fa72f, checked in by DenicaKj <dkorvezir@…>, 23 months ago

Reservation Implemented

  • Property mode set to 100644
File size: 1.4 KB
Line 
1<style>
2
3 .button {
4 top:250px;
5 background-color: #ff5019;
6 border: none;
7 color: black;
8 padding: 10px 20px;
9 text-align: center;
10 text-decoration: none;
11 display: inline-block;
12 font-size: 16px;
13 border-radius: 20px;
14 }
15 .form-group{
16 width: 200px;
17 }
18</style>
19
20
21<form th:action="@{'/home/makeReservation'}"
22 th:method="POST">
23 <input type="hidden" name="film" id="film" th:value="${film.id_film}">
24 <input type="hidden" id="projection" name="projection" th:value="${projection.id_projection}">
25 <div class="form-group">
26 <label style="color: white;font-size: 20px;font-weight: bold">Одбери Седиште:</label>
27 <select name="id_seat" class="form-control" id="id_seat">
28 <option
29 th:each="seat : ${seats}"
30 th:value="${seat.id_seat}"
31 th:text="${seat.seat_number}">
32 </option>
33 </select>
34
35 </div>
36 <div class="form-group">
37 <label style="color: white" for="discount">Код за попуст</label>
38 <input type="text"
39 class="form-control"
40 id="discount"
41 name="discount"
42 placeholder="Внеси код за попуст">
43 </div>
44 <button class="button" type="submit">Резервирај</button>
45</form>
Note: See TracBrowser for help on using the repository browser.