source: src/main/resources/templates/projectionsForFilm.html@ 1b0bd1e

Last change on this file since 1b0bd1e was 04153a9, checked in by DenicaKj <dkorvezir@…>, 21 months ago

Authorization

  • Property mode set to 100644
File size: 3.0 KB
Line 
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<h1 style="color: white" th:text="${film.name}"></h1>
29<div style="border-radius:30px" xmlns:sec="http://www.w3.org/1999/xhtml">
30 <div class="row">
31 <div class="col-12 mt-3" style="padding-left:100px;height:75%;">
32 <div class="card" th:each="projection : ${projections}" style=" border-radius: 30px;width:92%;align-self:center">
33 <div class="card-horizontal" >
34 <div class="card-body">
35
36 <h4 class="card-title" >
37 <div>
38 <span>Почеток на проекција: </span>
39 <span th:text="${projection.date_time_start}"></span></div>
40 <div>
41 <span>Крај на проекција: </span>
42 <span th:text="${projection.date_time_end}"></span></div>
43 </h4>
44 <p class="card-text" th:text="${projection.type_of_technology}"></p>
45 </div>
46 </div>
47 <div class="card-footer" style="border-bottom-right-radius:30px;border-bottom-left-radius:30px">
48 <small>
49 <th:block sec:authorize="hasAuthority('ROLE_USER')" th:if="${#request.getRemoteUser() != null}">
50 <form th:action="@{'/home/getSeats/{id}' (id=${projection.id_projection})}"
51 th:method="GET">
52 <input type="hidden" name="film" id="film" th:value="${film.id_film}">
53 <div class="form-group">
54 <label style="color: black;font-size: 20px;font-weight: bold">Категорија на седиште</label>
55 <select name="id_category" class="form-control" id="id_category">
56 <option
57 th:each="category : ${categories}"
58 th:value="${category.idcategory}"
59 th:text="${category.getName()}">
60 </option>
61 </select>
62
63 </div>
64 <button class="button" type="submit">Резервирај</button>
65 </form>
66 </th:block>
67 </small>
68 </div>
69 </div>
70 </div>
71 </div>
72</div>
Note: See TracBrowser for help on using the repository browser.