source: src/main/resources/templates/myTickets.html@ 4173acf

Last change on this file since 4173acf was 1e7126f, checked in by DenicaKj <dkorvezir@…>, 15 months ago

fix

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[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%;">
[1e7126f]31 <div class="card" th:each="t : ${tickets}" style=" border-radius: 30px;width:92%;align-self:center; margin-bottom: 5%">
[01a1ca6]32 <div class="card-horizontal" >
33 <div class="card-body">
[302b233]34
[01a1ca6]35 <h4 class="card-title" >
36 <div>
37 <span>Филм:</span>
[1e7126f]38 <span th:text="${t.ticket.projection.film.name}"></span></div>
[01a1ca6]39 <div>
40 <span>Почеток на проекција: </span>
[1e7126f]41 <span th:text="${t.ticket.projection.date_time_start}"></span></div>
[01a1ca6]42 <div>
43 <span>Крај на проекција: </span>
[1e7126f]44 <span th:text="${t.ticket.projection.date_time_end}"></span></div>
[01a1ca6]45 </h4>
46
[1e7126f]47 <p class="card-text" th:text="${t.ticket.projection.type_of_technology}"></p>
48 <span>Број на седиште: </span><p class="card-text" th:text="${t.ticket.seat.seat_number}"></p>
49 <span>Цена: </span><p class="card-text" th:text="${t.ticket.price}"></p>
[01a1ca6]50 </div>
51 </div>
52 <div class="card-footer" style="border-bottom-right-radius:30px;border-bottom-left-radius:30px">
53 <small>
[1e7126f]54 <form th:action="@{'/cancelTicket/{id}' (id=${t.ticket.id_ticket})}"
55 th:method="POST">
56 <button th:if="${t.canCancel}" 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.