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
dc9fbddb
Commit
dc9fbddb
authored
Oct 04, 2021
by
Manggar Mahardhika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
minus - delete jalan - history bangunan
parent
f0d124c1
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
272 additions
and
131 deletions
+272
-131
templates/includes/js-m.html
templates/includes/js-m.html
+11
-7
templates/includes/js-o.html
templates/includes/js-o.html
+10
-1
templates/includes/sidebar.html
templates/includes/sidebar.html
+7
-5
templates/layout/layout.html
templates/layout/layout.html
+244
-118
No files found.
templates/includes/js-m.html
View file @
dc9fbddb
...
@@ -3863,8 +3863,8 @@
...
@@ -3863,8 +3863,8 @@
if
(
checkBox
.
checked
==
true
)
{
if
(
checkBox
.
checked
==
true
)
{
geo_po_cagar_budaya
.
addTo
(
map
)
geo_po_cagar_budaya
.
addTo
(
map
)
}
else
{
}
else
{
valket
()
geo_po_cagar_budaya
.
remove
()
geo_po_cagar_budaya
.
remove
()
valket
()
}
}
}
}
...
@@ -4200,11 +4200,10 @@
...
@@ -4200,11 +4200,10 @@
function
gl100
()
{
function
gl100
()
{
var
checkBox
=
document
.
getElementById
(
"
gardu
"
);
var
checkBox
=
document
.
getElementById
(
"
gardu
"
);
if
(
checkBox
.
checked
==
true
)
{
if
(
checkBox
.
checked
==
true
)
{
valket
()
geo_po_gardu_listrik
.
addTo
(
map
)
geo_po_gardu_listrik
.
addTo
(
map
)
}
else
{
}
else
{
valket
()
geo_po_gardu_listrik
.
remove
()
geo_po_gardu_listrik
.
remove
()
valket
()
}
}
}
}
...
@@ -6698,7 +6697,6 @@
...
@@ -6698,7 +6697,6 @@
</div>
</div>
<div class="modal-footer ">
<div class="modal-footer ">
<button type="button " class="btn btn-link " data-dismiss="modal ">Close</button>
<button type="button " id="btnsavebangunan" class="btn btn-info ">Save changes</button>
<button type="button " id="btnsavebangunan" class="btn btn-info ">Save changes</button>
</div>
</div>
</div>
</div>
...
@@ -7153,6 +7151,9 @@
...
@@ -7153,6 +7151,9 @@
},
1000
);
},
1000
);
loaderPage
(
false
);
loaderPage
(
false
);
$
(
"
#modal_bangunan_edit
"
).
modal
(
"
show
"
)
$
(
"
.modal_detail_non_kelurahan
"
).
modal
(
"
hide
"
)
map_edit
.
setView
([
data
[
'
geometry
'
][
'
coordinates
'
][
0
][
0
][
0
][
1
],
data
[
'
geometry
'
][
'
coordinates
'
][
0
][
0
][
0
][
0
]],
19
);
map_edit
.
setView
([
data
[
'
geometry
'
][
'
coordinates
'
][
0
][
0
][
0
][
1
],
data
[
'
geometry
'
][
'
coordinates
'
][
0
][
0
][
0
][
0
]],
19
);
let
lop_poly_edit
=
data
[
'
geometry
'
][
'
coordinates
'
][
0
][
0
];
let
lop_poly_edit
=
data
[
'
geometry
'
][
'
coordinates
'
][
0
][
0
];
...
@@ -7226,7 +7227,9 @@
...
@@ -7226,7 +7227,9 @@
icon
:
"
success
"
,
icon
:
"
success
"
,
confirmButtonColor
:
"
#00BCD4
"
confirmButtonColor
:
"
#00BCD4
"
},
function
()
{
},
function
()
{
$
(
"
#modal_bangunan_edit
"
).
css
(
'
display
'
,
'
none
'
);
// $("#modal_bangunan_edit").css('display', 'none');
$
(
"
#modal_bangunan_edit
"
).
modal
(
"
hide
"
)
// $(".modal_detail_non_kelurahan").modal("hide")
})
})
}
else
{
}
else
{
swal
({
swal
({
...
@@ -7265,7 +7268,8 @@
...
@@ -7265,7 +7268,8 @@
},
},
dataType
:
'
json
'
,
dataType
:
'
json
'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
$
(
"
#modal_bangunan_delete
"
).
modal
(
"
show
"
)
$
(
"
.modal_detail_non_kelurahan
"
).
modal
(
"
hide
"
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
map_delete
.
invalidateSize
();
map_delete
.
invalidateSize
();
},
1000
);
},
1000
);
...
@@ -7312,7 +7316,7 @@
...
@@ -7312,7 +7316,7 @@
icon
:
"
success
"
,
icon
:
"
success
"
,
confirmButtonColor
:
"
#00BCD4
"
confirmButtonColor
:
"
#00BCD4
"
},
function
()
{
},
function
()
{
$
(
"
#modal_bangunan_delete
"
).
css
(
'
display
'
,
'
none
'
);
$
(
"
#modal_bangunan_delete
"
).
modal
(
"
hide
"
)
})
})
}
else
{
}
else
{
swal
({
swal
({
...
...
templates/includes/js-o.html
View file @
dc9fbddb
...
@@ -2080,6 +2080,16 @@
...
@@ -2080,6 +2080,16 @@
</div>`
</div>`
}
}
$
(
"
.nama_keterangan
"
).
html
(
`
<div>
<span style="font-size: large;">
`
+
feature
.
properties
.
f2
+
`
</span>
</div>
<div>
<span></span>
</div>
`
)
$
(
"
.isi_keterangan
"
).
html
(
`
$
(
"
.isi_keterangan
"
).
html
(
`
<input type="text" name="idjalan" id="idjalan" class="hidden" value="">
<input type="text" name="idjalan" id="idjalan" class="hidden" value="">
...
@@ -2171,7 +2181,6 @@
...
@@ -2171,7 +2181,6 @@
$
(
'
#lebarjalan
'
).
val
(
feature
.
properties
.
f4
);
$
(
'
#lebarjalan
'
).
val
(
feature
.
properties
.
f4
);
$
(
'
#tipejalan
'
).
val
(
feature
.
properties
.
f5
);
$
(
'
#tipejalan
'
).
val
(
feature
.
properties
.
f5
);
$
(
"
#coordinatejalan
"
).
val
(
feature
.
geometry
);
$
(
"
#coordinatejalan
"
).
val
(
feature
.
geometry
);
}
}
});
});
...
...
templates/includes/sidebar.html
View file @
dc9fbddb
...
@@ -45,8 +45,8 @@
...
@@ -45,8 +45,8 @@
</li>
</li>
<hr>
<hr>
<li>
<li>
<a
href=
"#"
id=
"btn-hide-all"
class=
"side-bar-but"
style=
"position: absolute;margin-top: 1px;"
>
<a
href=
"#"
id=
"btn-hide-all"
class=
"side-bar-but"
style=
"position: absolute;margin-top: 1px;
display: none;
"
>
<i
class=
"icon-arrow-
right13
"
></i>
<i
class=
"icon-arrow-
left12
"
></i>
</a>
</a>
</li>
</li>
...
@@ -995,20 +995,22 @@
...
@@ -995,20 +995,22 @@
});
});
$
(
"
#btn-hide-all
"
).
click
(
function
()
{
$
(
"
#btn-hide-all
"
).
click
(
function
()
{
$
(
"
#button_keterangan
"
).
removeClass
(
"
active
"
);
$
(
"
#button_keterangan
"
).
removeClass
(
"
active
"
);
$
(
"
#manage_perbaikan
"
).
removeClass
(
"
active
"
);
$
(
"
#manage_perbaikan
"
).
removeClass
(
"
active
"
);
$
(
"
#panel-sm
"
).
removeClass
(
"
active
"
);
$
(
"
#panel-sm
"
).
removeClass
(
"
active
"
);
$
(
"
#panel-sm2
"
).
removeClass
(
"
active
"
);
$
(
"
#panel-sm2
"
).
removeClass
(
"
active
"
);
$
(
this
).
css
(
'
display
'
,
'
none
'
);
$
(
this
).
removeClass
(
"
hid
"
);
$
(
this
).
removeClass
(
"
hid
"
);
});
});
$
(
"
#keterangan_button
"
).
click
(
function
()
{
$
(
"
#keterangan_button
"
).
click
(
function
()
{
$
(
"
#btn-hide-all
"
).
toggleClass
(
"
hid
"
)
$
(
"
#btn-hide-all
"
).
css
(
'
display
'
,
'
block
'
);
// $("#btn-hide-all").toggleClass("hid");
});
});
$
(
"
#perbaikan_manage
"
).
click
(
function
()
{
$
(
"
#perbaikan_manage
"
).
click
(
function
()
{
$
(
"
#btn-hide-all
"
).
toggleClass
(
"
hid
"
)
$
(
"
#btn-hide-all
"
).
css
(
'
display
'
,
'
block
'
);
// $("#btn-hide-all").toggleClass("hid");
});
});
function
gas_all
()
{
function
gas_all
()
{
...
...
templates/layout/layout.html
View file @
dc9fbddb
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