Changeset ad4243e in Git for target/classes/templates
- Timestamp:
- 02/07/22 21:26:03 (3 years ago)
- Branches:
- main
- Children:
- 0226942
- Parents:
- 7f36551 (diff), 3c0f9a9 (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/07/22 21:26:03)
- git-committer:
- GitHub <noreply@…> (02/07/22 21:26:03)
- Location:
- target/classes/templates
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
target/classes/templates/genres.html
r7f36551 rad4243e 1 <div class="container mb-4"> 2 <div class="row"> 3 <div class="col-12"> 4 <div class="table-responsive"> 5 <table class="table table-striped"> 6 <thead> 7 <tr> 8 <th scope="col">Име</th> 9 <th scope="col">Лајкови</th> 10 </tr> 11 </thead> 12 <tbody> 13 <tr th:each="genre : ${genres}" class="elements"> 14 <td th:text="${genre.getName()}"></td> 15 <td th:text="${genre.getLikes()}"></td> 1 <div class="container mb-4" xmlns:sec="http://www.w3.org/1999/xhtml"> 16 2 17 </tr> 18 </tbody> 19 </table> 3 <div class="row"> 4 <div class="col-12"> 5 <div class="table-responsive"> 6 <table class="table table-striped"> 7 <thead> 8 <tr> 9 <th scope="col">Име</th> 10 <th scope="col">Лајкови</th> 11 </tr> 12 </thead> 13 <tbody> 14 <tr th:each="genre : ${genres}" class="elements"> 15 <td th:text="${genre.getName()}"></td> 16 <td th:text="${genre.getLikes()}" th:id="${genre.getGenreId()+'genre'}"></td> 17 <td> 18 <th:block sec:authorize="isAuthenticated()" th:each="g: ${allGenres}" th:if="${g.getGenreId() == genre.getGenreId()}"> 19 <a class="btn btn-success button-add-genre-liked-list" th:genre-id="${g.getGenreId()}" th:user-id="${user.getUserId()}" th:if="${!likedGenres.contains(g)}">❤</a> 20 <a class="btn btn-danger button-remove-genre-liked-list" th:genre-id="${g.getGenreId()}" th:user-id="${user.getUserId()}" th:if="${likedGenres.contains(g)}">💔</a> 21 </th:block> 22 </td> 23 </tr> 24 </tbody> 25 </table> 26 </div> 20 27 </div> 21 </div> 28 22 29 </div> 23 30 </div> -
target/classes/templates/personShow.html
r7f36551 rad4243e 30 30 </div> 31 31 </div> 32 <div style="width: 45%; margin: 25px; float:left; background-color: rgb(200,200,200); padding: 10px; border-radius: 5px"> 33 <h2> 34 <span>Бројот на оцени кои филмот ги добил:</span> 35 <span th:text="${movie.getRates().size()}"></span> 36 </h2> 37 <hr> 38 <div th:each="rating: ${movie.getRates()}" style="margin-bottom: 10px; border: 2px solid gray; border-radius: 10px; background-color: lightblue; padding: 10px; border-radius: 10px; min-height: 130px;"> 39 <div style="width: 60%; float:left;"> 40 <p th:text="${rating.getReason()}" style="text-align: justify"></p> 41 </div> 42 <div style="width: 30%; float:right; background-color: darkorange; border-radius: 10px 30px; color: whitesmoke; padding: 10px;"> 43 <h2 style="text-align: center">Rated:</h2> 44 <p th:text="${rating.getStarsRated() + ' out of 10 stars'}" style="text-align: center"></p> 45 </div> 46 </div> 47 </div> 48 <div style="width: 45%; margin: 25px; float:left; background-color: rgb(200,200,200); padding: 10px; border-radius: 5px"> 49 <h2> 50 <span>Бројот на лајкови кои филмот ги добил:</span> 51 <span th:text="${movie.getLikes().size()}"></span> 52 </h2> 53 <hr> 54 <div th:each="liked: ${movie.getLikes()}" style="margin-bottom: 10px; border: 2px solid gray; border-radius: 10px; background-color: lightblue; padding: 10px; border-radius: 10px; min-height: 60px;"> 55 <div style="width: 100%; float:left;"> 56 <h3 style="text-align: center"> 57 <span th:text="${liked.getUser().getName() + ' ' + liked.getUser().getSurname()}"></span> 58 <span style="color: green; font-size: 100%" >✔</span> 59 </h3> 60 </div> 61 </div> 62 </div> 32 63 </div> -
target/classes/templates/personsList.html
r7f36551 rad4243e 57 57 58 58 </td> 59 60 <a class="bottom-heart btn btn-success button-add-favourite-list" 61 th:movie-id="${person.getMovieId()}" 62 th:user-id="${user.getUserId()}" 63 th:if="${!likedPersons.contains(movie)}">❤</a> 64 65 <a class="bottom-heart btn btn-danger button-remove-favourite-list" 66 th:movie-id="${person.getMovieId()}" th:user-id="${user.getUserId()}" 67 th:if="${likedPersons.contains(movie)}">💔</a> 68 69 59 70 </th:block> 60 71
Note:
See TracChangeset
for help on using the changeset viewer.