Commit a7bea246 by Mihailo Sebek

Izmena stila oglasa

parent 9a9f26ec
...@@ -138,13 +138,6 @@ ...@@ -138,13 +138,6 @@
<div class="col-lg-5 d-flex justify-content-start align-items-center"> <div class="col-lg-5 d-flex justify-content-start align-items-center">
<h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i].naslov}"></h1> <h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i].naslov}"></h1>
</div> </div>
<div class="col-lg-7 d-flex justify-content-end align-items-center p-1">
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star-half-alt"></i></span><br>
</div>
</div> </div>
<div class="col-lg-12"> <div class="col-lg-12">
<div class="row d-flex justify-content-between"> <div class="row d-flex justify-content-between">
...@@ -176,13 +169,6 @@ ...@@ -176,13 +169,6 @@
<div class="col-lg-5 d-flex justify-content-start align-items-center"> <div class="col-lg-5 d-flex justify-content-start align-items-center">
<h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i+1].naslov}"></h1> <h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i+1].naslov}"></h1>
</div> </div>
<div class="col-lg-7 d-flex justify-content-end align-items-center p-1">
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star-half-alt"></i></span><br>
</div>
</div> </div>
<div class="col-lg-12"> <div class="col-lg-12">
<div class="row d-flex justify-content-between"> <div class="row d-flex justify-content-between">
...@@ -214,13 +200,6 @@ ...@@ -214,13 +200,6 @@
<div class="col-lg-5 d-flex justify-content-start align-items-center"> <div class="col-lg-5 d-flex justify-content-start align-items-center">
<h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i+2].naslov}"></h1> <h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i+2].naslov}"></h1>
</div> </div>
<div class="col-lg-7 col-md-7 d-flex justify-content-end align-items-center p-1">
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star-half-alt"></i></span>
</div>
</div> </div>
<div class="col-lg-12"> <div class="col-lg-12">
<div class="row d-flex justify-content-between"> <div class="row d-flex justify-content-between">
......
...@@ -255,13 +255,6 @@ ...@@ -255,13 +255,6 @@
<div class="col-lg-5 d-flex justify-content-start align-items-center"> <div class="col-lg-5 d-flex justify-content-start align-items-center">
<h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i].naslov}"></h1> <h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i].naslov}"></h1>
</div> </div>
<div class="col-lg-7 d-flex justify-content-end align-items-center p-1">
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star-half-alt"></i></span><br>
</div>
</div> </div>
<div class="col-lg-12"> <div class="col-lg-12">
<div class="row d-flex justify-content-between"> <div class="row d-flex justify-content-between">
...@@ -293,13 +286,6 @@ ...@@ -293,13 +286,6 @@
<div class="col-lg-5 d-flex justify-content-start align-items-center"> <div class="col-lg-5 d-flex justify-content-start align-items-center">
<h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i+1].naslov}"></h1> <h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i+1].naslov}"></h1>
</div> </div>
<div class="col-lg-7 d-flex justify-content-end align-items-center p-1">
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star-half-alt"></i></span><br>
</div>
</div> </div>
<div class="col-lg-12"> <div class="col-lg-12">
<div class="row d-flex justify-content-between"> <div class="row d-flex justify-content-between">
...@@ -331,13 +317,6 @@ ...@@ -331,13 +317,6 @@
<div class="col-lg-5 d-flex justify-content-start align-items-center"> <div class="col-lg-5 d-flex justify-content-start align-items-center">
<h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i+2].naslov}"></h1> <h1 class="pt-2 pb-2 text-nowrap" th:text="${oglasi[i+2].naslov}"></h1>
</div> </div>
<div class="col-lg-7 col-md-7 d-flex justify-content-end align-items-center p-1">
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star"></i></span>
<span><i class="fas fa-star-half-alt"></i></span>
</div>
</div> </div>
<div class="col-lg-12"> <div class="col-lg-12">
<div class="row d-flex justify-content-between"> <div class="row d-flex justify-content-between">
......
...@@ -149,8 +149,9 @@ ...@@ -149,8 +149,9 @@
<div class="col d-flex justify-content-evenly" style="color: #777;"> <div class="col d-flex justify-content-evenly" style="color: #777;">
<p th:object="${likesCount}"> <p th:object="${likesCount}">
<span th:text="${likesCount}"></span> <span th:text="${likesCount}"></span>
<a th:if="${(loggedUser!=null)&&(!liked)}" th:href="@{/lajkuj-oglas/{oglasId}(oglasId=${oglas.oglasId})}" style="text-decoration: none; color: red;"><!--<i class="bi bi-heart" style="display: inline-block; height: 1rem; width: 1rem; color: red;"></i>--></a> <a th:if="${(loggedUser==null)}" th:href="@{/login-zahtev/{oglasId}(oglasId=${oglas.oglasId})}" style="text-decoration: none; color: grey;"><i class="fa-solid fa-heart"></i></a>
<a th:if="${(loggedUser!=null)&&(liked)}" th:href="@{/lajkuj-oglas/{oglasId}(oglasId=${oglas.oglasId})}" style="text-decoration: none; color: red;"><!--<i class="bi bi-heart-fill" style="display: inline-block; height: 1rem; width: 1rem; color: red;"></i>--></a> <a th:if="${(loggedUser!=null)&&(!liked)}" th:href="@{/lajkuj-oglas/{oglasId}(oglasId=${oglas.oglasId})}" style="text-decoration: none; color:grey"><i class="fa-solid fa-heart"></i></a>
<a th:if="${(loggedUser!=null)&&(liked)}" th:href="@{/lajkuj-oglas/{oglasId}(oglasId=${oglas.oglasId})}" style="text-decoration: none; color: red;"><i class="fa-solid fa-heart"></i></a>
</p> </p>
</div> </div>
<a th:href="@{/korisnik/{korisnikId}(korisnikId=${vlasnik.korisnikId})}" <a th:href="@{/korisnik/{korisnikId}(korisnikId=${vlasnik.korisnikId})}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment