Last change
on this file since 8a18cf5 was 8a18cf5, checked in by DenicaKj <dkorvezir@…>, 22 months ago |
fixes
|
-
Property mode
set to
100644
|
File size:
2.5 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="${film.getName()}">
|
---|
46 | </h1>
|
---|
47 | <div th:each="genre : ${genres}" class="genres">
|
---|
48 | <span th:text="${genre}"></span>
|
---|
49 | </div>
|
---|
50 | <h4 style="color: white;"> Возрасна категорија:
|
---|
51 | <span th:text="${film.age_category}"></span>
|
---|
52 | </h4>
|
---|
53 | <h4 style="color: white"> Траење на филмот:
|
---|
54 | <span th:text="${film.duration}"></span>
|
---|
55 | минути
|
---|
56 | </h4>
|
---|
57 | <h4 style="color: white"> Режисер:
|
---|
58 | <span th:text="${film.director}"></span>
|
---|
59 | </h4>
|
---|
60 | <h4 style="color: white">
|
---|
61 | <span th:text="${rating}"></span>
|
---|
62 | <span>/5</span>
|
---|
63 | </h4>
|
---|
64 | <th:block sec:authorize="hasAuthority('ROLE_USER')" th:if="${#request.getRemoteUser() != null}">
|
---|
65 | <form th:action="@{'/home/addRating/{id}' (id=${film.id_film})}"
|
---|
66 | th:method="POST">
|
---|
67 | <div class="form-group">
|
---|
68 | <label style="color: white;font-size: 20px;font-weight: bold">Оцени:</label>
|
---|
69 | <input class="form-control" required type="text" id="rate" name="rate">
|
---|
70 | </div>
|
---|
71 | <button class="button" type="submit">Додади Оцена</button>
|
---|
72 | </form>
|
---|
73 | </th:block>
|
---|
74 | </div>
|
---|
75 | <div class="slika">
|
---|
76 | <img th:src="@{${film.getUrl()}}"/>
|
---|
77 | </div>
|
---|
78 |
|
---|
79 | </div>
|
---|
80 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.