fix(qma): clean up empty state icons and typography in p2h views

This commit is contained in:
Ray1111-aa
2026-10-27 10:17:10 +07:00
parent a7e0ef74f1
commit 399147fe0f
2 changed files with 13 additions and 22 deletions
@@ -208,15 +208,14 @@
</tr>
@empty
<tr>
<td colspan="4" class="py-12 px-4 text-center text-slate-400">
<i class="fa-solid fa-clipboard-question text-3xl text-slate-300 mb-2 block"></i>
<p class="text-xs font-medium text-slate-600">Belum ada butir pertanyaan pada bagian ini.</p>
<td colspan="4" class="py-12 px-4 text-center">
<p class="text-xs font-bold text-slate-700">Belum ada butir pertanyaan pada bagian ini.</p>
<p class="text-[11px] text-slate-400 mt-0.5">Tambahkan butir pemeriksaan baru menggunakan tombol di bawah.</p>
<div class="mt-3">
<button type="button"
onclick="openAddItemModal('{{ addslashes($sectionName) }}')"
class="bg-[#1b5e20] hover:bg-[#144919] text-white px-3.5 py-2 rounded-xl text-xs font-bold inline-flex items-center space-x-1.5 transition shadow-sm cursor-pointer">
<i class="fa-solid fa-plus text-xs"></i>
<span>Tambah Pertanyaan Pertama</span>
<span>+ Tambah Pertanyaan Pertama</span>
</button>
</div>
</td>
@@ -239,9 +238,6 @@
@else
<!-- Keadaan Template Kosong -->
<div class="bg-white rounded-none sm:rounded-2xl border border-slate-200 p-12 text-center text-slate-400 shadow-xs">
<div class="w-16 h-16 bg-slate-100 text-slate-400 rounded-full flex items-center justify-center mx-auto mb-4 text-2xl">
<i class="fa-solid fa-clipboard-question"></i>
</div>
<h4 class="text-base font-bold text-slate-800">Belum Ada Butir Pertanyaan</h4>
<p class="text-xs text-slate-500 mt-1 max-w-md mx-auto">
Template checksheet ini belum memiliki butir pertanyaan. Tambahkan bagian/section dan butir pemeriksaan pertama untuk template ini.