refactor(header): improve code formatting and add JSON response support

This commit is contained in:
2026-02-06 11:33:00 +07:00
parent 8232a36e71
commit e188eb4abe
4 changed files with 112 additions and 40 deletions

View File

@@ -38,7 +38,7 @@
<span class="badge bg-light text-dark border ms-2" style="font-size: 0.7rem;">External</span>
<% } %>
<% if (item.status === 'inactive') { %>
<span class="badge bg-soft-secondary ms-2">Inactive</span>
<span class="badge ms-2 bg-soft-danger text-danger">Inactive</span>
<% } else { %>
<span class="badge bg-soft-success ms-2">Active</span>
<% } %>