Last change
on this file since 633b371 was 04153a9, checked in by DenicaKj <dkorvezir@…>, 21 months ago |
Authorization
|
-
Property mode
set to
100644
|
File size:
3.0 KB
|
Rev | Line | |
---|
[5867520] | 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 | }
|
---|
[0ba5d1a] | 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 | }
|
---|
[5867520] | 27 | </style>
|
---|
| 28 | <h1 style="color: white" th:text="${film.name}"></h1>
|
---|
[04153a9] | 29 | <div style="border-radius:30px" xmlns:sec="http://www.w3.org/1999/xhtml">
|
---|
[5867520] | 30 | <div class="row">
|
---|
| 31 | <div class="col-12 mt-3" style="padding-left:100px;height:75%;">
|
---|
[0ba5d1a] | 32 | <div class="card" th:each="projection : ${projections}" style=" border-radius: 30px;width:92%;align-self:center">
|
---|
| 33 | <div class="card-horizontal" >
|
---|
[5867520] | 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>
|
---|
[04153a9] | 49 | <th:block sec:authorize="hasAuthority('ROLE_USER')" th:if="${#request.getRemoteUser() != null}">
|
---|
[00fa72f] | 50 | <form th:action="@{'/home/getSeats/{id}' (id=${projection.id_projection})}"
|
---|
[0ba5d1a] | 51 | th:method="GET">
|
---|
[00fa72f] | 52 | <input type="hidden" name="film" id="film" th:value="${film.id_film}">
|
---|
[0ba5d1a] | 53 | <div class="form-group">
|
---|
| 54 | <label style="color: black;font-size: 20px;font-weight: bold">Категорија на седиште</label>
|
---|
[00fa72f] | 55 | <select name="id_category" class="form-control" id="id_category">
|
---|
[0ba5d1a] | 56 | <option
|
---|
| 57 | th:each="category : ${categories}"
|
---|
[00fa72f] | 58 | th:value="${category.idcategory}"
|
---|
[0ba5d1a] | 59 | th:text="${category.getName()}">
|
---|
| 60 | </option>
|
---|
| 61 | </select>
|
---|
| 62 |
|
---|
| 63 | </div>
|
---|
| 64 | <button class="button" type="submit">Резервирај</button>
|
---|
| 65 | </form>
|
---|
[04153a9] | 66 | </th:block>
|
---|
[5867520] | 67 | </small>
|
---|
| 68 | </div>
|
---|
| 69 | </div>
|
---|
| 70 | </div>
|
---|
| 71 | </div>
|
---|
| 72 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.