main
Last change
on this file since 5b447b0 was 5b447b0, checked in by Test <matonikolov77@…>, 2 years ago |
Adding models and resources
|
-
Property mode
set to
100644
|
File size:
1.8 KB
|
Rev | Line | |
---|
[5b447b0] | 1 | <div class="container mb-4">
|
---|
| 2 | <div class="row">
|
---|
| 3 | <div class="col-12" th:if="${movies.size() > 0}">
|
---|
| 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 | <th scope="col">Датум издавање</th>
|
---|
| 11 | <th scope="col">Допаѓања</th>
|
---|
| 12 | <th scope="col">Занрови</th>
|
---|
| 13 | <th scope="col">Актери</th>
|
---|
| 14 | <th scope="col">Режисер</th>
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 |
|
---|
| 18 | </tr>
|
---|
| 19 | </thead>
|
---|
| 20 | <tbody>
|
---|
| 21 | <tr th:each="movie : ${movies}" class="elements">
|
---|
| 22 | <td th:text="${movie.getTitle()}"></td>
|
---|
| 23 | <td th:text="${movie.getDescription()}"></td>
|
---|
| 24 | <td th:text="${movie.getAiringDate()}"></td>
|
---|
| 25 | <td th:text="${movie.getLikes() != null ? movie.getLikes().size() : 0}">
|
---|
| 26 |
|
---|
| 27 | </td>
|
---|
| 28 | <td class="genre">
|
---|
| 29 | <div th:each="g: ${movie.getGenres()}" th:text="${g.getGenre().genreType }"></div>
|
---|
| 30 | </td>
|
---|
| 31 | <td>
|
---|
| 32 | <div th:each="a: ${movie.getActors()}" th:text="${a.getPerson().getName()} "></div>
|
---|
| 33 | </td>
|
---|
| 34 | <td th:text="${movie.getDirector() != null ? movie.getDirector()?.getName() + ' '+ movie.getDirector()?.getSurname() : 'Не е додаен директор'}"></td>
|
---|
| 35 |
|
---|
| 36 | </tr>
|
---|
| 37 | </tbody>
|
---|
| 38 | </table>
|
---|
| 39 | </div>
|
---|
| 40 | </div>
|
---|
| 41 | </div>
|
---|
| 42 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.