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
86c68770
Commit
86c68770
authored
Sep 23, 2021
by
Muhamad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create
parent
4958de4c
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1494 additions
and
747 deletions
+1494
-747
OKU/settings.py
OKU/settings.py
+4
-4
static/css/layout-style.css
static/css/layout-style.css
+7
-0
templates/includes/insert.html
templates/includes/insert.html
+3
-3
templates/includes/js-m.html
templates/includes/js-m.html
+234
-231
templates/includes/js-o.html
templates/includes/js-o.html
+764
-2
templates/includes/modal.html
templates/includes/modal.html
+88
-105
templates/layout/user_layout.html
templates/layout/user_layout.html
+394
-402
No files found.
OKU/settings.py
View file @
86c68770
...
@@ -85,10 +85,10 @@ DATABASES = {
...
@@ -85,10 +85,10 @@ DATABASES = {
'NAME'
:
'oku_gis_new'
,
'NAME'
:
'oku_gis_new'
,
'USER'
:
'postgres'
,
'USER'
:
'postgres'
,
'PASSWORD'
:
'khansia215758'
,
'PASSWORD'
:
'khansia215758'
,
#
'HOST': '30.10.20.102',
'HOST'
:
'30.10.20.102'
,
#
'PORT': '5432',
'PORT'
:
'5432'
,
'HOST'
:
'103.126.28.66'
,
#
'HOST': '103.126.28.66',
'PORT'
:
'8082'
,
#
'PORT': '8082',
}
}
}
}
...
...
static/css/layout-style.css
View file @
86c68770
...
@@ -199,6 +199,13 @@ body>div.page-container>div>div.sidebar.sidebar-main>div>img {
...
@@ -199,6 +199,13 @@ body>div.page-container>div>div.sidebar.sidebar-main>div>img {
transform
:
rotate
(
180deg
);
transform
:
rotate
(
180deg
);
}
}
#map-create-all
>
div
.leaflet-control-container
>
div
.leaflet-top.leaflet-left
>
div
:nth-child
(
2
)>
div
>
div
>
a
.leaflet-draw-draw-marker
{
margin-top
:
-20px
;
margin-left
:
-10px
;
width
:
40px
;
height
:
20px
;
}
@media
(
max-width
:
1025px
)
{
@media
(
max-width
:
1025px
)
{
.dock
{
.dock
{
position
:
absolute
;
position
:
absolute
;
...
...
templates/includes/insert.html
View file @
86c68770
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
map
.
openPopup
(
popup
);
map
.
openPopup
(
popup
);
$
(
"
#tipe_point
"
).
change
(
function
()
{
$
(
"
#tipe_point
"
).
change
(
function
()
{
var
tipe
=
$
(
this
).
val
();
var
tipe
=
$
(
this
).
val
();
$
.
ajax
({
$
.
ajax
({
url
:
"
{% url 'api:change-tipe' %}
"
,
url
:
"
{% url 'api:change-tipe' %}
"
,
...
@@ -309,7 +309,7 @@
...
@@ -309,7 +309,7 @@
for
(
var
i
=
0
;
i
<
data
[
'
result
'
].
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
data
[
'
result
'
].
length
;
i
++
)
{
var
data_k
=
data
[
'
result
'
][
i
][
0
];
var
data_k
=
data
[
'
result
'
][
i
][
0
];
console
.
log
(
data_k
)
console
.
log
(
data_k
)
var
data_kab
=
`<option value="`
+
data_k
+
`">`
+
data_k
+
`</option>`
;
var
data_kab
=
`<option value="`
+
data_k
+
`">`
+
data_k
+
`</option>`
;
data_all_kab
.
push
(
data_kab
)
data_all_kab
.
push
(
data_kab
)
};
};
$
(
'
#tipe_point_2_b
'
).
html
(
`<option value="null" selected disabled>-- Pilih Tipe Point --</option>`
+
data_all_kab
);
$
(
'
#tipe_point_2_b
'
).
html
(
`<option value="null" selected disabled>-- Pilih Tipe Point --</option>`
+
data_all_kab
);
...
@@ -334,7 +334,7 @@
...
@@ -334,7 +334,7 @@
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
];
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
)
};
};
$
(
'
#tipe_point_3_b
'
).
html
(
`<option value="null" selected disabled>-- Pilih Point --</option>`
+
data_all_kab
);
$
(
'
#tipe_point_3_b
'
).
html
(
`<option value="null" selected disabled>-- Pilih Point --</option>`
+
data_all_kab
);
...
...
templates/includes/js-m.html
View file @
86c68770
This diff is collapsed.
Click to expand it.
templates/includes/js-o.html
View file @
86c68770
This diff is collapsed.
Click to expand it.
templates/includes/modal.html
View file @
86c68770
...
@@ -320,111 +320,6 @@
...
@@ -320,111 +320,6 @@
<div
class=
"modal fade"
id=
"modal_tampak"
>
<div
class=
"modal fade"
id=
"modal_tampak"
>
</div>
</div>
<div
id=
"modal_point"
class=
"modal fade"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header bg-info"
style=
"background-color: #40777c;"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
>
×
</button>
<h6
class=
"modal-title"
>
Insert Point
</h6>
</div>
<input
type=
"text"
name=
"poly_create_point"
class=
"hidden"
id=
"poly_create_point"
value=
""
>
<div
class=
"modal-body"
style=
"max-height: 450px;overflow-y: auto;"
>
<div
class=
"row"
style=
"margin-top: 15px;"
>
<div
class=
"form-group"
>
<label
class=
"col-lg-3 control-label"
style=
"margin-top:10px"
>
Image
</label>
<div
class=
"col-lg-9"
style=
"margin-top:10px"
>
<input
type=
"file"
id=
"gambar_pitik"
name=
"images[]"
multiple
accept=
"image/jpg,image/png,image/jpeg,image/gif"
>
</div>
</div>
</div>
<div
class=
"row"
style=
"margin-top: 15px;"
>
<div
class=
"form-group"
>
<label
class=
"col-lg-3 control-label lbl-top"
style=
"margin-top: 15px;"
>
Nama Point
</label>
<div
class=
"col-lg-9"
>
<input
id=
"name_create_point"
type=
"text"
class=
"form-control"
value=
""
required
>
</div>
</div>
</div>
<div
class=
"row"
style=
"margin-top: 15px;"
>
<div
class=
"form-group"
>
<label
class=
"col-lg-3 control-label lbl-top"
style=
"margin-top: 15px;"
>
Jenis Point
</label>
<div
class=
"col-lg-9"
>
<select
style=
"border-bottom: 1px solid rgb(83, 83, 83) !important;"
id=
"tipe_point"
data-placeholder=
"select point.."
class=
"select-size-md"
>
<option
value=
"null"
selected
disabled
>
-- Pilih Jenis Point --
</option>
<option
value=
"kantor_administrasi"
>
Kantor Administrasi
</option>
<option
value=
"layanan_kesehatan"
>
Layanan Kesehatan
</option>
<option
value=
"puskesmas"
>
Puskesmas
</option>
<option
value=
"rumah_sakit"
>
Rumah Sakit
</option>
<option
value=
"sarana_ibadah"
>
Sarana Ibadah
</option>
<option
value=
"sarana_pendidikan"
>
Sarana Pendidikan
</option>
<option
value=
"spbu"
>
SPBU
</option>
<option
value=
"stasiun"
>
Stasiun
</option>
<option
value=
"terminal_bus"
>
Terminal Bus
</option>
<option
value=
"cagar_budaya"
>
Cagar Budaya dan Tempat Wisata
</option>
<option
value=
"gardu_listrik"
>
Gardu Listrik
</option>
</select>
</div>
</div>
</div>
<div
class=
"row"
style=
"margin-top: 15px;"
>
<div
class=
"form-group"
>
<label
class=
"col-lg-3 control-label lbl-top"
style=
"margin-top: 15px;"
>
Tipe Point
</label>
<div
class=
"col-lg-9"
>
<select
style=
"border-bottom: 1px solid rgb(83, 83, 83) !important;width: 220px;"
id=
"tipe_point_2"
data-placeholder=
"select point.."
class=
"select-size-md"
>
<option
value=
"null"
selected
disabled
>
-- Pilih Tipe Point --
</option>
</select>
</div>
</div>
</div>
<div
class=
"row"
style=
"margin-top: 15px;"
>
<div
class=
"form-group"
>
<label
class=
"col-lg-3 control-label lbl-top"
style=
"margin-top: 15px;"
>
Alamat
</label>
<div
class=
"col-lg-9"
>
<input
id=
"alamat_create_point"
type=
"text"
class=
"form-control"
value=
""
placeholder=
"cth : Jl. Contoh Rt 005/01 No.01"
required
>
</div>
</div>
</div>
<div
class=
"row"
style=
"margin-top: 15px;"
>
<div
class=
"form-group"
>
<label
class=
"col-lg-3 control-label lbl-top"
style=
"margin-top: 15px;"
>
Luas Tanah
</label>
<div
class=
"col-lg-6"
>
<input
id=
"luas_tanah_point"
type=
"text"
class=
"form-control"
value=
""
required
>
</div>
<div
class=
"col-lg-3"
>
<select
id=
"satuan_luas_tanah"
style=
"margin-top: 15px;"
>
<option>
m2
</option>
</select>
</div>
</div>
</div>
<div
class=
"row"
style=
"margin-top: 15px;"
>
<div
class=
"form-group"
>
<label
class=
"col-lg-3 control-label lbl-top"
style=
"margin-top: 15px;"
>
Pimpinan
</label>
<div
class=
"col-lg-9"
>
<input
id=
"pemilik_point"
type=
"text"
class=
"form-control"
value=
""
placeholder=
"cth : Ali Budiman, S.Si."
required
>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-link"
data-dismiss=
"modal"
>
Close
</button>
<button
type=
"button"
id=
"btnsavepoint"
class=
"btn btn-info"
>
Save
</button>
</div>
</div>
</div>
</div>
<div
class=
"modal fade"
id=
"modalsearch3d"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal fade"
id=
"modalsearch3d"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog modal-xs"
>
<div
class=
"modal-dialog modal-xs"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
...
@@ -685,4 +580,92 @@
...
@@ -685,4 +580,92 @@
</div>
</div>
</div>
</div>
</div>
<div
class=
"modal fade"
id=
"modal_option_create"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog modal-xs"
style=
"width: 350px;"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
Pilih jenis create
</h4>
</div>
<div
class=
"modal-body"
>
<fieldset>
<div
class=
"row"
>
<div
class=
"col-md-4 text-center"
>
<a
href=
"#"
class=
"btn btn_create_jalan"
>
<div>
<img
src=
"{% static 'img/icon-1/Vectorjalan.svg' %}"
alt=
""
style=
"width: 35px;
height: 35px;"
>
</div>
<div
style=
"margin-top: 10px;"
>
<span>
Jalan
</span>
</div>
</a>
</div>
<div
class=
"col-md-4 text-center"
>
<a
href=
"#"
class=
"btn btn_create_bangunan"
>
<div>
<img
src=
"{% static 'img/icon-1/Buildingsbangunan.svg' %}"
alt=
""
style=
"width: 35px;
height: 35px;"
>
</div>
<div
style=
"margin-top: 10px;"
>
<span>
Bangunan
</span>
</div>
</a>
</div>
<div
class=
"col-md-4 text-center"
>
<a
href=
"#"
class=
"btn btn_create_point"
>
<div>
<img
src=
"{% static 'img/icon-1/Vectorpoint.svg' %}"
alt=
""
style=
"width: 35px;
height: 35px;"
>
</div>
<div
style=
"margin-top: 10px;"
>
<span>
Point
</span>
</div>
</a>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<div
class=
"modal fade"
id=
"modal__create"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog modal-md"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h5
class=
"modal-title title-create"
>
Create
</h5>
</div>
<div
class=
"modal-body"
id=
"create_all"
>
<div
class=
"tabbable"
style=
"height:450px!important;width: 560px!important;"
>
<ul
class=
"nav nav-tabs nav-tabs-bottom nav-justified"
>
<li
onclick=
"changetabs(this)"
class=
"active"
><a
href=
".koordinatjalan"
data-toggle=
"tab"
class=
"tab_1"
>
Koordinat
</a></li>
<li
onclick=
"changetabs(this)"
><a
href=
"#informasi_create"
data-toggle=
"tab"
class=
"tab_2"
>
Informasi Jalan
</a></li>
</ul>
<div
class=
"tab-content"
>
<div
class=
"tab-pane active koordinatjalan"
id=
"koordinatjalan"
>
</div>
<div
class=
"tab-pane"
id=
"informasi_create"
>
</div>
</div>
</div>
<div
class=
"tombol_save_create"
>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
templates/layout/user_layout.html
View file @
86c68770
This diff is collapsed.
Click to expand it.
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