169 lines
4.2 KiB
HTML
169 lines
4.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="id">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Detail Permohonan TPS</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
|
|
<style>
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: 'Open Sans', sans-serif;
|
|
background-color: #f5f5f5;
|
|
padding: 20px;
|
|
color: #222;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
background-color: #fff;
|
|
padding: 30px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
|
|
max-width: 500px;
|
|
width: 100%;
|
|
}
|
|
|
|
.back-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
margin-bottom: 20px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 20px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
p.sub {
|
|
font-size: 13px;
|
|
color: #888;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.detail {
|
|
font-size: 14px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.detail span {
|
|
font-weight: 600;
|
|
display: inline-block;
|
|
width: 140px;
|
|
}
|
|
|
|
.document-link {
|
|
margin: 16px 0 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.document-link a {
|
|
color: #3498db;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.checkbox-group {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.checkbox-group label {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.actions {
|
|
margin-top: 30px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.btn {
|
|
flex: 1 1 200px;
|
|
padding: 14px;
|
|
font-size: 14px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn.reject {
|
|
background: #fff;
|
|
color: #e74c3c;
|
|
border: 2px solid #e74c3c;
|
|
}
|
|
|
|
.btn.approve {
|
|
background: #e74c3c;
|
|
color: #fff;
|
|
border: none;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.actions {
|
|
flex-wrap: nowrap;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<button class="back-btn" onclick="history.back()">←</button>
|
|
|
|
<h2>TPS Tujuan</h2>
|
|
<p class="sub">Berikut adalah informasi pengajuan pemindahan TPS dari masyarakat</p>
|
|
|
|
<div class="detail"><span>Provinsi</span>: Jawa Timur</div>
|
|
<div class="detail"><span>Kabupaten / Kota</span>: Kabupaten Banyuwangi</div>
|
|
<div class="detail"><span>Kecamatan</span>: Siliragung</div>
|
|
<div class="detail"><span>Desa / Kelurahan</span>: Kesilir</div>
|
|
<div class="detail"><span>RW</span>: 001</div>
|
|
<div class="detail"><span>RT</span>: 002</div>
|
|
<div class="detail"><span>Dok. Pendukung</span>: <a href="img/suketdom.jpeg" target="_blank">Lihat</a></div>
|
|
|
|
<div class="detail"><span>Nomor TPS</span>:
|
|
<select name="nomor_tps">
|
|
<option value="">Pilih Nomor TPS</option>
|
|
<option value="1">TPS 001</option>
|
|
<option value="2">TPS 002</option>
|
|
<option value="3">TPS 003</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="checkbox-group">
|
|
<label><input type="checkbox" name="surat_suara" value="presiden"> Pasangan Calon Presiden dan Wakil Presiden</label>
|
|
<label><input type="checkbox" name="surat_suara" value="dpd"> Anggota DPD</label>
|
|
<label><input type="checkbox" name="surat_suara" value="dpr_ri"> Anggota DPR RI</label>
|
|
<label><input type="checkbox" name="surat_suara" value="dprd_prov"> Anggota DPRD Provinsi</label>
|
|
<label><input type="checkbox" name="surat_suara" value="dprd_kab"> Anggota DPRD Kabupaten/Kota</label>
|
|
</div>
|
|
|
|
<div class="actions">
|
|
<button class="btn reject" onclick="rejectRequest()">Tolak</button>
|
|
<button class="btn approve" onclick="approveRequest()">Terima</button>
|
|
</div>
|
|
|
|
<script>
|
|
function rejectRequest() {
|
|
alert('Data permohonan telah ditolak');
|
|
window.location.href = 'home-adhoc.html'; // Redirect to home-adhoc.html after rejection
|
|
}
|
|
|
|
function approveRequest() {
|
|
alert('Data permohonan telah disetujui');
|
|
window.location.href = 'home-adhoc.html'; // Redirect to home-adhoc.html after approval
|
|
}
|
|
</script>
|
|
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|