Changes in target/classes/templates/movieShow.html [c02189f:2efe93e] in Git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
target/classes/templates/movieShow.html
rc02189f r2efe93e 13 13 <div xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.w3.org/1999/xhtml" style="width: 80%; margin: auto"> 14 14 <div> 15 <div style="width: 30%; margin-right: 10px; padding:20px; border-right: 3px solid black; border-radius: 10px; float:left" id="image-movie-section"> 16 <img th:src="${movie.getImageUrl()}" style="width: 90%; height: auto; clear: both; margin-bottom: 20px"> 17 <div id="admin-buttons"> 18 <a class="btn btn-primary" th:href="@{'/discussions/all/{id}?type=M' (id=${movie.getMovieId()})}" >Прегледај дискусии</a> 19 <th:block sec:authorize="isAuthenticated()" > 20 <div> 21 <a class="btn btn-success button-add-favourite-list" th:movie-id="${movie.getMovieId()}" th:user-id="${user.getUserId()}" th:if="${!likedMovies.contains(movie)}">❤</a> 22 <a class="btn btn-danger button-remove-favourite-list" th:movie-id="${movie.getMovieId()}" th:user-id="${user.getUserId()}" th:if="${likedMovies.contains(movie)}">💔</a> 23 </div> 24 <a class="btn btn-secondary button-add-grade-movie" th:movie-id="${movie.getMovieId()}">Остави оценка</a> 25 <a class="btn btn-warning" th:href="@{'/movies/{id}/edit' (id=${movie.getMovieId()})}">Промени</a> 26 <a class="btn btn-danger button-delete-movie" th:movie-id="${movie.getMovieId()}">Избриши филм</a> 27 </th:block> 28 </div> 15 <div style="width: 30%; margin-right: 10px; padding:20px; border-right: 3px solid black; border-radius: 10px; float:left"> 16 <img th:src="${movie.getImageUrl()}" style="width: 90%; height: auto"> 29 17 </div> 30 18 … … 38 26 </h3> 39 27 <h3 th:text="${'IMDB оцена: ' + movie.getImdbRating()}"></h3> 40 <h3 th:text="${'Прикажан на: ' + movie.get DateFormatted()}"></h3>28 <h3 th:text="${'Прикажан на: ' + movie.getAiringDate()}"></h3> 41 29 42 30 <div style="background-color: rgba(200,200,200,0.5); border-radius: 10px; padding:15px; "> … … 45 33 </div> 46 34 47 <div id="likes-showcase"> 48 <h4 style="text-align: center"> 49 <span>Филмот му се допаднал на </span> 50 <strong th:text="${likes}" id="movie_likes_count"></strong> 51 <span> корисници</span> 52 </h4> 53 </div> 54 55 <div class="person-movies-list genres-listing"> 35 <div> 56 36 <h3>Жанрови:</h3> 57 37 <ul> … … 59 39 </ul> 60 40 </div> 61 <div class="person-movies-list">41 <div> 62 42 <h3>Актери:</h3> 63 43 <ul> … … 68 48 </div> 69 49 </div> 70 50 <div id="admin-buttons"> 51 <a class="btn btn-primary" th:href="@{'/discussions/all/{id}?type=M' (id=${movie.getMovieId()})}" >Прегледај дискусии</a> 52 <th:block sec:authorize="isAuthenticated()" > 53 <a class="btn btn-success button-add-favourite-list" th:movie-id="${movie.getMovieId()}" th:user-id="${user.getUserId()}" th:if="${!likedMovies.contains(movie)}">Додади во омилена листа</a> 54 <a class="btn btn-warning button-remove-favourite-list" th:movie-id="${movie.getMovieId()}" th:user-id="${user.getUserId()}" th:if="${likedMovies.contains(movie)}">Избриши од омилена листа</a> 55 <a class="btn btn-success button-add-grade-movie" th:movie-id="${movie.getMovieId()}">Остави оценка</a> 56 <a class="btn btn-warning" th:href="@{'/movies/{id}/edit' (id=${movie.getMovieId()})}">Промени</a> 57 <a class="btn btn-danger button-delete-movie" th:movie-id="${movie.getMovieId()}">Избриши филм</a> 58 </th:block> 59 </div> 71 60 <hr> 72 61 <div style="width: 45%; margin: 25px; float:left; background-color: rgb(200,200,200); padding: 10px; border-radius: 5px"> … … 81 70 </div> 82 71 <div style="width: 30%; float:right; background-color: darkorange; border-radius: 10px 30px; color: whitesmoke; padding: 10px;"> 83 <h2 style="text-align: center"> Оценет:</h2>84 <p th:text="${rating.getStarsRated() + ' од 10'}" style="text-align: center"></p>72 <h2 style="text-align: center">Rated:</h2> 73 <p th:text="${rating.getStarsRated() + ' out of 10 stars'}" style="text-align: center"></p> 85 74 </div> 86 75 </div> … … 88 77 <div style="width: 45%; margin: 25px; float:left; background-color: rgb(200,200,200); padding: 10px; border-radius: 5px"> 89 78 <h2> 90 <span>Лајковите кои филмот ги добил:</span> 79 <span>Бројот на лајкови кои филмот ги добил:</span> 80 <span th:text="${movie.getLikes().size()}"></span> 91 81 </h2> 92 82 <hr>
Note:
See TracChangeset
for help on using the changeset viewer.