Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • target/classes/templates/moviesListPaged.html

    rc02189f r3c0f9a9  
    11<div xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.w3.org/1999/xhtml">
    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>
     2
     3    <div style="width: 70%; margin: auto">
     4        <div th:replace="fragments/searchBarName"></div>
     5        <div th:replace="fragments/searchBarGenre"></div>
     6
    107    </div>
     8
    119    <div id="paging-section">
    1210        <div id="inner-paging" class="input-group">
     
    2725            </div>
    2826        </div>
    29     </div><br>
     27    </div><br><br><br>
    3028
    3129    <div class="container mb-4">
     
    3634        <div class="row" th:each="row: ${movie_rows}" >
    3735            <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>
    3936                    <div class="card-body card bg-image" th:style="'background:url(' + ${movie.getImageUrl()} + ') no-repeat center #eee;'">
    4037                        <a class="card-text-center" style="color: white" th:href="@{'/movies/{id}' (id=${movie.getMovieId()})}" >
    4138                        <h3 class="card-title title" th:text="${movie.getTitle()}"></h3>
    4239                            <span th:each="genre: ${movie.getGenres()}"  th:text="${genre?.getGenre()?.getGenreType()}" hidden class="card-genre"></span>
     40
    4341                        </a>
    44                         <span class="card-text bottom">
    45                             <h3 th:text="${'Оценет '+movie.getImdbRating() + '/10'}"></h3>
    46                         </span>
     42                        <h3 class="card-text bottom" th:text="${'Rated '+movie.getImdbRating()}"></h3>
    4743                        <th:block sec:authorize="isAuthenticated()">
    4844                            <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.