Initial commit for combined ProjectKP
This commit is contained in:
@@ -0,0 +1,139 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="id">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Activity Reports</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
</head>
|
||||
|
||||
<body class="bg-gray-100 p-6">
|
||||
|
||||
<!-- HEADER -->
|
||||
<div class="flex justify-between items-center mb-6">
|
||||
<div>
|
||||
<h1 class="text-2xl font-bold text-blue-900">Laporan Aktivitas Pegawai</h1>
|
||||
<p class="text-gray-500">Manajemen dan pemantauan kinerja harian instansi</p>
|
||||
</div>
|
||||
|
||||
<button onclick="exportPDF()" class="bg-blue-800 text-white px-4 py-2 rounded-lg">
|
||||
Export PDF
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- FILTER -->
|
||||
<form method="GET" class="bg-white p-4 rounded-xl shadow mb-6 grid grid-cols-4 gap-4">
|
||||
|
||||
<input type="text" name="search"
|
||||
placeholder="Cari pegawai / aktivitas"
|
||||
class="border rounded-lg px-3 py-2">
|
||||
|
||||
<input type="date" name="tanggal"
|
||||
class="border rounded-lg px-3 py-2">
|
||||
|
||||
<select name="status" class="border rounded-lg px-3 py-2">
|
||||
<option>Semua</option>
|
||||
<option>Selesai</option>
|
||||
<option>Dalam Proses</option>
|
||||
<option>Menunggu</option>
|
||||
</select>
|
||||
|
||||
<button class="bg-blue-800 text-white rounded-lg px-4">
|
||||
Terapkan Filter
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- TABLE -->
|
||||
<div class="bg-white rounded-xl shadow overflow-hidden">
|
||||
<table class="w-full text-sm">
|
||||
<thead class="bg-gray-100">
|
||||
<tr>
|
||||
<th class="p-3 text-left">Nama</th>
|
||||
<th class="p-3 text-left">Aktivitas</th>
|
||||
<th class="p-3 text-left">Lokasi</th>
|
||||
<th class="p-3 text-left">Tanggal</th>
|
||||
<th class="p-3 text-left">Status</th>
|
||||
<th class="p-3 text-left">Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr class="border-t">
|
||||
<td class="p-3 flex items-center gap-3">
|
||||
<div class="w-8 h-8 bg-blue-200 rounded-full flex items-center justify-center text-xs font-bold">
|
||||
AS
|
||||
</div>
|
||||
Agus Setiawan
|
||||
</td>
|
||||
|
||||
<td class="p-3">Sosialisasi Ketenagakerjaan</td>
|
||||
<td class="p-3">Pontianak</td>
|
||||
<td class="p-3">24 Mei 2024</td>
|
||||
|
||||
<td class="p-3">
|
||||
<span class="bg-green-100 text-green-700 px-2 py-1 rounded-full text-xs">
|
||||
SELESAI
|
||||
</span>
|
||||
</td>
|
||||
|
||||
<td class="p-3">
|
||||
<button onclick="showDetail()" class="text-blue-700 font-semibold">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- SUMMARY -->
|
||||
<div class="grid grid-cols-3 gap-4 mt-6">
|
||||
|
||||
<div class="bg-white p-4 rounded-xl shadow">
|
||||
<p class="text-gray-500 text-sm">Total Selesai</p>
|
||||
<h2 class="text-2xl font-bold text-blue-900">86</h2>
|
||||
</div>
|
||||
|
||||
<div class="bg-white p-4 rounded-xl shadow">
|
||||
<p class="text-gray-500 text-sm">Dalam Antrian</p>
|
||||
<h2 class="text-2xl font-bold">38</h2>
|
||||
</div>
|
||||
|
||||
<div class="bg-red-50 p-4 rounded-xl shadow">
|
||||
<p class="text-red-500 text-sm">Urgent / Menunggu</p>
|
||||
<h2 class="text-2xl font-bold text-red-600">12</h2>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- MODAL -->
|
||||
<div id="modal" class="hidden fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center">
|
||||
<div class="bg-white p-6 rounded-xl w-96">
|
||||
<h2 class="text-xl font-bold mb-4">Detail Aktivitas</h2>
|
||||
|
||||
<p>Detail data pegawai...</p>
|
||||
|
||||
<button onclick="closeModal()" class="mt-4 bg-blue-800 text-white px-4 py-2 rounded">
|
||||
Tutup
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function showDetail(){
|
||||
document.getElementById('modal').classList.remove('hidden');
|
||||
}
|
||||
|
||||
function closeModal(){
|
||||
document.getElementById('modal').classList.add('hidden');
|
||||
}
|
||||
|
||||
function exportPDF(){
|
||||
alert('Export PDF diklik');
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user