Last change
on this file since 11d7b36 was 04153a9, checked in by DenicaKj <dkorvezir@…>, 21 months ago |
Authorization
|
-
Property mode
set to
100644
|
File size:
1.9 KB
|
Line | |
---|
1 | <style>
|
---|
2 | .genres{
|
---|
3 | width: 100px;
|
---|
4 | text-align: center;
|
---|
5 | background-color: #ff5019;
|
---|
6 | border-radius: 20px;
|
---|
7 | color: #111111;
|
---|
8 | font-size: 20px;
|
---|
9 | font-weight: 200;
|
---|
10 | margin: 20px;
|
---|
11 | }
|
---|
12 | .main{
|
---|
13 | display: flex;
|
---|
14 | justify-content: space-between;
|
---|
15 | align-items: flex-start;
|
---|
16 | margin-left: 100px;
|
---|
17 | }
|
---|
18 | .slika{
|
---|
19 | margin-right: 100px;
|
---|
20 | }
|
---|
21 | img{
|
---|
22 | width: 300px;
|
---|
23 | height: 350px;
|
---|
24 | border-radius: 20px;
|
---|
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 | }
|
---|
41 | </style>
|
---|
42 | <div xmlns:th="http://www.thymeleaf.org">
|
---|
43 | <div class="main">
|
---|
44 | <div class="container-1">
|
---|
45 | <h1 style="color: white; font-weight: 600" class="name" th:text="${event.getTheme()}">
|
---|
46 | </h1>
|
---|
47 | <h4 style="color: white;"> Почетен Датум:
|
---|
48 | <span th:text="${event.start_date}"></span>
|
---|
49 | </h4>
|
---|
50 | <h4 style="color: white"> Траење на настанот:
|
---|
51 | <span th:text="${event.duration}"></span>
|
---|
52 | минути
|
---|
53 | </h4>
|
---|
54 | <th:block sec:authorize="hasAuthority('ROLE_USER')" th:if="${#request.getRemoteUser() != null}">
|
---|
55 | <form th:action="@{'/home/addInterestedEvent/{id}' (id=${event.id_event})}"
|
---|
56 | th:method="POST">
|
---|
57 | <button class="button" type="submit">Додади Заинтересиран</button>
|
---|
58 | </form>
|
---|
59 | </th:block>
|
---|
60 | </div>
|
---|
61 | <div class="slika">
|
---|
62 | <img th:src="@{${event.img_url}}"/>
|
---|
63 | </div>
|
---|
64 |
|
---|
65 | </div>
|
---|
66 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.