Changeset 0226942 in Git for src/main/resources/templates/moviesListPaged.html
- Timestamp:
- 02/08/22 22:07:07 (3 years ago)
- Branches:
- main
- Children:
- 967b414
- Parents:
- ad4243e (diff), c02189f (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. - git-author:
- Mato-77 <56981531+Mato-77@…> (02/08/22 22:07:07)
- git-committer:
- GitHub <noreply@…> (02/08/22 22:07:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/moviesListPaged.html
rad4243e r0226942 1 1 <div xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.w3.org/1999/xhtml"> 2 3 <div style="width: 70%; margin: auto"> 4 <div th:replace="fragments/searchBarName"></div> 5 <div th:replace="fragments/searchBarGenre"></div> 6 2 <div style="margin:auto; width: 60%"> 3 <div style="width: 30%; margin: auto; height: 100%; margin-bottom: 10px"> 4 <a class="btn btn-outline-dark" style="height: 100%; width: 100%; font-size: 125%" id="button_toggle_filters">Прикажи филтрирање</a> 5 </div> 6 <div style="width: 100%; margin: auto; transition: 200ms" id="filters_div" class="invisible-search"> 7 <div th:replace="fragments/searchBarName"></div><br> 8 <div th:replace="fragments/searchBarGenre"></div> 9 </div> 7 10 </div> 8 9 11 <div id="paging-section"> 10 12 <div id="inner-paging" class="input-group"> … … 25 27 </div> 26 28 </div> 27 </div><br> <br><br>29 </div><br> 28 30 29 31 <div class="container mb-4"> … … 34 36 <div class="row" th:each="row: ${movie_rows}" > 35 37 <div class="col-md-3 elements" th:each="movie: ${row}" > 38 <span th:each="genre: ${movie.getGenres()}" th:text="${genre?.getGenre()?.getGenreType()}" hidden class="card-genre"></span> 36 39 <div class="card-body card bg-image" th:style="'background:url(' + ${movie.getImageUrl()} + ') no-repeat center #eee;'"> 37 40 <a class="card-text-center" style="color: white" th:href="@{'/movies/{id}' (id=${movie.getMovieId()})}" > 38 41 <h3 class="card-title title" th:text="${movie.getTitle()}"></h3> 39 42 <span th:each="genre: ${movie.getGenres()}" th:text="${genre?.getGenre()?.getGenreType()}" hidden class="card-genre"></span> 40 41 43 </a> 42 <h3 class="card-text bottom" th:text="${'Rated '+movie.getImdbRating()}"></h3> 44 <span class="card-text bottom"> 45 <h3 th:text="${'Оценет '+movie.getImdbRating() + '/10'}"></h3> 46 </span> 43 47 <th:block sec:authorize="isAuthenticated()"> 44 48 <a class="bottom-heart btn btn-success button-add-favourite-list" th:movie-id="${movie.getMovieId()}" th:user-id="${user.getUserId()}" th:if="${!likedMovies.contains(movie)}">❤</a>
Note:
See TracChangeset
for help on using the changeset viewer.