- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/films.html
r8d49568 r3650316 200 200 </style> 201 201 <div> 202 <form th:action="@{'/home/getFilm/{id}' (id=${film.getId_film()})}"203 th:method="POST">204 205 202 <div class="form-group"> 206 203 <label style="color: white;font-size: 20px;font-weight: bold">Кино</label> 207 <select name="cinemas" class="form-control" id="cinema">204 <select name="cinemas" class="form-control"> 208 205 <option 209 206 th:selected="${cinemas.get(1)}" … … 213 210 </option> 214 211 </select> 215 216 212 </div> 217 <button class="button" type="submit">Filter</button>218 </form>219 213 220 214 </div> 221 215 <div xmlns:th="http://www.thymeleaf.org"> 222 216 <div class="main"> 223 <div th:if="${films.isEmpty()} == false" 224 th:each="film : ${films}" class="container"> 217 <!-- <div th:each="film : ${films}" class="container">--> 218 <!-- <div class="card">--> 219 <!-- <div class="imgBx">--> 220 <!-- <img th:src="@{${film.getUrl()}}"/>--> 221 <!-- </div>--> 222 <!-- <div class="contentBx">--> 223 <!-- <h2 th:text="${film.getName()}"></h2>--> 224 <!-- <div class="size">--> 225 <!-- <h3>Duration :</h3>--> 226 <!-- <span th:text="${film.getDuration()}"></span>--> 227 <!-- </div>--> 228 <!-- <div class="color">--> 229 <!-- <h3>Genre:</h3>--> 230 <!-- <span th:text="${film.getGenre()}"></span>--> 231 <!-- </div>--> 232 <!-- <form th:action="@{'/home/getFilm/{id}' (id=${film.getId_film()})}"--> 233 <!-- th:method="GET">--> 234 <!-- <button class="button" type="submit">Details</button>--> 235 <!-- </form>--> 236 237 238 <!-- </div>--> 239 <!-- </div>--> 240 <!-- </div>--> 241 <div th:each="film : ${films}" class="container"> 225 242 <div class="card"> 226 243 <div class="imgBx"> 227 <img th:src=" "/>244 <img th:src="@{${film.getUrl()}}"/> 228 245 </div> 229 246 <div class="contentBx"> 230 <h2 th:if="${films.isEmpty()} == false" 231 th:text="${film.getName()}"></h2> 247 <h2 th:text="${film.getName()}"></h2> 248 <div class="size"> 249 <h3>Duration :</h3> 250 <span th:text="${film.getDuration()}"></span> 251 </div> 232 252 <div class="color"> 233 <h3>Start Date:</h3> 234 <span th:if="${films.isEmpty()} == false" 235 th:text="${film.getStart_date()}"></span> 253 <h3>Genre:</h3> 254 <span th:text="${film.getGenre()}"></span> 236 255 </div> 237 <form th:if="${films.isEmpty()} == false" 238 th:action="@{'/home/getFilm/{id}' (id=${film.getId_film()})}" 256 <form th:action="@{'/home/getFilm/{id}' (id=${film.getId_film()})}" 239 257 th:method="GET"> 240 258 <button class="button" type="submit">Details</button>
Note:
See TracChangeset
for help on using the changeset viewer.