Changeset 73f0dbc for src/main/resources
- Timestamp:
- 02/10/23 01:18:53 (23 months ago)
- Branches:
- master
- Children:
- 7926d68
- Parents:
- 01a1ca6
- Location:
- src/main/resources/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/film.html
r01a1ca6 r73f0dbc 24 24 border-radius: 20px; 25 25 } 26 .button { 27 top:250px; 28 background-color: #ff5019; 29 border: none; 30 color: black; 31 padding: 10px 20px; 32 text-align: center; 33 text-decoration: none; 34 display: inline-block; 35 font-size: 16px; 36 border-radius: 20px; 37 } 38 .form-group{ 39 width: 200px; 40 } 26 41 </style> 27 42 <div xmlns:th="http://www.thymeleaf.org"> … … 47 62 <span>/5</span> 48 63 </h4> 64 <form th:action="@{'/home/addRating/{id}' (id=${film.id_film})}" 65 th:method="POST"> 66 <div class="form-group"> 67 <label style="color: black;font-size: 20px;font-weight: bold">Оцени:</label> 68 <input required type="text" id="rate" name="rate"> 69 </div> 70 <button class="button" type="submit">Додади Оцена</button> 71 </form> 49 72 </div> 50 73 <div class="slika"> -
src/main/resources/templates/myTickets.html
r01a1ca6 r73f0dbc 54 54 <form th:action="@{'/home/getSeats/{id}' (id=${ticket.id_ticket})}" 55 55 th:method="GET"> 56 <--button th:if="${ticket.projection.date_time_start != null and ticket.projection.date_time_start.isBefore(java.time.LocalDate.now())}" class="button" type="submit">Откажи</--button>56 <--button th:if="${ticket.projection.date_time_start != null and #dates.isBefore(java.time.LocalDateTime.of(ticket.projection.date_time_start, java.time.LocalTime.MIN).toInstant(java.time.ZoneOffset.UTC).toEpochMilli(), java.util.Date.from(java.time.LocalDate.now().atStartOfDay(java.time.ZoneId.systemDefault()).toInstant()).getTime())}" class="button" type="submit">Откажи</--button> 57 57 </form> 58 58
Note:
See TracChangeset
for help on using the changeset viewer.