- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/events.html
r90317ea r39a45e6 194 194 border-radius: 20px; 195 195 } 196 .form-group{197 width: 200px;198 }199 196 </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 <option208 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 219 197 <div xmlns:th="http://www.thymeleaf.org"> 220 <h1 style="color: white">Настани</h1>221 198 <div class="main"> 222 199 <div th:each="event : ${events}" class="container"> … … 231 208 <span th:text="${event.getDuration()}"></span> 232 209 </div> 233 <form th:action="@{'/home/get Event/{id}' (id=${event.getId_event()})}"210 <form th:action="@{'/home/getFilm/{id}' (id=${event.getId_event()})}" 234 211 th:method="GET"> 235 <button class="button" type="submit"> Details</button>212 <button class="button" type="submit">Датали</button> 236 213 </form> 237 214 </div> … … 241 218 </div> 242 219 </div> 243 </div>
Note:
See TracChangeset
for help on using the changeset viewer.