Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OKU-GIS
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhamad
OKU-GIS
Commits
701e640b
Commit
701e640b
authored
Sep 30, 2021
by
Manggar Mahardhika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
30/092021 search jadi
parent
4958de4c
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2048 additions
and
31 deletions
+2048
-31
API/urls.py
API/urls.py
+4
-1
API/views.py
API/views.py
+325
-1
templates/includes/js-m.html
templates/includes/js-m.html
+3
-10
templates/includes/sidebar.html
templates/includes/sidebar.html
+7
-5
templates/layout/layout.html
templates/layout/layout.html
+1707
-12
templates/user/login.html
templates/user/login.html
+2
-2
No files found.
API/urls.py
View file @
701e640b
...
@@ -63,6 +63,9 @@ urlpatterns = [
...
@@ -63,6 +63,9 @@ urlpatterns = [
path
(
'edit-jalan-valid'
,
views
.
editjalanvalid
,
name
=
'edit-jalan-valid'
),
path
(
'edit-jalan-valid'
,
views
.
editjalanvalid
,
name
=
'edit-jalan-valid'
),
path
(
'3d-maps'
,
views
.
maps3d
,
name
=
'3d-maps'
),
path
(
'3d-maps'
,
views
.
maps3d
,
name
=
'3d-maps'
),
path
(
'deletejalan'
,
views
.
deletejalan
,
name
=
'hapus-jalan'
)
path
(
'deletejalan'
,
views
.
deletejalan
,
name
=
'hapus-jalan'
),
path
(
'search_spes'
,
views
.
search_spes
,
name
=
'search_spes'
),
path
(
'search_lanjut'
,
views
.
search_lanjut
,
name
=
'search_lanjut'
)
]
]
\ No newline at end of file
API/views.py
View file @
701e640b
This diff is collapsed.
Click to expand it.
templates/includes/js-m.html
View file @
701e640b
...
@@ -615,7 +615,6 @@
...
@@ -615,7 +615,6 @@
}
}
}
}
$
(
document
).
on
(
"
click
"
,
"
#btn_edit_adm
"
,
function
()
{
$
(
document
).
on
(
"
click
"
,
"
#btn_edit_adm
"
,
function
()
{
var
map_edit
=
L
.
map
(
'
map-for-edit
'
,
{
var
map_edit
=
L
.
map
(
'
map-for-edit
'
,
{
editable
:
true
,
editable
:
true
,
...
@@ -4573,13 +4572,10 @@
...
@@ -4573,13 +4572,10 @@
if
((
checkBox1
.
checked
==
true
)
||
(
checkBox2
.
checked
==
true
)
||
(
checkBox3
.
checked
==
true
)
||
(
checkBox4
.
checked
==
true
)
||
(
checkBox5
.
checked
==
true
)
||
(
checkBox6
.
checked
==
true
)
||
(
checkBox7
.
checked
==
true
)
||
(
checkBox8
.
checked
==
true
)
||
(
checkBox9
.
checked
==
true
)
||
(
checkBox10
.
checked
==
true
)
||
(
checkBox11
.
checked
==
true
)
||
(
checkBox12
.
checked
==
true
))
{
if
((
checkBox1
.
checked
==
true
)
||
(
checkBox2
.
checked
==
true
)
||
(
checkBox3
.
checked
==
true
)
||
(
checkBox4
.
checked
==
true
)
||
(
checkBox5
.
checked
==
true
)
||
(
checkBox6
.
checked
==
true
)
||
(
checkBox7
.
checked
==
true
)
||
(
checkBox8
.
checked
==
true
)
||
(
checkBox9
.
checked
==
true
)
||
(
checkBox10
.
checked
==
true
)
||
(
checkBox11
.
checked
==
true
)
||
(
checkBox12
.
checked
==
true
))
{
showlegend
()
showlegend
()
}
else
if
((
checkBox1
.
checked
==
false
)
&&
(
checkBox2
.
checked
==
false
)
&&
(
checkBox3
.
checked
==
false
)
&&
(
checkBox4
.
checked
==
false
)
&&
(
checkBox5
.
checked
==
false
)
&&
(
checkBox6
.
checked
==
false
)
&&
(
checkBox7
.
checked
==
false
)
&&
(
checkBox8
.
checked
==
false
)
&&
(
checkBox9
.
checked
==
false
)
&&
(
checkBox10
.
checked
==
false
)
&&
(
checkBox11
.
checked
==
false
)
&&
(
checkBox12
.
checked
==
false
))
{
}
else
if
((
checkBox1
.
checked
==
false
)
&&
(
checkBox2
.
checked
==
false
)
&&
(
checkBox3
.
checked
==
false
)
&&
(
checkBox4
.
checked
==
false
)
&&
(
checkBox5
.
checked
==
false
)
&&
(
checkBox6
.
checked
==
false
)
&&
(
checkBox7
.
checked
==
false
)
&&
(
checkBox8
.
checked
==
false
)
&&
(
checkBox9
.
checked
==
false
)
&&
(
checkBox10
.
checked
==
false
)
&&
(
checkBox11
.
checked
==
false
)
&&
(
checkBox12
.
checked
==
false
))
{
hidelegend
()
hidelegend
()
}
}
}
}
...
@@ -7277,13 +7273,10 @@
...
@@ -7277,13 +7273,10 @@
},
},
dataType
:
'
json
'
,
dataType
:
'
json
'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
console
.
log
(
data
)
var
data_all_kab
=
[]
var
data_all_kab
=
[]
for
(
var
i
=
0
;
i
<
data
[
'
result
'
].
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
data
[
'
result
'
].
length
;
i
++
)
{
var
data_id
=
data
[
'
result
'
][
i
][
0
];
var
data_id
=
data
[
'
result
'
][
i
][
0
];
var
data_po
=
data
[
'
result
'
][
i
][
1
];
var
data_po
=
data
[
'
result
'
][
i
][
1
];
console
.
log
(
data_id
)
console
.
log
(
data_po
)
var
data_kab
=
`<option value="`
+
data_id
+
`">`
+
data_po
+
`</option>`
;
var
data_kab
=
`<option value="`
+
data_id
+
`">`
+
data_po
+
`</option>`
;
data_all_kab
.
push
(
data_kab
)
data_all_kab
.
push
(
data_kab
)
};
};
...
@@ -7302,9 +7295,9 @@
...
@@ -7302,9 +7295,9 @@
}
}
var
map_edit
=
new
L
.
map
(
'
map-edit
'
,
{
var
map_edit
=
new
L
.
map
(
'
map-edit
'
,
{
editable
:
true
,
editable
:
true
,
zoomControl
:
false
,
zoomControl
:
false
,
drawControl
:
true
drawControl
:
true
}).
setView
([
-
2
,
118
],
5
);
}).
setView
([
-
2
,
118
],
5
);
mapss
=
L
.
tileLayer
(
'
https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
'
,
{
mapss
=
L
.
tileLayer
(
'
https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
'
,
{
...
...
templates/includes/sidebar.html
View file @
701e640b
...
@@ -29,11 +29,7 @@
...
@@ -29,11 +29,7 @@
<i
class=
"icon-pie-chart5"
></i>
<i
class=
"icon-pie-chart5"
></i>
</a>
</a>
</li>
</li>
<li
style=
"margin-top: 400px;position: absolute;"
>
<a
href=
"#"
id=
"btn-hide-all"
class=
"side-bar-but"
style=
"position: absolute;margin-top: 20px;"
>
<i
class=
"icon-arrow-right13"
></i>
</a>
</li>
</ul>
</ul>
...
@@ -49,6 +45,12 @@
...
@@ -49,6 +45,12 @@
</a>
</a>
</li>
</li>
<hr>
<hr>
<li>
<a
href=
"#"
id=
"btn-hide-all"
class=
"side-bar-but"
style=
"position: absolute;margin-top: 1px;"
>
<i
class=
"icon-arrow-right13"
></i>
</a>
</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
...
...
templates/layout/layout.html
View file @
701e640b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
templates/user/login.html
View file @
701e640b
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
</style>
</style>
</head>
</head>
<body
style=
"background-image:url('../../static/img/bglog.PNG'); width: 100%; height: 100%; background-position: center; background-repeat: no-repeat; background-size: cover;"
>
<body
style=
"background-image:url('../../static/img/bglog.PNG'); width: 100%; height: 100%; background-position: center; background-repeat: no-repeat; background-size: cover;
overflow-x: hidden;
"
>
<!-- <body style="background-color: gainsboro; width: 100%; height: 100%;"> -->
<!-- <body style="background-color: gainsboro; width: 100%; height: 100%;"> -->
<!-- <body> -->
<!-- <body> -->
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
</div>
</div>
<!-- <div class="background-image"></div> -->
<!-- <div class="background-image"></div> -->
<div>
<div>
<img
src=
"../../static/img/indonesia-ter.PNG"
alt=
"Image"
style=
"margin-top: 4%; margin-bottom: 3%; margin-left: 3
6%; width:1028
px; "
>
<img
src=
"../../static/img/indonesia-ter.PNG"
alt=
"Image"
style=
"margin-top: 4%; margin-bottom: 3%; margin-left: 3
8%; width:920
px; "
>
<span
style=
"margin-top: 5%; margin-left: 45%; -webkit-filter: drop-shadow(5px 5px 5px #222); filter: drop-shadow(5px 5px 5px #222); width: 362px; color:#ffffff; font-family: 'Montserrat', light;"
>
Fitur Teman-KU
</span>
<span
style=
"margin-top: 5%; margin-left: 45%; -webkit-filter: drop-shadow(5px 5px 5px #222); filter: drop-shadow(5px 5px 5px #222); width: 362px; color:#ffffff; font-family: 'Montserrat', light;"
>
Fitur Teman-KU
</span>
<img
src=
"../../static/img/Group_68.png"
alt=
"Image"
style=
"margin-top: 2%; margin-left: 45%; -webkit-filter: drop-shadow(5px 5px 5px #222); filter: drop-shadow(5px 5px 5px #222);"
>
<img
src=
"../../static/img/Group_68.png"
alt=
"Image"
style=
"margin-top: 2%; margin-left: 45%; -webkit-filter: drop-shadow(5px 5px 5px #222); filter: drop-shadow(5px 5px 5px #222);"
>
</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