Last change
on this file since ef84238 was 73f0dbc, checked in by DenicaKj <dkorvezir@…>, 21 months ago |
added rating
|
-
Property mode
set to
100644
|
File size:
2.7 KB
|
Rev | Line | |
---|
[01a1ca6] | 1 | <style>
|
---|
| 2 | .card-horizontal {
|
---|
| 3 | display: flex;
|
---|
| 4 | flex: 1 1 auto;
|
---|
| 5 | }
|
---|
| 6 | .card {
|
---|
| 7 | transition: all .2s ease-in-out;
|
---|
| 8 | }
|
---|
| 9 | .card:hover {
|
---|
| 10 | transform: scale(1.05);
|
---|
| 11 | }
|
---|
| 12 | .button {
|
---|
| 13 | top:250px;
|
---|
| 14 | background-color: #ff5019;
|
---|
| 15 | border: none;
|
---|
| 16 | color: black;
|
---|
| 17 | padding: 10px 20px;
|
---|
| 18 | text-align: center;
|
---|
| 19 | text-decoration: none;
|
---|
| 20 | display: inline-block;
|
---|
| 21 | font-size: 16px;
|
---|
| 22 | border-radius: 20px;
|
---|
| 23 | }
|
---|
| 24 | .form-group{
|
---|
| 25 | width: 200px;
|
---|
| 26 | }
|
---|
| 27 | </style>
|
---|
| 28 | <div style="border-radius:30px" >
|
---|
| 29 | <div class="row">
|
---|
| 30 | <div class="col-12 mt-3" style="padding-left:100px;height:75%;">
|
---|
| 31 | <div class="card" th:each="ticket : ${tickets}" style=" border-radius: 30px;width:92%;align-self:center">
|
---|
| 32 | <div class="card-horizontal" >
|
---|
| 33 | <div class="card-body">
|
---|
[302b233] | 34 |
|
---|
[01a1ca6] | 35 | <h4 class="card-title" >
|
---|
| 36 | <div>
|
---|
| 37 | <span>Филм:</span>
|
---|
| 38 | <span th:text="${ticket.projection.film.name}"></span></div>
|
---|
| 39 | <div>
|
---|
| 40 | <span>Почеток на проекција: </span>
|
---|
| 41 | <span th:text="${ticket.projection.date_time_start}"></span></div>
|
---|
| 42 | <div>
|
---|
| 43 | <span>Крај на проекција: </span>
|
---|
| 44 | <span th:text="${ticket.projection.date_time_end}"></span></div>
|
---|
| 45 | </h4>
|
---|
| 46 |
|
---|
| 47 | <p class="card-text" th:text="${ticket.projection.type_of_technology}"></p>
|
---|
| 48 | <span>Број на седиште: </span><p class="card-text" th:text="${ticket.seat.seat_number}"></p>
|
---|
| 49 | <span>Цена: </span><p class="card-text" th:text="${ticket.price}"></p>
|
---|
| 50 | </div>
|
---|
| 51 | </div>
|
---|
| 52 | <div class="card-footer" style="border-bottom-right-radius:30px;border-bottom-left-radius:30px">
|
---|
| 53 | <small>
|
---|
| 54 | <form th:action="@{'/home/getSeats/{id}' (id=${ticket.id_ticket})}"
|
---|
| 55 | th:method="GET">
|
---|
[73f0dbc] | 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>
|
---|
[01a1ca6] | 57 | </form>
|
---|
| 58 |
|
---|
| 59 | </small>
|
---|
| 60 | </div>
|
---|
| 61 | </div>
|
---|
| 62 | </div>
|
---|
| 63 | </div>
|
---|
| 64 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.