source: src/main/resources/templates/addProjection.html@ 4173acf

Last change on this file since 4173acf was 1e7126f, checked in by DenicaKj <dkorvezir@…>, 15 months ago

fix

  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[a073dad]1<th:block xmlns:th="http://www.thymeleaf.org">
2
[b5ce654]3 <div class="container" style="color: white">
[39a45e6]4 <h1 class="jumbotron-heading">Додади нова проекција</h1>
[a073dad]5 <div class="row">
6 <div class="col-md-5">
7 <form action="/home/addP" method="POST">
8
9 <div class="form-group">
[39a45e6]10 <label for="type_of_technology">Тип на технологија</label>
[a073dad]11 <input type="text"
12 class="form-control"
13 id="type_of_technology"
14 name="type_of_technology"
15 >
16 </div>
17 <div class="form-group">
[39a45e6]18 <label for="date_time_start">Почетен датум</label>
[1e7126f]19 <input type="datetime-local"
[a073dad]20 class="form-control"
21 id="date_time_start"
22 name="date_time_start"
23 >
24 </div>
25 <div class="form-group">
[39a45e6]26 <label for="date_time_end">Краен датум</label>
[1e7126f]27 <input type="datetime-local"
[a073dad]28 class="form-control"
29 id="date_time_end"
30 name="date_time_end"
31 >
32 </div>
33 <div class="form-group">
[39a45e6]34 <label>Филм</label>
[a073dad]35 <select name="id_film" id="f1" class="form-control">
36 <option
37 th:each="f : ${films}"
38 th:value="${f.id_film}"
39 th:text="${f.name}">
40 </option>
41 </select>
42 </div>
[1e7126f]43 <div class="form-group">
44 <label>Сала</label>
45 <select name="id_room" id="pr" class="form-control">
46 <option
47 th:each="pr : ${projection_rooms}"
48 th:value="${pr.id_room}"
49 th:text="${pr.projection_room_number} + '-' + ${pr.cinema.name}">
50 </option>
51 </select>
52 </div>
53 <div class="form-group">
54 <label>Попуст</label>
55 <select name="id_discount" id="f2" class="form-control">
56 <option
57 th:each="d : ${discounts}"
58 th:value="${d.id_discount}"
59 th:text="${d.type} + '-' + ${d.percent}">
60 </option>
61 </select>
62 </div>
[39a45e6]63 <button style="background-color: #ff5019" id="submit" type="submit" class="btn btn-primary">Додади</button>
[a073dad]64 </form>
65 </div>
66 </div>
67 </div>
68
69</th:block>
Note: See TracBrowser for help on using the repository browser.