Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SkuciSe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tim 2 - 2022
SkuciSe
Commits
07e68ab1
Commit
07e68ab1
authored
Sep 11, 2022
by
Milovan Samardzic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
listaOglasaStyleResponsive
parent
ec6abfdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
11 deletions
+19
-11
SkuciSe/src/main/resources/static/css/oglasiStyle.css
+8
-0
SkuciSe/src/main/resources/templates/lista-oglasa.html
+11
-11
No files found.
SkuciSe/src/main/resources/static/css/oglasiStyle.css
View file @
07e68ab1
...
...
@@ -240,4 +240,11 @@ h3{
hsl
(
0
,
0%
,
68.5%
)
91.9%
,
hsl
(
0
,
0%
,
68%
)
100%
);
}
.img-responsive
{
width
:
100%
;
height
:
350px
;
max-height
:
300px
;
border-radius
:
10px
;
text-align
:
center
;
}
\ No newline at end of file
SkuciSe/src/main/resources/templates/lista-oglasa.html
View file @
07e68ab1
...
...
@@ -201,20 +201,20 @@
</article>
<!-- card-group-item.// -->
<article
class=
"card-group-item"
>
<div
class=
"card-header d-flex justify-content-between"
>
<button
type=
"submit"
class=
"btn btn-primary"
>
Primeni filtere
</button>
<a
th:href=
"@{/lista-oglasa}"
><button
type=
"button"
class=
"btn btn-primary"
>
Resetuj filtere
</button></a>
<button
type=
"submit"
class=
"btn btn-primary"
>
Primeni filtere
</button>
</div>
</article>
</div>
<!-- card.// -->
</div>
</div>
<div
class=
"col-
8
"
th:object=
"${slikeOglasa}"
>
<div
class=
"col-
9
"
th:object=
"${slikeOglasa}"
>
<h1
th:if=
"${oglasi.size() == 0}"
class=
"text-center"
>
Nema oglasa!
</h1>
<div
class=
"row w-100 box "
th:each=
"i : ${#numbers.sequence(0, oglasi.size()-1,3)}"
>
<div
class=
"col-lg-4 p-2"
data-aos=
"zoom-in"
th:if=
"${oglasi[i].naslov != null}"
>
<div
class=
"section border bg-white rounded p-2"
>
<div
class=
"row"
>
<div
class=
"col-lg-12 img-section"
>
<img
th:src=
"@{'data:image/png;charset=utf-8;base64,'+${slikeOglasa[i].slikaCode}}"
class=
"p-0 m-0
res-
ponsive"
>
<img
th:src=
"@{'data:image/png;charset=utf-8;base64,'+${slikeOglasa[i].slikaCode}}"
class=
"p-0 m-0
img-res
ponsive"
>
<span
class=
"badge badge-danger add-sens p-2 rounded-0"
th:text=
"${oglasi[i].kvadratura + 'm2'}"
></span>
</div>
...
...
@@ -237,7 +237,7 @@
</div>
<div
class=
"col-lg-6 pb-2 d-flex justify-content-end"
>
<a
th:href=
"@{/lista-oglasa/{oglasid}(oglasid=${oglasi[i].getOglasId()})}"
class=
"
btn btn-danger
"
>
Pogledajte oglas
</a>
class=
"
link-secondary"
style=
"text-decoration: none
"
>
Pogledajte oglas
</a>
</div>
</div>
</div>
...
...
@@ -248,7 +248,7 @@
<div
class=
"section border bg-white rounded p-2"
>
<div
class=
"row"
>
<div
class=
"col-lg-12 img-section"
>
<img
th:src=
"@{'data:image/png;charset=utf-8;base64,'+${slikeOglasa[i+1].slikaCode}}"
class=
"p-0 m-0
res-
ponsive"
>
<img
th:src=
"@{'data:image/png;charset=utf-8;base64,'+${slikeOglasa[i+1].slikaCode}}"
class=
"p-0 m-0
img-res
ponsive"
>
<span
class=
"badge badge-danger add-sens p-2 rounded-0"
th:text=
"${oglasi[i+1].kvadratura + 'm2'}"
></span>
</div>
...
...
@@ -271,7 +271,7 @@
</div>
<div
class=
"col-lg-6 pb-2 d-flex justify-content-end"
>
<a
th:href=
"@{/lista-oglasa/{oglasid}(oglasid=${oglasi[i+1].getOglasId()})}"
class=
"
btn btn-danger
"
>
Pogledajte oglas
</a>
class=
"
link-secondary"
style=
"text-decoration: none
"
>
Pogledajte oglas
</a>
</div>
</div>
</div>
...
...
@@ -282,7 +282,7 @@
<div
class=
"section border bg-white rounded p-2"
>
<div
class=
"row"
>
<div
class=
"col-lg-12 img-section"
>
<img
th:src=
"@{'data:image/png;charset=utf-8;base64,'+${slikeOglasa[i+2].slikaCode}}"
class=
"p-0 m-0
res-
ponsive"
>
<img
th:src=
"@{'data:image/png;charset=utf-8;base64,'+${slikeOglasa[i+2].slikaCode}}"
class=
"p-0 m-0
img-res
ponsive"
>
<span
class=
"badge badge-danger add-sens p-2 rounded-0"
th:text=
"${oglasi[i+2].kvadratura + 'm2'}"
></span>
</div>
...
...
@@ -290,12 +290,12 @@
<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>
</div>
<div
class=
"col-lg-7 d-flex justify-content-end align-items-center p-1"
>
<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>
<br>
<span><i
class=
"fas fa-star-half-alt"
></i></span>
</div>
</div>
<div
class=
"col-lg-12"
>
...
...
@@ -305,7 +305,7 @@
</div>
<div
class=
"col-lg-6 pb-2 d-flex justify-content-end"
>
<a
th:href=
"@{/lista-oglasa/{oglasid}(oglasid=${oglasi[i+2].getOglasId()})}"
class=
"
btn btn-danger
"
>
Pogledajte oglas
</a>
class=
"
link-secondary"
style=
"text-decoration: none
"
>
Pogledajte oglas
</a>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment