Changeset 3fe36de in Git for src/main/resources/templates/personShow.html
- Timestamp:
- 02/09/22 03:14:08 (3 years ago)
- Branches:
- main
- Children:
- 967b414
- Parents:
- c02189f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/personShow.html
rc02189f r3fe36de 5 5 <h1 th:text="${person.getName() + ' ' + person.getSurname()}" style="text-align: center; padding:10px; background-color: rgba(64,64,64,0.5); color:white; border-radius: 10px 0px"></h1> 6 6 <hr> 7 <h3 th:text="${'Роден на: ' + person.getDateFormatted()}"></h3>7 <h3 th:text="${'Роден/а на: ' + person.getDateFormatted()}"></h3> 8 8 <div style="background-color: rgba(200,200,200,0.5); border-radius: 10px; padding:15px; "> 9 9 <h3>Краток Опис:</h3> … … 24 24 <li th:each="movie: ${person.getMovieActors()}" ><a th:text="${movie.getMovie().getTitle()}" th:href="@{'/movies/{id}' (id=${movie.getMovie().getMovieId()})}" ></a></li> 25 25 </ul> 26 </div> 26 </div><br> 27 <ul style="list-style-type: none; width: 100%; margin: auto" id="buttons-person"> 28 <li><a class="btn btn-primary" th:href="@{'discussions/all/{id}?type=P' (id=${person.getPersonId()})}" >Прегледај дискусии</a></li> 29 <th:block sec:authorize="isAuthenticated()"> 30 <li><a class="btn btn-secondary button-add-grade-person" th:person-id="${person.getPersonId()}" th:if="${!person.hasGradeFromUser(user)}">Остави оценка</a></li> 31 <li><a class="btn btn-secondary button-add-grade-person" th:person-id="${person.getPersonId()}" th:if="${person.hasGradeFromUser(user)}">Промени оценка</a></li> 32 <li><a class="btn btn-warning" th:href="@{'persons/edit/{personId}' (personId = ${person.getPersonId()})}">Промени</a></li> 33 <li><a class="btn btn-danger button-delete-actor" th:person-id="${person.getPersonId()}">Избриши</a></li> 34 </th:block> 35 </ul> 27 36 </div> 28 37 <div style="width: 30%; margin-left: 10px; padding:20px; border-left: 3px solid black; border-radius: 10px; float:right"> … … 39 48 <div th:each="rating: ${person.getPersonRates()}" style="margin-bottom: 10px; border: 2px solid gray; border-radius: 10px; background-color: lightblue; padding: 10px; border-radius: 10px; min-height: 130px;"> 40 49 <div style="width: 60%; float:left;"> 50 <a th:href="@{'/profiles/{id}' (id=${rating.getUser().getUserId()})}"> 51 <h4 th:text="${'Oд: '+rating.getUser().getName() + ' ' + rating.getUser().getSurname()}"> </h4> 52 </a> 41 53 <p th:text="${rating.getReason()}" style="text-align: justify"></p> 42 54 </div>
Note:
See TracChangeset
for help on using the changeset viewer.