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
0f9867f3
Commit
0f9867f3
authored
Sep 21, 2022
by
Pavle Opric
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
bf73423d
3cc9590f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
299 additions
and
239 deletions
+299
-239
.idea/workspace.xml
+14
-26
src/main/resources/templates/login.html
+111
-18
src/main/resources/templates/property.html
+63
-174
src/main/resources/templates/registration.html
+111
-21
No files found.
.idea/workspace.xml
View file @
0f9867f3
...
@@ -4,31 +4,9 @@
...
@@ -4,31 +4,9 @@
<option
name=
"autoReloadType"
value=
"ALL"
/>
<option
name=
"autoReloadType"
value=
"ALL"
/>
</component>
</component>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"6e82c7f1-3949-40e2-bc26-7eb50b36f993"
name=
"Default Changelist"
comment=
"UPLOAD sada radi"
>
<list
default=
"true"
id=
"6e82c7f1-3949-40e2-bc26-7eb50b36f993"
name=
"Default Changelist"
comment=
"header i footer register"
>
<change
afterPath=
"$PROJECT_DIR$/src/main/java/app/rep/DodajRep.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/DodajUsluga.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/ImplementacijaDodaj.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/DodajKontrol.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/java/app/vuk.jpg.lnk"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/resources/static/images/20554052.jpg"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/resources/static/images/2446195060_e0018b9214_m.jpg"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/resources/static/images/4.jpg"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/resources/static/images/81355b64-5a23-4e90-a98e-25db5dfe414f.jpg"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/resources/static/images/big-112921447_60589928c5c824-51097158big-112681991_6.jpg"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/resources/static/images/download.jpg"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/resources/static/images/macka.jpg"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_18_9_2022__18_26__Default_Changelist_.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_18_9_2022__18_26__Default_Changelist_.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_18_9_2022__20_08__Default_Changelist_.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_18_9_2022__20_08__Default_Changelist_.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_19_9_2022__15_07__Default_Changelist_.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_19_9_2022__15_07__Default_Changelist_.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<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/Implementacija.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/Implementacija.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/templates/login.html"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/templates/login.html"
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"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/RegKontroler.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/RegKontroler.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/templates/dodaj.html"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/templates/dodaj.html"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/templates/index.html"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/templates/index.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"
/>
<change
beforePath=
"$PROJECT_DIR$/unknown.png"
beforeDir=
"false"
/>
</list>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -227,6 +205,8 @@
...
@@ -227,6 +205,8 @@
<workItem
from=
"1663598082766"
duration=
"1751000"
/>
<workItem
from=
"1663598082766"
duration=
"1751000"
/>
<workItem
from=
"1663600055785"
duration=
"984000"
/>
<workItem
from=
"1663600055785"
duration=
"984000"
/>
<workItem
from=
"1663675731268"
duration=
"8728000"
/>
<workItem
from=
"1663675731268"
duration=
"8728000"
/>
<workItem
from=
"1663703824680"
duration=
"5427000"
/>
<workItem
from=
"1663780970951"
duration=
"541000"
/>
</task>
</task>
<task
id=
"LOCAL-00001"
summary=
"dodata ulogovana verzija"
>
<task
id=
"LOCAL-00001"
summary=
"dodata ulogovana verzija"
>
<created>
1663501497955
</created>
<created>
1663501497955
</created>
...
@@ -249,7 +229,14 @@
...
@@ -249,7 +229,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1663599823537
</updated>
<updated>
1663599823537
</updated>
</task>
</task>
<option
name=
"localTasksCounter"
value=
"4"
/>
<task
id=
"LOCAL-00004"
summary=
"header i footer register"
>
<created>
1663781295222
</created>
<option
name=
"number"
value=
"00004"
/>
<option
name=
"presentableId"
value=
"LOCAL-00004"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1663781295222
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"5"
/>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
...
@@ -312,7 +299,8 @@
...
@@ -312,7 +299,8 @@
<MESSAGE
value=
"dodata ulogovana verzija"
/>
<MESSAGE
value=
"dodata ulogovana verzija"
/>
<MESSAGE
value=
"login/logout/anonymous user..."
/>
<MESSAGE
value=
"login/logout/anonymous user..."
/>
<MESSAGE
value=
"UPLOAD sada radi"
/>
<MESSAGE
value=
"UPLOAD sada radi"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"UPLOAD sada radi"
/>
<MESSAGE
value=
"header i footer register"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"header i footer register"
/>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/app/model/Korisnik.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/app/model/Korisnik.java"
>
...
...
src/main/resources/templates/login.html
View file @
0f9867f3
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html
xmlns:th=
"http://www.thymeleaf.org"
>
<head>
<head>
<meta
charset=
"ISO-8859-1"
>
<title>
Royal Estate - Free Bootstrap 4 Template by TIM
</title>
<title>
Login
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<link
rel=
"stylesheet"
<link
href=
"https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700"
rel=
"stylesheet"
>
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity=
"sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin=
"anonymous"
>
<style>
<link
rel=
"stylesheet"
href=
"css/open-iconic-bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"css/animate.css"
>
<link
rel=
"stylesheet"
href=
"css/owl.carousel.min.css"
>
<link
rel=
"stylesheet"
href=
"css/owl.theme.default.min.css"
>
<link
rel=
"stylesheet"
href=
"css/magnific-popup.css"
>
<
/style
>
<
link
rel=
"stylesheet"
href=
"css/aos.css"
>
<link
rel=
"stylesheet"
href=
"css/ionicons.min.css"
>
<link
rel=
"stylesheet"
href=
"css/bootstrap-datepicker.css"
>
<link
rel=
"stylesheet"
href=
"css/jquery.timepicker.css"
>
<link
rel=
"stylesheet"
href=
"css/flaticon.css"
>
<link
rel=
"stylesheet"
href=
"css/icomoon.css"
>
<link
rel=
"stylesheet"
href=
"css/style.css"
>
</head>
</head>
<body>
<body>
<div
class=
"top"
>
<div
class=
"container"
>
<div
class=
"row d-flex align-items-center"
>
<div
class=
"col"
>
<p
class=
"social d-flex"
>
<a
href=
"#"
><span
class=
"icon-facebook"
></span></a>
<a
href=
"#"
><span
class=
"icon-twitter"
></span></a>
<a
href=
"#"
><span
class=
"icon-google"
></span></a>
<a
href=
"#"
><span
class=
"icon-pinterest"
></span></a>
</p>
</div>
<div
class=
"col d-flex justify-content-end"
>
<div
th:text=
"${#authentication.name}"
>
The value of the "name" property of the authentication object should appear here.
</div>
</div>
</div>
</div>
</div>
<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=
"/"
>
AWESOME
<span>
lands
</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"
>
<span
class=
"oi oi-menu"
></span>
Menu
</button>
<div
class=
"collapse navbar-collapse"
id=
"ftco-nav"
>
<ul
class=
"navbar-nav ml-auto"
>
<li
class=
"nav-item active"
><a
href=
"/"
class=
"nav-link"
>
Pocetna strana
</a></li>
<li
class=
"nav-item"
><a
href=
"oglasi"
class=
"nav-link"
>
Oglasi
</a></li>
<li
class=
"nav-item"
><a
href=
"maintance"
class=
"nav-link"
>
Agenti
</a></li>
<li
class=
"nav-item"
><a
href=
"maintance"
class=
"nav-link"
>
O nama
</a></li>
<li
class=
"nav-item"
><a
href=
"maintance"
class=
"nav-link"
>
Kontakt
</a></li>
<li
sec:authorize=
"isAnonymous()"
class=
"nav-item cta"
><a
href=
"login"
class=
"nav-link ml-lg-2"
><span
class=
"icon-user"
></span>
Prijava
</a></li>
<li
sec:authorize=
"isAnonymous()"
class=
"nav-item cta cta-colored"
><a
href=
"registration"
class=
"nav-link"
><span
class=
"icon-pencil"
></span>
Registracija
</a></li>
<li
sec:authorize=
"isAuthenticated()"
class=
"nav-item cta"
><a
href=
"dodaj"
class=
"nav-link ml-lg-2"
><span
class=
"icon-user"
></span>
Dodaj Oglas
</a></li>
<li
sec:authorize=
"isAuthenticated()"
class=
"nav-item cta"
><a
href=
"/logout"
class=
"nav-link ml-lg-2"
><span
class=
"icon-user"
></span>
Log Out
</a></li>
<!--sec:authorize="isAuthenticated()-->
</ul>
</div>
</div>
</nav>
<!-- END nav -->
<!-- create navigation bar ( header) -->
<!-- create navigation bar ( header) -->
<nav
class=
"navbar navbar-inverse navbar-fixed-top"
>
<nav
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle collapsed"
data-toggle=
"collapse"
data-target=
"#navbar"
aria-expanded=
"false"
aria-controls=
"navbar"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
href=
"#"
th:href=
"@{/}"
>
Login
</a>
</div>
</div>
</div>
</div>
</nav>
</nav>
...
@@ -80,5 +133,44 @@
...
@@ -80,5 +133,44 @@
</div>
</div>
</div>
</div>
</div>
</div>
<footer
class=
"ftco-footer ftco-bg-dark ftco-section"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-12 text-center"
>
<p>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright
©
<script>
document
.
write
(
new
Date
().
getFullYear
());
</script>
Sva prava zadržana |
</i>
by
<a
target=
"_blank"
>
TIM 10
</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
</div>
</div>
</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
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>
</html>
\ No newline at end of file
src/main/resources/templates/property.html
View file @
0f9867f3
...
@@ -94,137 +94,17 @@
...
@@ -94,137 +94,17 @@
<div
class=
"col-md-12 search-wrap"
>
<div
class=
"col-md-12 search-wrap"
>
<h2
class=
"heading h5 d-flex align-items-center pr-4"
><span
class=
"ion-ios-search mr-3"
></span>
Search Property
</h2>
<h2
class=
"heading h5 d-flex align-items-center pr-4"
><span
class=
"ion-ios-search mr-3"
></span>
Search Property
</h2>
<form
action=
"#"
class=
"search-property"
>
<form
action=
"#"
class=
"search-property"
>
<div
class=
"row"
>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Keyword
</label>
<div
class=
"form-field"
>
<div
class=
"icon"
><span
class=
"icon-my_location"
></span></div>
<input
type=
"text"
class=
"form-control"
placeholder=
"Keyword"
>
</div>
</div>
</div>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Location
</label>
<div
class=
"form-field"
>
<div
class=
"icon"
><span
class=
"icon-my_location"
></span></div>
<input
type=
"text"
class=
"form-control"
placeholder=
"City/Locality Name"
>
</div>
</div>
</div>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Property Type
</label>
<div
class=
"form-field"
>
<div
class=
"select-wrap"
>
<div
class=
"icon"
><span
class=
"ion-ios-arrow-down"
></span></div>
<select
name=
""
id=
""
class=
"form-control"
>
<option
value=
""
>
Type
</option>
<option
value=
""
>
Commercial
</option>
<option
value=
""
>
- Office
</option>
<option
value=
""
>
Residential
</option>
<option
value=
""
>
Villa
</option>
<option
value=
""
>
Condominium
</option>
<option
value=
""
>
Apartment
</option>
</select>
</div>
</div>
</div>
</div>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Property Status
</label>
<div
class=
"form-field"
>
<div
class=
"select-wrap"
>
<div
class=
"icon"
><span
class=
"ion-ios-arrow-down"
></span></div>
<select
name=
""
id=
""
class=
"form-control"
>
<option
value=
""
>
Type
</option>
<option
value=
""
>
Rent
</option>
<option
value=
""
>
Sale
</option>
</select>
</div>
</div>
</div>
</div>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Agents
</label>
<div
class=
"form-field"
>
<div
class=
"select-wrap"
>
<div
class=
"icon"
><span
class=
"ion-ios-arrow-down"
></span></div>
<select
name=
""
id=
""
class=
"form-control"
>
<option
value=
""
>
Any
</option>
<option
value=
""
>
Jonh Doe
</option>
<option
value=
""
>
Doe Mags
</option>
<option
value=
""
>
Kenny Scott
</option>
<option
value=
""
>
Emily Storm
</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md align-items-end"
>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Min Beds
</label>
<label
for=
"#"
>
Search
</label>
<div
class=
"form-field"
>
<div
class=
"select-wrap"
>
<div
class=
"icon"
><span
class=
"ion-ios-arrow-down"
></span></div>
<select
name=
""
id=
""
class=
"form-control"
>
<option
value=
""
>
1
</option>
<option
value=
""
>
2
</option>
<option
value=
""
>
3
</option>
<option
value=
""
>
4
</option>
<option
value=
""
>
5
</option>
</select>
</div>
</div>
</div>
</div>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Min Bathroom
</label>
<div
class=
"form-field"
>
<div
class=
"select-wrap"
>
<div
class=
"icon"
><span
class=
"ion-ios-arrow-down"
></span></div>
<select
name=
""
id=
""
class=
"form-control"
>
<option
value=
""
>
1
</option>
<option
value=
""
>
2
</option>
<option
value=
""
>
3
</option>
<option
value=
""
>
4
</option>
<option
value=
""
>
5
</option>
</select>
</div>
</div>
</div>
</div>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Min Price
</label>
<div
class=
"form-field"
>
<div
class=
"form-field"
>
<div
class=
"select-wrap"
>
<div
class=
"icon"
><span
class=
"icon-my_location"
></span></div>
<div
class=
"icon"
><span
class=
"ion-ios-arrow-down"
></span></div>
<input
id=
"search"
type=
"text"
class=
"form-control"
placeholder=
"Search"
>
<select
name=
""
id=
""
class=
"form-control"
>
<option
value=
""
>
Min Price
</option>
<option
value=
""
>
$1,000
</option>
<option
value=
""
>
$5,000
</option>
<option
value=
""
>
$10,000
</option>
<option
value=
""
>
$50,000
</option>
<option
value=
""
>
$100,000
</option>
<option
value=
""
>
$200,000
</option>
<option
value=
""
>
$300,000
</option>
<option
value=
""
>
$400,000
</option>
<option
value=
""
>
$500,000
</option>
<option
value=
""
>
$600,000
</option>
<option
value=
""
>
$700,000
</option>
<option
value=
""
>
$800,000
</option>
<option
value=
""
>
$900,000
</option>
<option
value=
""
>
$1,000,000
</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -232,51 +112,25 @@
...
@@ -232,51 +112,25 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Min Price
</label>
<label
for=
"#"
>
Min Price
</label>
<div
class=
"form-field"
>
<div
class=
"form-field"
>
<div
class=
"select-wrap"
>
<div
class=
"icon"
><span
class=
"ion-ios-arrow-down"
></span></div>
<select
name=
""
id=
""
class=
"form-control"
>
<option
value=
""
>
Min Price
</option>
<option
value=
""
>
$5,000
</option>
<option
value=
""
>
$10,000
</option>
<option
value=
""
>
$50,000
</option>
<option
value=
""
>
$100,000
</option>
<option
value=
""
>
$200,000
</option>
<option
value=
""
>
$300,000
</option>
<option
value=
""
>
$400,000
</option>
<option
value=
""
>
$500,000
</option>
<option
value=
""
>
$600,000
</option>
<option
value=
""
>
$700,000
</option>
<option
value=
""
>
$800,000
</option>
<option
value=
""
>
$900,000
</option>
<option
value=
""
>
$1,000,000
</option>
<option
value=
""
>
$2,000,000
</option>
</select>
</div>
</div>
</div>
</div>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Min Area
<span>
(sq ft)
</span></label>
<div
class=
"form-field"
>
<div
class=
"icon"
><span
class=
"icon-my_location"
></span></div>
<div
class=
"icon"
><span
class=
"icon-my_location"
></span></div>
<input
type=
"text"
class=
"form-control"
placeholder=
"Min Area
"
>
<input
id=
"min"
type=
"text"
class=
"form-control"
placeholder=
"Min Price
"
>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-md align-items-end"
>
<div
class=
"col-md align-items-end"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"#"
>
Max
Area
<span>
(sq ft)
</span>
</label>
<label
for=
"#"
>
Max
Price
</label>
<div
class=
"form-field"
>
<div
class=
"form-field"
>
<div
class=
"icon"
><span
class=
"icon-my_location"
></span></div>
<div
class=
"icon"
><span
class=
"icon-my_location"
></span></div>
<input
type=
"text"
class=
"form-control"
placeholder=
"Max Area
"
>
<input
id=
"max"
type=
"text"
class=
"form-control"
placeholder=
"Max Price
"
>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-md align-self-end"
>
<div
class=
"col-md align-self-end"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<div
class=
"form-field"
>
<div
class=
"form-field"
>
<input
type=
"submit"
value=
"Search"
class=
"form-control btn btn-primary"
>
<input
type=
"submit"
onclick=
"f()"
value=
"Search"
class=
"form-control btn btn-primary"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -328,48 +182,83 @@
...
@@ -328,48 +182,83 @@
<script
th:inline=
"javascript"
>
<script
th:inline=
"javascript"
>
let
oglasi
=
/*[[${oglasi}]]*/
[]
f
()
p
=
""
function
f
()
for
(
let
i
=
0
;
i
<
oglasi
.
length
;
i
++
)
{
{
s
=
"<div class=
\"
col-md-4 ftco-animate
\"
>"
+
search
=
document
.
getElementById
(
"search"
).
value
;
min
=
document
.
getElementById
(
"min"
).
value
;
max
=
document
.
getElementById
(
"max"
).
value
;
console
.
log
(
"min je "
,
+
typeof
(
min
))
let
a
=
parseInt
(
min
);
let
b
=
parseInt
(
max
);
let
oglasi
=
/*[[${oglasi}]]*/
[]
p
=
""
if
(
isNaN
(
a
))
a
=-
1
if
(
isNaN
(
b
))
b
=
9999999999999
for
(
let
i
=
0
;
i
<
oglasi
.
length
;
i
++
)
{
console
.
log
(
parseInt
(
oglasi
[
i
].
cena
),
a
,
parseInt
(
oglasi
[
i
].
cena
),
b
)
if
(
oglasi
[
i
].
ime
.
toLowerCase
().
includes
(
search
.
toLowerCase
())
&&
parseInt
(
oglasi
[
i
].
cena
)
>
a
&&
parseInt
(
oglasi
[
i
].
cena
)
<
b
)
{
s
=
"<div class=
\"
col-md-4 ftco-animate fadeInUp ftco-animated
\"
>"
+
"<div class=
\"
properties
\"
>"
+
"<div class=
\"
properties
\"
>"
+
"<a href=
\"
property-single.html
\"
class=
\"
img img-2 d-flex justify-content-center align-items-center
\"
style=
\"
background-image: url(http://localhost/"
+
oglasi
[
i
].
slika
+
");
\"
>"
+
"<a href=
\"
property-single.html
\"
class=
\"
img img-2 d-flex justify-content-center align-items-center
\"
style=
\"
background-image: url(http://localhost/"
+
oglasi
[
i
].
slika
+
");
\"
>"
+
"<div class=
\"
icon d-flex justify-content-center align-items-center
\"
>"
+
"<div class=
\"
icon d-flex justify-content-center align-items-center
\"
>"
+
"<span class=
\"
icon-search2
\"
></span>"
+
"<span class=
\"
icon-search2
\"
></span>"
+
"</div>"
+
"</div>"
+
"</a>"
+
"</a>"
+
"<div class=
\"
text p-3
\"
>"
+
"<div class=
\"
text p-3
\"
>"
+
"<span class=
\"
status sale
\"
>"
+
oglasi
[
i
].
tip
+
"</span>"
+
"<span class=
\"
status sale
\"
>"
+
oglasi
[
i
].
tip
+
"</span>"
+
"<div class=
\"
d-flex
\"
>"
+
"<div class=
\"
d-flex
\"
>"
+
"<div class=
\"
one
\"
>"
+
"<div class=
\"
one
\"
>"
+
"<h3><a href=
\"
property-single.html
\"
>"
+
oglasi
[
i
].
ime
+
"</a></h3>"
+
"<h3><a href=
\"
property-single.html
\"
>"
+
oglasi
[
i
].
ime
+
"</a></h3>"
+
"<p>"
+
oglasi
[
i
].
lokacija
+
"</p>"
+
"<p>"
+
oglasi
[
i
].
lokacija
+
"</p>"
+
"</div>"
+
"</div>"
+
"<div class=
\"
two
\"
>"
+
"<div class=
\"
two
\"
>"
+
"<span class=
\"
price
\"
>"
+
oglasi
[
i
].
cena
+
"$</span>"
+
"<span class=
\"
price
\"
>"
+
oglasi
[
i
].
cena
+
"$</span>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"<p>"
+
oglasi
[
i
].
opis
+
"<p>"
+
oglasi
[
i
].
opis
+
"</p>"
+
"<hr>"
+
"<hr>"
+
"<p class=
\"
bottom-area d-flex
\"
>"
+
"<p class=
\"
bottom-area d-flex
\"
>"
+
"<span><i class=
\"
flaticon-selection
\"
></i>"
+
oglasi
[
i
].
kvadratura
+
"</span>"
+
"<span><i class=
\"
flaticon-selection
\"
></i>"
+
oglasi
[
i
].
kvadratura
+
"</span>"
+
"<span class=
\"
ml-auto
\"
><i class=
\"
flaticon-bathtub
\"
></i> 3</span>"
+
"<span class=
\"
ml-auto
\"
><i class=
\"
flaticon-bathtub
\"
></i> 3</span>"
+
"<span><i class=
\"
flaticon-bed
\"
></i> 4</span>"
+
"<span><i class=
\"
flaticon-bed
\"
></i> 4</span>"
+
"</p>"
+
"</p>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"</div>"
"</div>"
p
+=
s
p
+=
s
}
}
}
//"
<
button
style
=
'visibility: hidden'
onclick
=
'ff("+i+")'
>
CLICK
ME
<
/button>"
+
// "
<
p
id
=
'id"+i+"'
style
=
'visibility: hidden'
>
"+oglasi[i].vlasnik_id+"
<
/p>"
+
x
=
document
.
getElementById
(
"oglasi"
)
x
=
document
.
getElementById
(
"oglasi"
)
x
.
innerHTML
=
p
console
.
log
(
"CEVU GLAVA"
)
}
console
.
log
(
x
)
function
ff
(
x
)
x
.
innerHTML
=
p
{
console
.
dir
(
document
.
getElementById
(
"id"
+
x
).
innerHTML
);
}
</script>
</script>
<script
src=
"js/jquery.min.js"
></script>
<script
src=
"js/jquery.min.js"
></script>
<script
src=
"js/jquery-migrate-3.0.1.min.js"
></script>
<script
src=
"js/jquery-migrate-3.0.1.min.js"
></script>
<script
src=
"js/popper.min.js"
></script>
<script
src=
"js/popper.min.js"
></script>
...
...
src/main/resources/templates/registration.html
View file @
0f9867f3
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html
xmlns:th=
"http://www.thymeleaf.org"
>
<head>
<head>
<meta
charset=
"ISO-8859-1"
>
<title>
Royal Estate - Free Bootstrap 4 Template by TIM
</title>
<title>
Registration
</title>
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity=
"sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
<link
href=
"https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700"
rel=
"stylesheet"
>
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"css/open-iconic-bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"css/animate.css"
>
<link
rel=
"stylesheet"
href=
"css/owl.carousel.min.css"
>
<link
rel=
"stylesheet"
href=
"css/owl.theme.default.min.css"
>
<link
rel=
"stylesheet"
href=
"css/magnific-popup.css"
>
<link
rel=
"stylesheet"
href=
"css/aos.css"
>
<link
rel=
"stylesheet"
href=
"css/ionicons.min.css"
>
<link
rel=
"stylesheet"
href=
"css/bootstrap-datepicker.css"
>
<link
rel=
"stylesheet"
href=
"css/jquery.timepicker.css"
>
<link
rel=
"stylesheet"
href=
"css/flaticon.css"
>
<link
rel=
"stylesheet"
href=
"css/icomoon.css"
>
<link
rel=
"stylesheet"
href=
"css/style.css"
>
</head>
</head>
<body>
<body>
<!-- create navigation bar ( header) -->
<nav
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"top"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<div
class=
"row d-flex align-items-center"
>
<button
type=
"button"
class=
"navbar-toggle collapsed"
<div
class=
"col"
>
data-toggle=
"collapse"
data-target=
"#navbar"
aria-expanded=
"false"
<p
class=
"social d-flex"
>
aria-controls=
"navbar"
>
<a
href=
"#"
><span
class=
"icon-facebook"
></span></a>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
<a
href=
"#"
><span
class=
"icon-twitter"
></span></a>
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
<a
href=
"#"
><span
class=
"icon-google"
></span></a>
class=
"icon-bar"
></span>
<a
href=
"#"
><span
class=
"icon-pinterest"
></span></a>
</button>
</p>
<a
class=
"navbar-brand"
href=
"#"
th:href=
"@{/}"
>
Registracija
</a>
</div>
</div>
<div
class=
"col d-flex justify-content-end"
>
<div
th:text=
"${#authentication.name}"
>
The value of the "name" property of the authentication object should appear here.
</div>
</div>
</div>
</nav>
</div>
</div>
</div>
<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=
"/"
>
AWESOME
<span>
lands
</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"
>
<span
class=
"oi oi-menu"
></span>
Menu
</button>
<div
class=
"collapse navbar-collapse"
id=
"ftco-nav"
>
<ul
class=
"navbar-nav ml-auto"
>
<li
class=
"nav-item active"
><a
href=
"/"
class=
"nav-link"
>
Pocetna strana
</a></li>
<li
class=
"nav-item"
><a
href=
"oglasi"
class=
"nav-link"
>
Oglasi
</a></li>
<li
class=
"nav-item"
><a
href=
"maintance"
class=
"nav-link"
>
Agenti
</a></li>
<li
class=
"nav-item"
><a
href=
"maintance"
class=
"nav-link"
>
O nama
</a></li>
<li
class=
"nav-item"
><a
href=
"maintance"
class=
"nav-link"
>
Kontakt
</a></li>
<li
sec:authorize=
"isAnonymous()"
class=
"nav-item cta"
><a
href=
"login"
class=
"nav-link ml-lg-2"
><span
class=
"icon-user"
></span>
Prijava
</a></li>
<li
sec:authorize=
"isAnonymous()"
class=
"nav-item cta cta-colored"
><a
href=
"registration"
class=
"nav-link"
><span
class=
"icon-pencil"
></span>
Registracija
</a></li>
<li
sec:authorize=
"isAuthenticated()"
class=
"nav-item cta"
><a
href=
"dodaj"
class=
"nav-link ml-lg-2"
><span
class=
"icon-user"
></span>
Dodaj Oglas
</a></li>
<li
sec:authorize=
"isAuthenticated()"
class=
"nav-item cta"
><a
href=
"/logout"
class=
"nav-link ml-lg-2"
><span
class=
"icon-user"
></span>
Log Out
</a></li>
<br>
<!--sec:authorize="isAuthenticated()-->
<br>
</ul>
</div>
</div>
</nav>
<!-- Create HTML registration form -->
<!-- Create HTML registration form -->
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -73,5 +123,44 @@
...
@@ -73,5 +123,44 @@
</div>
</div>
</div>
</div>
</div>
</div>
<footer
class=
"ftco-footer ftco-bg-dark ftco-section"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-12 text-center"
>
<p>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright
©
<script>
document
.
write
(
new
Date
().
getFullYear
());
</script>
Sva prava zadržana |
</i>
by
<a
target=
"_blank"
>
TIM 10
</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
</div>
</div>
</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
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>
</html>
\ No newline at end of file
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