Commit 86a6dff1 authored by Manggar Mahardhika's avatar Manggar Mahardhika

layout awalan revisi

parent 86f32d88
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -183,6 +183,21 @@ background: none;border-color: transparent;"> ...@@ -183,6 +183,21 @@ background: none;border-color: transparent;">
</div> </div>
</div> </div>
<div class="tab-pane" id="bottom-tab2"> <div class="tab-pane" id="bottom-tab2">
<div class="row-bod row" style="border-bottom: 0.5pt solid #313649;color:white">
<!-- <div class="col-sm-1"></div> -->
<div class="col-sm-5">
<!-- <img src="{% static 'img/icon-1/Buildings.svg' %}" alt=""> -->
</div>
<div class="col-sm-2" style="margin-top: -2px!important;">
<div class="checkbox checkbox-switchery">
<label>
<input type="checkbox" class="switchery-custom" id="po_all" onclick="gas_all()">
</label>
</div>
</div>
<div class="col-sm-5" style="margin-bottom: 2px;margin-top: -8px;">
</div>
</div>
<div class="row-bod row" style="border-bottom: 0.5pt solid #313649;color:white"> <div class="row-bod row" style="border-bottom: 0.5pt solid #313649;color:white">
<div class="col-sm-1"></div> <div class="col-sm-1"></div>
<div class="col-sm-2"> <div class="col-sm-2">
...@@ -1346,15 +1361,13 @@ background: none;border-color: transparent;"> ...@@ -1346,15 +1361,13 @@ background: none;border-color: transparent;">
function gas_all() { function gas_all() {
var checkBox = document.getElementById("po_all"); var checkBox = document.getElementById("po_all");
if (checkBox.checked == true) { if (document.getElementById("po_all").checked == true) {
alert('hjk')
document.getElementById("knt_adm").checked = true; document.getElementById("knt_adm").checked = true;
document.getElementById("lyn_kes").checked = true; document.getElementById("lyn_kes").checked = true;
document.getElementById("pus").checked = true; document.getElementById("pus").checked = true;
document.getElementById("rusak").checked = true; document.getElementById("rusak").checked = true;
document.getElementById("ibdh").checked = true; document.getElementById("ibdh").checked = true;
document.getElementById("dididik").checked = true; document.getElementById("dididik").checked = true;
document.getElementById("pom_bengsin").checked = true;
document.getElementById("tasiun").checked = true; document.getElementById("tasiun").checked = true;
document.getElementById("caheum").checked = true; document.getElementById("caheum").checked = true;
document.getElementById("cabud").checked = true; document.getElementById("cabud").checked = true;
...@@ -1365,21 +1378,18 @@ background: none;border-color: transparent;"> ...@@ -1365,21 +1378,18 @@ background: none;border-color: transparent;">
rs() rs()
fiksi() fiksi()
didik() didik()
pom_mini()
sthall() sthall()
temanggung() temanggung()
cb100() cb100()
gl100() gl100()
valket()
} else if (checkBox.checked == false) { } else if (document.getElementById("po_all").checked == false) {
document.getElementById("knt_adm").checked = false; document.getElementById("knt_adm").checked = false;
document.getElementById("lyn_kes").checked = false; document.getElementById("lyn_kes").checked = false;
document.getElementById("pus").checked = false; document.getElementById("pus").checked = false;
document.getElementById("rusak").checked = false; document.getElementById("rusak").checked = false;
document.getElementById("ibdh").checked = false; document.getElementById("ibdh").checked = false;
document.getElementById("dididik").checked = false; document.getElementById("dididik").checked = false;
document.getElementById("pom_bengsin").checked = false;
document.getElementById("tasiun").checked = false; document.getElementById("tasiun").checked = false;
document.getElementById("caheum").checked = false; document.getElementById("caheum").checked = false;
document.getElementById("cabud").checked = false; document.getElementById("cabud").checked = false;
...@@ -1390,7 +1400,6 @@ background: none;border-color: transparent;"> ...@@ -1390,7 +1400,6 @@ background: none;border-color: transparent;">
rs() rs()
fiksi() fiksi()
didik() didik()
pom_mini()
sthall() sthall()
temanggung() temanggung()
cb100() cb100()
......
...@@ -144,6 +144,7 @@ ...@@ -144,6 +144,7 @@
<li><input type="hidden" value="bangunan" /><a href="#"><i class="icon-home4 text-muted text-size-base" style="color: #5A9AFB;"></i> Bangunan</a></li> <li><input type="hidden" value="bangunan" /><a href="#"><i class="icon-home4 text-muted text-size-base" style="color: #5A9AFB;"></i> Bangunan</a></li>
<li><input type="hidden" value="jalan" /><a href="#"><i class="icon-git-branch text-muted text-size-base" style="color: #5A9AFB;"></i> Jalan</a></li> <li><input type="hidden" value="jalan" /><a href="#"><i class="icon-git-branch text-muted text-size-base" style="color: #5A9AFB;"></i> Jalan</a></li>
<li><input type="hidden" value="point" /><a href="#"><i class="icon-location4 text-muted text-size-base" style="color: #5A9AFB;"></i> Point</a></li> <li><input type="hidden" value="point" /><a href="#"><i class="icon-location4 text-muted text-size-base" style="color: #5A9AFB;"></i> Point</a></li>
<li><input type="hidden" value="reset" /><a href="#"><i class="icon-reset text-muted text-size-base" style="color: #5A9AFB;"></i> Reset</a></li>
</ul> </ul>
</div> </div>
...@@ -151,6 +152,14 @@ ...@@ -151,6 +152,14 @@
<input type="text" id="input_search" class="form-control" placeholder="search..."> <input type="text" id="input_search" class="form-control" placeholder="search...">
<input type="text" id="input_search_id" class="form-control hidden"> <input type="text" id="input_search_id" class="form-control hidden">
<!-- <span class="input-group-btn" style="border-radius: 0px 10px 10px 0px; outline: none;">
<i class="icon-reset text-muted text-size-base" style="color:#3c4043;"></i>
</span> -->
<!-- <span class="input-group-btn">
<button type="submit" id="btn_search_spes" class="btn btn-primary " style="outline: none;">
<i class="icon-reset text-muted text-size-base" style="color: white;"></i>
</button>
</span> -->
<span class="input-group-btn"> <span class="input-group-btn">
<button type="submit" id="btn_search_spes" class="btn btn-primary " style="border-radius: 0px 10px 10px 0px; <button type="submit" id="btn_search_spes" class="btn btn-primary " style="border-radius: 0px 10px 10px 0px;
outline: none; outline: none;
...@@ -507,6 +516,8 @@ ...@@ -507,6 +516,8 @@
$("#pilihcari").html('<i class="icon-home4 text-muted text-size-base" style="color: #5A9AFB;"></i>') $("#pilihcari").html('<i class="icon-home4 text-muted text-size-base" style="color: #5A9AFB;"></i>')
} else if (dar == ' Jalan') { } else if (dar == ' Jalan') {
$("#pilihcari").html('<i class="icon-git-branch text-muted text-size-base" style="color: #5A9AFB;"></i>') $("#pilihcari").html('<i class="icon-git-branch text-muted text-size-base" style="color: #5A9AFB;"></i>')
}else if (dar == ' Reset') {
$("#pilihcari").html('')
} }
}); });
...@@ -847,6 +858,16 @@ ...@@ -847,6 +858,16 @@
geo_point.remove() geo_point.remove()
}); });
$('#search_spes li a').on('click', function() {
$('#input_search').val(null)
tes = $(this).text();
dar = tes
if (dar == ' Reset') {
geo_point.clearLayers();
geo_point.remove();
}
});
// $.ajax({ // $.ajax({
// url: "{% url 'api:search_lanjut' %}", // url: "{% url 'api:search_lanjut' %}",
// data: { // data: {
...@@ -1096,7 +1117,6 @@ ...@@ -1096,7 +1117,6 @@
<option value="rumah_sakit">Rumah Sakit</option> <option value="rumah_sakit">Rumah Sakit</option>
<option value="sarana_ibadah">Sarana Ibadah</option> <option value="sarana_ibadah">Sarana Ibadah</option>
<option value="sarana_pendidikan">Sarana Pendidikan</option> <option value="sarana_pendidikan">Sarana Pendidikan</option>
<option value="spbu">SPBU</option>
<option value="stasiun">Stasiun</option> <option value="stasiun">Stasiun</option>
<option value="terminal_bus">Terminal Bus</option> <option value="terminal_bus">Terminal Bus</option>
<option value="cagar_budaya">Cagar Budaya dan Tempat Wisata</option> <option value="cagar_budaya">Cagar Budaya dan Tempat Wisata</option>
...@@ -1359,7 +1379,7 @@ ...@@ -1359,7 +1379,7 @@
</div> </div>
</div> </div>
<p class="text-center" style="margin-top: 5px;"> <p class="text-center" style="margin-top: 5px;">
<a href="#" id="btn_perbaikan_bangunan-s" data-toggle="modal" data-target="#input_perbaikan_bang-s"><i>Input Perbaikan</i></a> <a href="#" id="btn_perbaikan_bangunan" data-toggle="modal" data-target="#input_perbaikan_bang-s"><i>Input Perbaikan</i></a>
</p> </p>
</th> </th>
</tr> </tr>
...@@ -1379,7 +1399,7 @@ ...@@ -1379,7 +1399,7 @@
<th id="history_panel"> <th id="history_panel">
<p class="text-center" style="margin-top: 10px;"><i>Belum Ada History</i></p> <p class="text-center" style="margin-top: 10px;"><i>Belum Ada History</i></p>
<p class="text-center" style="margin-top: 10px;"> <p class="text-center" style="margin-top: 10px;">
<a href="#" id="btn_perbaikan_bangunan-s" data-toggle="modal" data-target="#input_perbaikan_bang-s"><i>Input Perbaikan</i></a> <a href="#" id="btn_perbaikan_bangunan" data-toggle="modal" data-target="#input_perbaikan_bang-s"><i>Input Perbaikan</i></a>
</p> </p>
</th> </th>
</tr> </tr>
...@@ -1600,6 +1620,16 @@ ...@@ -1600,6 +1620,16 @@
geo_bangunan.remove() geo_bangunan.remove()
}); });
$('#search_spes li a').on('click', function() {
$('#input_search').val(null)
tes = $(this).text();
dar = tes
if (dar == ' Reset') {
geo_bangunan.clearLayers();
geo_bangunan.remove();
}
});
// geo_bangunan.clearLayers(); // geo_bangunan.clearLayers();
// geo_bangunan.remove(); // geo_bangunan.remove();
$.ajax({ $.ajax({
...@@ -1918,7 +1948,7 @@ ...@@ -1918,7 +1948,7 @@
}); });
$(document).on("click", "#btn_perbaikan_bangunan-s", function() { $(document).on("click", "#btn_perbaikan_bangunan", function() {
// $("#input_perbaikan_bang-s").css("display", "block"); // $("#input_perbaikan_bang-s").css("display", "block");
var map_bang = new L.map('map-insert-renov-bang-s', { var map_bang = new L.map('map-insert-renov-bang-s', {
editable: false, editable: false,
...@@ -2348,6 +2378,15 @@ ...@@ -2348,6 +2378,15 @@
geo_jalan.remove() geo_jalan.remove()
}); });
$('#search_spes li a').on('click', function() {
$('#input_search').val(null)
tes = $(this).text();
dar = tes
if (dar == ' Reset') {
geo_jalan.clearLayers();
geo_jalan.remove();
}
});
$.ajax({ $.ajax({
url: "{% url 'api:search_lanjut' %}", url: "{% url 'api:search_lanjut' %}",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment