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
6751c71a
Commit
6751c71a
authored
Dec 14, 2021
by
Manggar Mahardhika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
4d5698da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
880 additions
and
1 deletion
+880
-1
static/js/action.js
static/js/action.js
+430
-1
templates/includes/modal.html
templates/includes/modal.html
+450
-0
No files found.
static/js/action.js
View file @
6751c71a
...
@@ -852,11 +852,440 @@ function loadgroupbyid(id) {
...
@@ -852,11 +852,440 @@ function loadgroupbyid(id) {
}
else
{
}
else
{
}
}
}
}
});
});
}
}
function
gas_point_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
point_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
gl_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_gl_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_gl_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_gl_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
gl_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_gl_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_gl_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_gl_perm
"
).
checked
=
false
;
}
}
function
gas_k_adm_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
k_adm_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_k_adm_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_k_adm_perm
"
).
checked
=
false
;
}
}
function
gas_rs_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
rs_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_rs_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_rs_perm
"
).
checked
=
false
;
}
}
function
gas_puskes_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
puskes_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_puskes_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_puskes_perm
"
).
checked
=
false
;
}
}
function
gas_lakes_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
lakes_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_lakes_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_lakes_perm
"
).
checked
=
false
;
}
}
function
gas_si_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
si_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_si_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_si_perm
"
).
checked
=
false
;
}
}
function
gas_skul_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
skul_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_skul_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_skul_perm
"
).
checked
=
false
;
}
}
function
gas_st_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
st_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_st_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_st_perm
"
).
checked
=
false
;
}
}
function
gas_term_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
term_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_term_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_term_perm
"
).
checked
=
false
;
}
}
function
gas_cb_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
cb_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_cb_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_cb_perm
"
).
checked
=
false
;
}
}
function
gas_gl_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
gl_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_gl_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_gl_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_gl_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_gl_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_gl_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_gl_perm
"
).
checked
=
false
;
}
}
function
gas_bangunan_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
bangunan_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_bangunan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_bangunan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_bangunan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
perbaikan_bangunan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
tampak_3d_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_bangunan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_bangunan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_bangunan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
perbaikan_bangunan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
tampak_3d_perm
"
).
checked
=
false
;
}
}
function
gas_jalan_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
jalan_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
add_jalan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_jalan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_jalan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
perbaikan_jalan_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
add_jalan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_jalan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_jalan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
perbaikan_jalan_perm
"
).
checked
=
false
;
}
}
function
gas_lahan_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
lahan_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
edit_lahan_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
edit_lahan_perm
"
).
checked
=
false
;
}
}
function
gas_teritori_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
teritori_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
kelurahan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
kecamatan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_kelurahan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_kecamatan_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
kelurahan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
kecamatan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_kelurahan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_kecamatan_perm
"
).
checked
=
false
;
}
}
function
gas_kelurahan_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
kelurahan_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
edit_kelurahan_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
edit_kelurahan_perm
"
).
checked
=
false
;
}
}
function
gas_kecamatan_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
kecamatan_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
edit_kecamatan_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
edit_kecamatan_perm
"
).
checked
=
false
;
}
}
function
gas_all_perm
()
{
var
checkBox
=
document
.
getElementById
(
"
all_perm
"
);
if
(
checkBox
.
checked
==
true
)
{
document
.
getElementById
(
"
point_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_k_adm_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_rs_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_puskes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_lakes_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_si_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_skul_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_st_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_term_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_cb_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
gl_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_gl_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_gl_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_gl_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
bangunan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_bangunan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_bangunan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_bangunan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
perbaikan_bangunan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
tampak_3d_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
jalan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
add_jalan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_jalan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
delete_jalan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
perbaikan_jalan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
teritori_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
kelurahan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
kecamatan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_kelurahan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_kecamatan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
lahan_perm
"
).
checked
=
true
;
document
.
getElementById
(
"
edit_lahan_perm
"
).
checked
=
true
;
}
else
if
(
checkBox
.
checked
==
false
)
{
document
.
getElementById
(
"
point_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_k_adm_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_rs_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_puskes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_lakes_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_si_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_skul_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_st_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_term_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_cb_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
gl_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_gl_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_gl_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_gl_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
bangunan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_bangunan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_bangunan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_bangunan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
perbaikan_bangunan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
tampak_3d_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
jalan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
add_jalan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_jalan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
delete_jalan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
perbaikan_jalan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
teritori_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
kelurahan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
kecamatan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_kelurahan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_kecamatan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
lahan_perm
"
).
checked
=
false
;
document
.
getElementById
(
"
edit_lahan_perm
"
).
checked
=
false
;
}
}
var
map_poin_det
=
L
.
map
(
'
maps_detail_p
'
,
{
var
map_poin_det
=
L
.
map
(
'
maps_detail_p
'
,
{
editable
:
true
,
editable
:
true
,
zoomControl
:
false
,
zoomControl
:
false
,
...
...
templates/includes/modal.html
View file @
6751c71a
...
@@ -1846,6 +1846,456 @@
...
@@ -1846,6 +1846,456 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
group_use
>
<div
class=
"form-group"
style=
"margin-top: 20px !important;"
>
<label
class=
"col-lg-3 control-label lbl-top"
>
Group Permission
</label>
</div>
</div>
<div
class=
"row"
style=
"margin-top: 5px;"
>
<div
class=
"col-md-12"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"all_perm"
onclick=
"gas_all_perm()"
style=
"margin-top:2px;"
>
<span>
All Access
</span>
</label>
</div>
</div>
</div>
<div
class=
"row"
style=
"margin-top: 5px;"
>
<div
class=
"col-md-6"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"point_perm"
onclick=
"gas_point_perm()"
style=
"margin-top:2px;"
>
<img
src=
"/static/img/icon-1/Vectorteritory.svg"
alt=
""
style=
"margin-top: -5px;"
>
<span>
Point
</span>
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"k_adm_perm"
onclick=
"gas_k_adm_perm()"
style=
"margin-top:2px;"
>
Kantor Administrasi
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_k_adm_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Kantor Administrasi
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_k_adm_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Kantor Administrasi
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_k_adm_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Kantor Administrasi
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"rs_perm"
onclick=
"gas_rs_perm()"
style=
"margin-top:2px;"
>
Rumah Sakit
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_rs_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Rumah Sakit
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_rs_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Rumah Sakit
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_rs_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Rumah Sakit
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"puskes_perm"
onclick=
"gas_puskes_perm()"
style=
"margin-top:2px;"
>
Puskesmas
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_puskes_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Puskesmas
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_puskes_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Puskesmas
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_puskes_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Puskesmas
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"lakes_perm"
onclick=
"gas_lakes_perm()"
style=
"margin-top:2px;"
>
Layanan Kesehatan
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_lakes_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Layanan Kesehatan
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_lakes_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Layanan Kesehatan
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_lakes_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Layanan Kesehatan
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"si_perm"
onclick=
"gas_si_perm()"
style=
"margin-top:2px;"
>
Sarana Ibadah
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_si_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Sarana Ibadah
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_si_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Sarana Ibadah
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_si_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Sarana Ibadah
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"skul_perm"
onclick=
"gas_skul_perm()"
style=
"margin-top:2px;"
>
Sekolah
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_skul_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Sekolah
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_skul_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Sekolah
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_skul_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Sekolah
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"st_perm"
onclick=
"gas_st_perm()"
style=
"margin-top:2px;"
>
Stasiun
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_st_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Stasiun
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_st_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Stasiun
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_st_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Stasiun
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"term_perm"
onclick=
"gas_term_perm()"
style=
"margin-top:2px;"
>
Terminal
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_term_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Terminal
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_term_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Terminal
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_term_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Terminal
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"cb_perm"
onclick=
"gas_cb_perm()"
style=
"margin-top:2px;"
>
Cagar Budaya
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_cb_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Cagar Budaya
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_cb_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Cagar Budaya
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_cb_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Cagar Budaya
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"gl_perm"
onclick=
"gas_gl_perm()"
style=
"margin-top:2px;"
>
Gardu Listrik
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_gl_perm"
onclick=
""
style=
"margin-top:2px;"
>
Add Gardu Listrik
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_gl_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Gardu Listrik
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_gl_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Gardu Listrik
</label>
</div>
</ul>
</ul>
</div>
<div
class=
"col-md-6"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"bangunan_perm"
onclick=
"gas_bangunan_perm()"
style=
"margin-top:2px;"
>
<img
src=
"/static/img/icon-1/Buildingsbangunan.svg"
alt=
""
style=
"margin-top: -5px;"
>
<span>
Bangunan
</span>
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_bangunan_perm"
onclick=
""
style=
"margin-top:2px;"
>
<!-- class="active" checked="true" -->
Add Bangunan
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_bangunan_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Bangunan
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_bangunan_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Bangunan
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"perbaikan_bangunan_perm"
onclick=
""
style=
"margin-top:2px;"
>
Perbaikan Bangunan
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"tampak_3d_perm"
onclick=
""
style=
"margin-top:2px;"
>
Upload Tampak 3D
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"jalan_perm"
onclick=
"gas_jalan_perm()"
style=
"margin-top:2px;"
>
<img
src=
"/static/img/icon-1/Vectorjalan.svg"
alt=
""
style=
"margin-top: -5px;"
>
<span>
Jalan
</span>
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"add_jalan_perm"
onclick=
""
style=
"margin-top:2px;"
>
<!-- class="active" checked="true" -->
Add Jalan
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_jalan_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Jalan
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"delete_jalan_perm"
onclick=
""
style=
"margin-top:2px;"
>
Delete Jalan
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"perbaikan_jalan_perm"
onclick=
""
style=
"margin-top:2px;"
>
Perbaikan Jalan
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"lahan_perm"
onclick=
"gas_lahan_perm()"
style=
"margin-top:2px;"
>
<img
src=
"/static/img/icon-1/SquareHalflahan.svg"
alt=
""
style=
"margin-top: -5px;"
>
<span>
Lahan
</span>
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_lahan_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Lahan
</label>
</div>
<!-- <div class="checkbox">
<label>
<input type="checkbox" id="delete_lahan_perm" onclick="" style="margin-top:2px;">
Delete Lahan
</label>
</div> -->
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"teritori_perm"
onclick=
"gas_teritori_perm()"
style=
"margin-top:2px;"
>
<img
src=
"/static/img/icon-1/Vectorteritory.svg"
alt=
""
style=
"margin-top: -5px;"
>
<span>
Teritori
</span>
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"kelurahan_perm"
onclick=
"gas_kelurahan_perm()"
style=
"margin-top:2px;"
>
Kelurahan/Desa
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_kelurahan_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Kelurahan/Desa
</label>
</div>
</ul>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"kecamatan_perm"
onclick=
"gas_kecamatan_perm()"
style=
"margin-top:2px;"
>
Kecamatan
</label>
</div>
<ul
class=
"nasted active"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"edit_kecamatan_perm"
onclick=
""
style=
"margin-top:2px;"
>
Edit Kecamatan
</label>
</div>
</ul>
</ul>
</div>
</div>
</div>
</div>
<hr>
<hr>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
...
...
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