Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/favoriteList.html

    r5b447b0 r2efe93e  
    1 <div class="container mb-4">
    2     <div class="row">
     1<div class="container mb-4" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.w3.org/1999/xhtml">
     2    <div class="row" th:each="row: ${movie_rows}" >
     3        <div class="col-md-3" th:each="movie: ${row}" >
     4            <a class="card-text-center" th:href="@{'/movies/{id}' (id=${movie.getMovieId()})}" >
     5                    <div class="card-body card bg-image" th:style="'background:url(' + ${movie.getImageUrl()} + ') no-repeat center #eee;'">
     6                        <h3 class="card-title title" th:text="${movie.getTitle()}"></h3>
     7                        <h3 class="card-text bottom" th:text="${'Rated '+movie.getImdbRating()}"></h3>
     8                    </div>
     9            </a>
     10        </div>
     11    </div>
     12
     13    <!--<div class="row">
    314        <div class="col-12" th:if="${movies.size() > 0}">
    415            <div class="table-responsive">
     
    3950            </div>
    4051        </div>
    41     </div>
     52    </div>-->
    4253</div>
Note: See TracChangeset for help on using the changeset viewer.