Ignore:
Timestamp:
02/06/22 21:38:16 (3 years ago)
Author:
GitHub <noreply@…>
Branches:
main
Children:
7f36551
Parents:
5b447b0 (diff), 2efe93e (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/06/22 21:38:16)
git-committer:
GitHub <noreply@…> (02/06/22 21:38:16)
Message:

Merge pull request #1 from partaloski/master

Fixed and added a better front end, improved clarity

File:
1 edited

Legend:

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

    r5b447b0 r42d565b  
    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.