Changeset 89438a3 for src/main/resources/templates/films.html
- Timestamp:
- 02/08/23 11:18:57 (23 months ago)
- Branches:
- master
- Children:
- afa6544
- Parents:
- 93341f8 (diff), 64ee7f4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/films.html
r93341f8 r89438a3 200 200 </style> 201 201 <div> 202 <form th:action="@{'/home/getFilm/{id}' (id=${film.getId_film()})}" 203 th:method="POST"> 204 202 205 <div class="form-group"> 203 206 <label style="color: white;font-size: 20px;font-weight: bold">Кино</label> 204 <select name="cinemas" class="form-control" >207 <select name="cinemas" class="form-control" id="cinema"> 205 208 <option 206 209 th:selected="${cinemas.get(1)}" … … 210 213 </option> 211 214 </select> 215 212 216 </div> 217 <button class="button" type="submit">Filter</button> 218 </form> 213 219 214 220 </div> 215 221 <div xmlns:th="http://www.thymeleaf.org"> 216 222 <div class="main"> 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"> 223 <div th:if="${films.isEmpty()} == false" 224 th:each="film : ${films}" class="container"> 242 225 <div class="card"> 243 226 <div class="imgBx"> 244 <img th:src=" @{${film.getUrl()}}"/>227 <img th:src=""/> 245 228 </div> 246 229 <div class="contentBx"> 247 <h2 th:text="${film.getName()}"></h2> 248 <div class="size"> 249 <h3>Duration :</h3> 250 <span th:text="${film.getDuration()}"></span> 230 <h2 th:if="${films.isEmpty()} == false" 231 th:text="${film.getName()}"></h2> 232 <div class="color"> 233 <h3>Start Date:</h3> 234 <span th:if="${films.isEmpty()} == false" 235 th:text="${film.getStart_date()}"></span> 251 236 </div> 252 <div class="color"> 253 <h3>Genre:</h3> 254 <span th:text="${film.getGenre()}"></span> 255 </div> 256 <form th:action="@{'/home/getFilm/{id}' (id=${film.getId_film()})}" 237 <form th:if="${films.isEmpty()} == false" 238 th:action="@{'/home/getFilm/{id}' (id=${film.getId_film()})}" 257 239 th:method="GET"> 258 240 <button class="button" type="submit">Details</button>
Note:
See TracChangeset
for help on using the changeset viewer.