Changeset 90317ea for src/main/resources/templates/events.html
- Timestamp:
- 02/08/23 14:40:10 (23 months ago)
- Branches:
- master
- Children:
- 5867520, 632e3d8
- Parents:
- 61fed7c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/events.html
r61fed7c r90317ea 194 194 border-radius: 20px; 195 195 } 196 .form-group{ 197 width: 200px; 198 } 196 199 </style> 200 <div> 201 <form th:action="@{'/home/events'}" 202 th:method="GET"> 203 204 <div class="form-group"> 205 <label style="color: white;font-size: 20px;font-weight: bold">Кино</label> 206 <select name="id_cinema" class="form-control" id="id_cinema"> 207 <option 208 th:selected="${cinemas.get(1)}" 209 th:each="cinema : ${cinemas}" 210 th:value="${cinema.getId_cinema()}" 211 th:text="${cinema.getName()}"> 212 </option> 213 </select> 214 215 </div> 216 <button class="button" type="submit">Filter</button> 217 </form> 218 197 219 <div xmlns:th="http://www.thymeleaf.org"> 220 <h1 style="color: white">Настани</h1> 198 221 <div class="main"> 199 222 <div th:each="event : ${events}" class="container"> … … 208 231 <span th:text="${event.getDuration()}"></span> 209 232 </div> 210 <form th:action="@{'/home/get Film/{id}' (id=${event.getId_event()})}"233 <form th:action="@{'/home/getEvent/{id}' (id=${event.getId_event()})}" 211 234 th:method="GET"> 212 235 <button class="button" type="submit">Details</button> … … 218 241 </div> 219 242 </div> 243 </div>
Note:
See TracChangeset
for help on using the changeset viewer.