183 lines
7.2 KiB
PHP
183 lines
7.2 KiB
PHP
<!-- PROFIL CS LOGIN -->
|
|
<div class="d-flex align-items-center justify-content-between p-3 border-bottom bg-light position-relative">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/50?img=12" class="rounded-circle me-3" alt="Profile CS">
|
|
<div>
|
|
<strong>Nama Customer Service</strong><br>
|
|
<small class="text-muted">Online</small>
|
|
</div>
|
|
</div>
|
|
<div class="dropdown">
|
|
<button class="btn btn-sm btn-light" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
|
|
<i class="fa-solid fa-ellipsis-vertical"></i>
|
|
</button>
|
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdownMenuButton">
|
|
<li><a class="dropdown-item" href="#">Profil</a></li>
|
|
<li><a class="dropdown-item" href="#">Pengaturan</a></li>
|
|
<li><hr class="dropdown-divider"></li>
|
|
<li><a class="dropdown-item text-danger" href="#">Logout</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- PENCARIAN CHAT -->
|
|
<div class="p-3 border-bottom bg-white">
|
|
<input type="text" class="form-control mb-2" placeholder="Cari atau mulai chat baru...">
|
|
|
|
<!-- Tombol Filter Stylish -->
|
|
<div class="d-flex justify-content-between mb-2 px-1">
|
|
<button class="btn btn-sm btn-outline-primary filter-btn active">Semua</button>
|
|
<button class="btn btn-sm btn-outline-primary filter-btn">Belum Dibaca</button>
|
|
<button class="btn btn-sm btn-outline-primary filter-btn">Group</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- DAFTAR CHAT -->
|
|
<ul class="list-group list-group-flush">
|
|
<!-- Belum dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/40" class="rounded-circle me-3" alt="Admin 1">
|
|
<div>
|
|
<strong>Admin 1</strong><br>
|
|
<small>Pesan terakhir...</small>
|
|
</div>
|
|
</div>
|
|
<span class="badge unread"></span>
|
|
</li>
|
|
|
|
<!-- Sudah dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/41" class="rounded-circle me-3" alt="Customer A">
|
|
<div>
|
|
<strong>Customer A</strong><br>
|
|
<small>Halo kak, saya mau tanya...</small>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<!-- Belum dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/42" class="rounded-circle me-3" alt="Customer B">
|
|
<div>
|
|
<strong>Customer B</strong><br>
|
|
<small>Ada info terbaru?</small>
|
|
</div>
|
|
</div>
|
|
<span class="badge unread"></span>
|
|
</li>
|
|
<!-- Belum dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/40" class="rounded-circle me-3" alt="Admin 1">
|
|
<div>
|
|
<strong>Admin 1</strong><br>
|
|
<small>Pesan terakhir...</small>
|
|
</div>
|
|
</div>
|
|
<span class="badge unread"></span>
|
|
</li>
|
|
|
|
<!-- Sudah dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/41" class="rounded-circle me-3" alt="Customer A">
|
|
<div>
|
|
<strong>Customer A</strong><br>
|
|
<small>Halo kak, saya mau tanya...</small>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<!-- Belum dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/42" class="rounded-circle me-3" alt="Customer B">
|
|
<div>
|
|
<strong>Customer B</strong><br>
|
|
<small>Ada info terbaru?</small>
|
|
</div>
|
|
</div>
|
|
<span class="badge unread"></span>
|
|
</li>
|
|
<!-- Belum dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/40" class="rounded-circle me-3" alt="Admin 1">
|
|
<div>
|
|
<strong>Admin 1</strong><br>
|
|
<small>Pesan terakhir...</small>
|
|
</div>
|
|
</div>
|
|
<span class="badge unread"></span>
|
|
</li>
|
|
|
|
<!-- Sudah dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/41" class="rounded-circle me-3" alt="Customer A">
|
|
<div>
|
|
<strong>Customer A</strong><br>
|
|
<small>Halo kak, saya mau tanya...</small>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<!-- Belum dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/42" class="rounded-circle me-3" alt="Customer B">
|
|
<div>
|
|
<strong>Customer B</strong><br>
|
|
<small>Ada info terbaru?</small>
|
|
</div>
|
|
</div>
|
|
<span class="badge unread"></span>
|
|
</li>
|
|
<!-- Belum dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/40" class="rounded-circle me-3" alt="Admin 1">
|
|
<div>
|
|
<strong>Admin 1</strong><br>
|
|
<small>Pesan terakhir...</small>
|
|
</div>
|
|
</div>
|
|
<span class="badge unread"></span>
|
|
</li>
|
|
|
|
<!-- Sudah dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/41" class="rounded-circle me-3" alt="Customer A">
|
|
<div>
|
|
<strong>Customer A</strong><br>
|
|
<small>Halo kak, saya mau tanya...</small>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<!-- Belum dibaca -->
|
|
<li class="list-group-item d-flex align-items-center justify-content-between hover-item">
|
|
<div class="d-flex align-items-center">
|
|
<img src="https://i.pravatar.cc/42" class="rounded-circle me-3" alt="Customer B">
|
|
<div>
|
|
<strong>Customer B</strong><br>
|
|
<small>Ada info terbaru?</small>
|
|
</div>
|
|
</div>
|
|
<span class="badge unread"></span>
|
|
</li>
|
|
</ul>
|
|
|
|
<script>
|
|
document.querySelectorAll('.filter-btn').forEach(btn => {
|
|
btn.addEventListener('click', function() {
|
|
document.querySelectorAll('.filter-btn').forEach(b => b.classList.remove('active'));
|
|
this.classList.add('active');
|
|
});
|
|
});
|
|
</script>
|