Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
awesomelands
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
Vuk Lazovic
awesomelands
Commits
a75f7959
Commit
a75f7959
authored
Sep 18, 2022
by
Vuk Lazovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PRIKAZIVANJE OGLASA
parent
4f9e193d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
133 additions
and
337 deletions
+133
-337
.idea/workspace.xml
+16
-10
src/main/java/app/usluga/web/MainKontroler.java
+16
-0
src/main/java/app/usluga/web/OglasController.java
+2
-7
src/main/resources/templates/oglasi.html
+11
-13
src/main/resources/templates/property.html
+88
-307
No files found.
.idea/workspace.xml
View file @
a75f7959
...
...
@@ -4,14 +4,12 @@
<option
name=
"autoReloadType"
value=
"ALL"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"6e82c7f1-3949-40e2-bc26-7eb50b36f993"
name=
"Default Changelist"
comment=
"dodata ulogovana verzija"
>
<change
afterPath=
"$PROJECT_DIR$/src/main/java/app/model/Oglas.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/java/app/rep/OglasRep.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/OglasUsluga.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/OglasController.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/resources/templates/oglasi.html"
afterDir=
"false"
/>
<list
default=
"true"
id=
"6e82c7f1-3949-40e2-bc26-7eb50b36f993"
name=
"Default Changelist"
comment=
"DODATA FUNKCIONALNOST ZA CITANJE IZ BAZEe"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/MainKontroler.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/MainKontroler.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/OglasController.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/OglasController.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/templates/oglasi.html"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/templates/oglasi.html"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/templates/property.html"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/templates/property.html"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -49,7 +47,7 @@
<map>
<entry
key=
"com.haulmont.jpb.jpaInspector"
value=
"true"
/>
<entry
key=
"com.haulmont.jpb.jpaPalette"
value=
"true"
/>
<entry
key=
"com.haulmont.jpb.jpaStructure"
value=
"
tru
e"
/>
<entry
key=
"com.haulmont.jpb.jpaStructure"
value=
"
fals
e"
/>
</map>
</option>
</component>
...
...
@@ -195,7 +193,7 @@
<updated>
1663427032475
</updated>
<workItem
from=
"1663427050863"
duration=
"1923000"
/>
<workItem
from=
"1663500169914"
duration=
"6177000"
/>
<workItem
from=
"1663512751550"
duration=
"
480
7000"
/>
<workItem
from=
"1663512751550"
duration=
"
1059
7000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"dodata ulogovana verzija"
>
<created>
1663501497955
</created>
...
...
@@ -204,7 +202,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1663501497955
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"2"
/>
<task
id=
"LOCAL-00002"
summary=
"DODATA FUNKCIONALNOST ZA CITANJE IZ BAZEe"
>
<created>
1663517623868
</created>
<option
name=
"number"
value=
"00002"
/>
<option
name=
"presentableId"
value=
"LOCAL-00002"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1663517623868
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"3"
/>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
...
...
@@ -265,7 +270,8 @@
<component
name=
"VcsManagerConfiguration"
>
<option
name=
"ADD_EXTERNAL_FILES_SILENTLY"
value=
"true"
/>
<MESSAGE
value=
"dodata ulogovana verzija"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"dodata ulogovana verzija"
/>
<MESSAGE
value=
"DODATA FUNKCIONALNOST ZA CITANJE IZ BAZEe"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"DODATA FUNKCIONALNOST ZA CITANJE IZ BAZEe"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/app/model/Korisnik.java"
>
...
...
src/main/java/app/usluga/web/MainKontroler.java
View file @
a75f7959
package
app
.
usluga
.
web
;
import
app.model.Oglas
;
import
app.usluga.OglasUsluga
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.ui.Model
;
...
...
@@ -33,5 +35,19 @@ public class MainKontroler {
return
"dodaj"
;
}
@Autowired
private
OglasUsluga
oglasUsluga
;
@GetMapping
(
"/oglasi"
)
public
String
prikazOglasa
(
Model
model
)
{
List
<
Oglas
>
oglasi
=
oglasUsluga
.
getAll
();
model
.
addAttribute
(
"oglasi"
,
oglasi
);
return
"property"
;
}
}
src/main/java/app/usluga/web/OglasController.java
View file @
a75f7959
...
...
@@ -24,14 +24,9 @@ public class OglasController
{
List
<
Oglas
>
oglasi
=
oglasUsluga
.
getAll
();
model
.
addAttribute
(
"SIZE"
,
"3"
);
int
i
=
0
;
for
(
Oglas
O
:
oglasi
)
{
i
++;
model
.
addAttribute
(
"A"
+
String
.
valueOf
(
i
),
O
.
getIme
());
model
.
addAttribute
(
"oglasi"
,
oglasi
);
}
...
...
src/main/resources/templates/oglasi.html
View file @
a75f7959
...
...
@@ -6,24 +6,22 @@
</head>
<body>
<div
id=
"div"
>
saas
</div>
<script
th:inline=
"javascript"
>
/*<![CDATA[*/
let
oglasi
=
/*[[${oglasi}]]*/
[]
let
x
=
document
.
getElementById
(
"div"
);
s
=
''
for
(
let
i
=
0
;
i
<
10
;
i
++
)
s
+=
"<h1> CEVU NAJJACA GLAVA </h1>"
x
.
innerHTML
=
s
;
</script>
let
size
=
/*[[${SIZE}]]*/
''
;
console
.
log
(
size
)
for
(
let
i
=
0
;
i
<
size
;
i
++
)
{
let
name
=
[[
$
{
A1
}]]
console
.
log
(
name
);
}
/*]]>*/
</script>
<h3
th:text=
"${A1}"
>
</h3>
<h3
th:text=
"${A2}"
>
</h3>
<h3
th:text=
"${A3}"
>
</h3>
</body>
...
...
src/main/resources/templates/property.html
View file @
a75f7959
<!DOCTYPE html>
<html
xmlns:th=
"https://www.thymeleaf.org"
>
<head>
<head>
<title>
Royal Estate - Free Bootstrap 4 Template by Colorlib
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
@@ -25,11 +25,11 @@
<link
rel=
"stylesheet"
href=
"css/flaticon.css"
>
<link
rel=
"stylesheet"
href=
"css/icomoon.css"
>
<link
rel=
"stylesheet"
href=
"css/style.css"
>
</head>
<body>
</head>
<body>
<div
class=
"top"
>
<div
class=
"top"
>
<div
class=
"container"
>
<div
class=
"row d-flex align-items-center"
>
<div
class=
"col"
>
...
...
@@ -45,9 +45,9 @@
</div>
</div>
</div>
</div>
</div>
<nav
class=
"navbar navbar-expand-lg navbar-dark ftco_navbar bg-dark ftco-navbar-light"
id=
"ftco-navbar"
>
<nav
class=
"navbar navbar-expand-lg navbar-dark ftco_navbar bg-dark ftco-navbar-light"
id=
"ftco-navbar"
>
<div
class=
"container"
>
<a
class=
"navbar-brand"
href=
"index.html"
>
Royal
<span>
estate
</span></a>
<button
class=
"navbar-toggler"
type=
"button"
data-toggle=
"collapse"
data-target=
"#ftco-nav"
aria-controls=
"ftco-nav"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
...
...
@@ -68,10 +68,10 @@
</ul>
</div>
</div>
</nav>
<!-- END nav -->
</nav>
<!-- END nav -->
<div
class=
"hero-wrap"
style=
"background-image: url('images/bg_1.jpg');"
>
<div
class=
"hero-wrap"
style=
"background-image: url('images/bg_1.jpg');"
>
<div
class=
"overlay"
></div>
<div
class=
"container"
>
<div
class=
"row no-gutters slider-text align-items-center justify-content-center"
>
...
...
@@ -81,9 +81,9 @@
</div>
</div>
</div>
</div>
</div>
<section
class=
"ftco-search"
>
<section
class=
"ftco-search"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-12 search-wrap"
>
...
...
@@ -280,285 +280,24 @@
</div>
</div>
</div>
</section>
</section>
<section
class=
"ftco-section bg-light"
>
<section
class=
"ftco-section bg-light"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-4 ftco-animate"
>
<div
class=
"properties"
>
<a
href=
"property-single.html"
class=
"img img-2 d-flex justify-content-center align-items-center"
style=
"background-image: url(images/properties-1.jpg);"
>
<div
class=
"icon d-flex justify-content-center align-items-center"
>
<span
class=
"icon-search2"
></span>
</div>
</a>
<div
class=
"text p-3"
>
<span
class=
"status sale"
>
Sale
</span>
<div
class=
"d-flex"
>
<div
class=
"one"
>
<h3
th:text=
"${A}"
><a
href=
"property-single.html"
></a>
</h3>
<p>
Apartment
</p>
</div>
<div
class=
"two"
>
<span
class=
"price"
>
$20,000
</span>
</div>
</div>
<p>
Far far away, behind the word mountains, far from the countries
</p>
<hr>
<p
class=
"bottom-area d-flex"
>
<span><i
class=
"flaticon-selection"
></i>
250sqft
</span>
<span
class=
"ml-auto"
><i
class=
"flaticon-bathtub"
></i>
3
</span>
<span><i
class=
"flaticon-bed"
></i>
4
</span>
</p>
</div>
</div>
</div>
<div
class=
"col-md-4 ftco-animate"
>
<div
class=
"properties"
>
<a
href=
"property-single.html"
class=
"img img-2 d-flex justify-content-center align-items-center"
style=
"background-image: url(images/properties-2.jpg);"
>
<div
class=
"icon d-flex justify-content-center align-items-center"
>
<span
class=
"icon-search2"
></span>
</div>
</a>
<div
class=
"text p-3"
>
<span
class=
"status sale"
>
Sale
</span>
<div
class=
"d-flex"
>
<div
class=
"one"
>
<h3><a
href=
"property-single.html"
>
North Parchmore Street
</a></h3>
<p>
Apartment
</p>
</div>
<div
class=
"two"
>
<span
class=
"price"
>
$20,000
</span>
</div>
</div>
<p>
Far far away, behind the word mountains, far from the countries
</p>
<hr>
<p
class=
"bottom-area d-flex"
>
<span><i
class=
"flaticon-selection"
></i>
250sqft
</span>
<span
class=
"ml-auto"
><i
class=
"flaticon-bathtub"
></i>
3
</span>
<span><i
class=
"flaticon-bed"
></i>
4
</span>
</p>
</div>
</div>
</div>
<div
class=
"col-md-4 ftco-animate"
>
<div
class=
"properties"
>
<a
href=
"property-single.html"
class=
"img img-2 d-flex justify-content-center align-items-center"
style=
"background-image: url(images/properties-3.jpg);"
>
<div
class=
"icon d-flex justify-content-center align-items-center"
>
<span
class=
"icon-search2"
></span>
</div>
</a>
<div
class=
"text p-3"
>
<span
class=
"status rent"
>
Rent
</span>
<div
class=
"d-flex"
>
<div
class=
"one"
>
<h3><a
href=
"property-single.html"
>
North Parchmore Street
</a></h3>
<p>
Apartment
</p>
</div>
<div
class=
"two"
>
<span
class=
"price"
>
$800
<small>
/ month
</small></span>
</div>
</div>
<p>
Far far away, behind the word mountains, far from the countries
</p>
<hr>
<p
class=
"bottom-area d-flex"
>
<span><i
class=
"flaticon-selection"
></i>
250sqft
</span>
<span
class=
"ml-auto"
><i
class=
"flaticon-bathtub"
></i>
3
</span>
<span><i
class=
"flaticon-bed"
></i>
4
</span>
</p>
</div>
</div>
</div>
<div
class=
"col-md-4 ftco-animate"
>
<div
class=
"properties"
>
<a
href=
"property-single.html"
class=
"img img-2 d-flex justify-content-center align-items-center"
style=
"background-image: url(images/properties-4.jpg);"
>
<div
class=
"icon d-flex justify-content-center align-items-center"
>
<span
class=
"icon-search2"
></span>
</div>
</a>
<div
class=
"text p-3"
>
<span
class=
"status sale"
>
Sale
</span>
<div
class=
"d-flex"
>
<div
class=
"one"
>
<h3><a
href=
"property-single.html"
>
North Parchmore Street
</a></h3>
<p>
Apartment
</p>
</div>
<div
class=
"two"
>
<span
class=
"price"
>
$20,000
</span>
</div>
</div>
<p>
Far far away, behind the word mountains, far from the countries
</p>
<hr>
<p
class=
"bottom-area d-flex"
>
<span><i
class=
"flaticon-selection"
></i>
250sqft
</span>
<span
class=
"ml-auto"
><i
class=
"flaticon-bathtub"
></i>
3
</span>
<span><i
class=
"flaticon-bed"
></i>
4
</span>
</p>
</div>
</div>
</div>
<div
class=
"col-md-4 ftco-animate"
>
<div
class=
"properties"
>
<a
href=
"property-single.html"
class=
"img img-2 d-flex justify-content-center align-items-center"
style=
"background-image: url(images/properties-5.jpg);"
>
<div
class=
"icon d-flex justify-content-center align-items-center"
>
<span
class=
"icon-search2"
></span>
</div>
</a>
<div
class=
"text p-3"
>
<span
class=
"status sale"
>
Sale
</span>
<div
class=
"d-flex"
>
<div
class=
"one"
>
<h3><a
href=
"property-single.html"
>
North Parchmore Street
</a></h3>
<p>
Apartment
</p>
</div>
<div
class=
"two"
>
<span
class=
"price"
>
$20,000
</span>
</div>
</div>
<p>
Far far away, behind the word mountains, far from the countries
</p>
<hr>
<p
class=
"bottom-area d-flex"
>
<span><i
class=
"flaticon-selection"
></i>
250sqft
</span>
<span
class=
"ml-auto"
><i
class=
"flaticon-bathtub"
></i>
3
</span>
<span><i
class=
"flaticon-bed"
></i>
4
</span>
</p>
</div>
</div>
</div>
<div
class=
"col-md-4 ftco-animate"
>
<div
class=
"properties"
>
<a
href=
"property-single.html"
class=
"img img-2 d-flex justify-content-center align-items-center"
style=
"background-image: url(images/properties-6.jpg);"
>
<div
class=
"icon d-flex justify-content-center align-items-center"
>
<span
class=
"icon-search2"
></span>
</div>
</a>
<div
class=
"text p-3"
>
<span
class=
"status sale"
>
Sale
</span>
<div
class=
"d-flex"
>
<div
class=
"one"
>
<h3><a
href=
"property-single.html"
>
North Parchmore Street
</a></h3>
<p>
Apartment
</p>
</div>
<div
class=
"two"
>
<span
class=
"price"
>
$20,000
</span>
</div>
</div>
<p>
Far far away, behind the word mountains, far from the countries
</p>
<hr>
<p
class=
"bottom-area d-flex"
>
<span><i
class=
"flaticon-selection"
></i>
250sqft
</span>
<span
class=
"ml-auto"
><i
class=
"flaticon-bathtub"
></i>
3
</span>
<span><i
class=
"flaticon-bed"
></i>
4
</span>
</p>
</div>
</div>
</div>
<div
class=
"col-md-4 ftco-animate"
>
<div
class=
"properties"
>
<a
href=
"property-single.html"
class=
"img img-2 d-flex justify-content-center align-items-center"
style=
"background-image: url(images/properties-7.jpg);"
>
<div
class=
"icon d-flex justify-content-center align-items-center"
>
<span
class=
"icon-search2"
></span>
</div>
</a>
<div
class=
"text p-3"
>
<span
class=
"status rent"
>
Rent
</span>
<div
class=
"d-flex"
>
<div
class=
"one"
>
<h3><a
href=
"property-single.html"
>
North Parchmore Street
</a></h3>
<p>
Apartment
</p>
</div>
<div
class=
"two"
>
<span
class=
"price"
>
$899
<small>
/ month
</small></span>
</div>
</div>
<p>
Far far away, behind the word mountains, far from the countries
</p>
<hr>
<p
class=
"bottom-area d-flex"
>
<span><i
class=
"flaticon-selection"
></i>
250sqft
</span>
<span
class=
"ml-auto"
><i
class=
"flaticon-bathtub"
></i>
3
</span>
<span><i
class=
"flaticon-bed"
></i>
4
</span>
</p>
</div>
</div>
</div>
<div
class=
"col-md-4 ftco-animate"
>
<div
class=
"properties"
>
<a
href=
"property-single.html"
class=
"img img-2 d-flex justify-content-center align-items-center"
style=
"background-image: url(images/properties-8.jpg);"
>
<div
class=
"icon d-flex justify-content-center align-items-center"
>
<span
class=
"icon-search2"
></span>
</div>
</a>
<div
class=
"text p-3"
>
<span
class=
"status sale"
>
Sale
</span>
<div
class=
"d-flex"
>
<div
class=
"one"
>
<h3><a
href=
"property-single.html"
>
North Parchmore Street
</a></h3>
<p>
Apartment
</p>
</div>
<div
class=
"two"
>
<span
class=
"price"
>
$20,000
</span>
</div>
</div>
<p>
Far far away, behind the word mountains, far from the countries
</p>
<hr>
<p
class=
"bottom-area d-flex"
>
<span><i
class=
"flaticon-selection"
></i>
250sqft
</span>
<span
class=
"ml-auto"
><i
class=
"flaticon-bathtub"
></i>
3
</span>
<span><i
class=
"flaticon-bed"
></i>
4
</span>
</p>
</div>
</div>
</div>
<div
class=
"col-md-4 ftco-animate"
>
<div
class=
"properties"
>
<a
href=
"property-single.html"
class=
"img img-2 d-flex justify-content-center align-items-center"
style=
"background-image: url(images/properties-9.jpg);"
>
<div
class=
"icon d-flex justify-content-center align-items-center"
>
<span
class=
"icon-search2"
></span>
</div>
</a>
<div
class=
"text p-3"
>
<span
class=
"status sale"
>
Sale
</span>
<div
class=
"d-flex"
>
<div
class=
"one"
>
<h3><a
href=
"property-single.html"
>
North Parchmore Street
</a></h3>
<p>
Apartment
</p>
</div>
<div
class=
"two"
>
<span
class=
"price"
>
$20,000
</span>
</div>
</div>
<p>
Far far away, behind the word mountains, far from the countries
</p>
<hr>
<p
class=
"bottom-area d-flex"
>
<span><i
class=
"flaticon-selection"
></i>
250sqft
</span>
<span
class=
"ml-auto"
><i
class=
"flaticon-bathtub"
></i>
3
</span>
<span><i
class=
"flaticon-bed"
></i>
4
</span>
</p>
</div>
</div>
</div>
</div>
<div
class=
"row mt-5"
>
<div
class=
"col text-center"
>
<div
class=
"block-27"
>
<ul>
<li><a
href=
"#"
>
<
</a></li>
<li
class=
"active"
><span>
1
</span></li>
<li><a
href=
"#"
>
2
</a></li>
<li><a
href=
"#"
>
3
</a></li>
<li><a
href=
"#"
>
4
</a></li>
<li><a
href=
"#"
>
5
</a></li>
<li><a
href=
"#"
>
>
</a></li>
</ul>
</div>
</div>
<div
id=
"oglasi"
class=
"row"
>
</div>
</div>
</section>
</section>
<section
class=
"ftco-section-parallax"
>
<section
class=
"ftco-section-parallax"
>
<div
class=
"parallax-img d-flex align-items-center"
>
<div
class=
"container"
>
<div
class=
"row d-flex justify-content-center"
>
...
...
@@ -579,9 +318,9 @@
</div>
</div>
</div>
</section>
</section>
<footer
class=
"ftco-footer ftco-bg-dark ftco-section"
>
<footer
class=
"ftco-footer ftco-bg-dark ftco-section"
>
<div
class=
"container"
>
<div
class=
"row mb-5"
>
<div
class=
"col-md"
>
...
...
@@ -641,31 +380,73 @@
</div>
</div>
</div>
</footer>
</footer>
<!-- loader -->
<div
id=
"ftco-loader"
class=
"show fullscreen"
><svg
class=
"circular"
width=
"48px"
height=
"48px"
><circle
class=
"path-bg"
cx=
"24"
cy=
"24"
r=
"22"
fill=
"none"
stroke-width=
"4"
stroke=
"#eeeeee"
/><circle
class=
"path"
cx=
"24"
cy=
"24"
r=
"22"
fill=
"none"
stroke-width=
"4"
stroke-miterlimit=
"10"
stroke=
"#F96D00"
/></svg></div>
<script
th:inline=
"javascript"
>
let
oglasi
=
/*[[${oglasi}]]*/
[]
p
=
""
<!-- loader -->
<div
id=
"ftco-loader"
class=
"show fullscreen"
><svg
class=
"circular"
width=
"48px"
height=
"48px"
><circle
class=
"path-bg"
cx=
"24"
cy=
"24"
r=
"22"
fill=
"none"
stroke-width=
"4"
stroke=
"#eeeeee"
/><circle
class=
"path"
cx=
"24"
cy=
"24"
r=
"22"
fill=
"none"
stroke-width=
"4"
stroke-miterlimit=
"10"
stroke=
"#F96D00"
/></svg></div>
for
(
let
i
=
0
;
i
<
oglasi
.
length
;
i
++
)
{
s
=
"<div class=
\"
col-md-4 ftco-animate
\"
>"
+
"<div class=
\"
properties
\"
>"
+
"<a href=
\"
property-single.html
\"
class=
\"
img img-2 d-flex justify-content-center align-items-center
\"
style=
\"
background-image: url(images/properties-5.jpg);
\"
>"
+
"<div class=
\"
icon d-flex justify-content-center align-items-center
\"
>"
+
"<span class=
\"
icon-search2
\"
></span>"
+
"</div>"
+
"</a>"
+
"<div class=
\"
text p-3
\"
>"
+
"<span class=
\"
status sale
\"
>Sale</span>"
+
"<div class=
\"
d-flex
\"
>"
+
"<div class=
\"
one
\"
>"
+
"<h3><a href=
\"
property-single.html
\"
>"
+
oglasi
[
i
].
ime
+
"</a></h3>"
+
"<p>Apartment</p>"
+
"</div>"
+
"<div class=
\"
two
\"
>"
+
"<span class=
\"
price
\"
>"
+
oglasi
[
i
].
cena
+
"$</span>"
+
"</div>"
+
"</div>"
+
"<p>Far far away, behind the word mountains, far from the countries</p>"
+
"<hr>"
+
"<p class=
\"
bottom-area d-flex
\"
>"
+
"<span><i class=
\"
flaticon-selection
\"
></i> 250sqft</span>"
+
"<span class=
\"
ml-auto
\"
><i class=
\"
flaticon-bathtub
\"
></i> 3</span>"
+
"<span><i class=
\"
flaticon-bed
\"
></i> 4</span>"
+
"</p>"
+
"</div>"
+
"</div>"
+
"</div>"
p
+=
s
}
<script
src=
"js/jquery.min.js"
></script>
<script
src=
"js/jquery-migrate-3.0.1.min.js"
></script>
<script
src=
"js/popper.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
<script
src=
"js/jquery.easing.1.3.js"
></script>
<script
src=
"js/jquery.waypoints.min.js"
></script>
<script
src=
"js/jquery.stellar.min.js"
></script>
<script
src=
"js/owl.carousel.min.js"
></script>
<script
src=
"js/jquery.magnific-popup.min.js"
></script>
<script
src=
"js/aos.js"
></script>
<script
src=
"js/jquery.animateNumber.min.js"
></script>
<script
src=
"js/bootstrap-datepicker.js"
></script>
<script
src=
"js/jquery.timepicker.min.js"
></script>
<script
src=
"js/scrollax.min.js"
></script>
<script
src=
"https://maps.googleapis.com/maps/api/js?key=AIzaSyBVWaKrjvy3MaE7SQ74_uJiULgl1JY0H2s&sensor=false"
></script>
<script
src=
"js/google-map.js"
></script>
<script
src=
"js/main.js"
></script>
x
=
document
.
getElementById
(
"oglasi"
)
console
.
log
(
"CEVU GLAVA"
)
console
.
log
(
x
)
x
.
innerHTML
=
p
</script>
<script
src=
"js/jquery.min.js"
></script>
<script
src=
"js/jquery-migrate-3.0.1.min.js"
></script>
<script
src=
"js/popper.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
<script
src=
"js/jquery.easing.1.3.js"
></script>
<script
src=
"js/jquery.waypoints.min.js"
></script>
<script
src=
"js/jquery.stellar.min.js"
></script>
<script
src=
"js/owl.carousel.min.js"
></script>
<script
src=
"js/jquery.magnific-popup.min.js"
></script>
<script
src=
"js/aos.js"
></script>
<script
src=
"js/jquery.animateNumber.min.js"
></script>
<script
src=
"js/bootstrap-datepicker.js"
></script>
<script
src=
"js/jquery.timepicker.min.js"
></script>
<script
src=
"js/scrollax.min.js"
></script>
<script
src=
"https://maps.googleapis.com/maps/api/js?key=AIzaSyBVWaKrjvy3MaE7SQ74_uJiULgl1JY0H2s&sensor=false"
></script>
<script
src=
"js/google-map.js"
></script>
<script
src=
"js/main.js"
></script>
</body>
</body>
</html>
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