Normalize remaining admin list pages
TaxBaik CI/CD / build-and-deploy (push) Successful in 55s

This commit is contained in:
2026-07-09 16:29:40 +09:00
parent 91424bd8a2
commit a2e2064056
3 changed files with 71 additions and 63 deletions
@@ -38,31 +38,31 @@
</div> </div>
</form> </form>
<div class="card"> @if (Model.Items.Count == 0)
<div class="table-responsive"> {
<table class="table table-vcenter card-table table-hover"> <div class="card">
<thead> <div class="card-body">
<tr> @await Html.PartialAsync("_EmptyState", "검색 결과가 없습니다.")
<th>고객명</th> </div>
<th>회사명</th> </div>
<th>전화</th> }
<th>상태</th> else
<th>등록일</th> {
<th class="text-end">작업</th> <div class="card">
</tr> <div class="table-responsive">
</thead> <table class="table table-vcenter card-table table-hover">
<tbody> <thead>
@if (Model.Items.Count == 0)
{
<tr> <tr>
<td colspan="6"> <th>고객명</th>
@await Html.PartialAsync("_EmptyState", "검색 결과가 없습니다.") <th>회사명</th>
</td> <th>전화</th>
<th>상태</th>
<th>등록일</th>
<th class="text-end">작업</th>
</tr> </tr>
} </thead>
else <tbody>
{ @foreach (var item in Model.Items)
foreach (var item in Model.Items)
{ {
<tr> <tr>
<td class="fw-semibold">@item.Name</td> <td class="fw-semibold">@item.Name</td>
@@ -78,11 +78,11 @@
</td> </td>
</tr> </tr>
} }
} </tbody>
</tbody> </table>
</table> </div>
</div> </div>
</div> }
@await Html.PartialAsync("_Pagination", new TaxBaik.Web.Pages.Shared.PaginationModel(Model.CurrentPage, Model.TotalPages, Model.BuildPageUrl)) @await Html.PartialAsync("_Pagination", new TaxBaik.Web.Pages.Shared.PaginationModel(Model.CurrentPage, Model.TotalPages, Model.BuildPageUrl))
</section> </section>
@@ -4,20 +4,24 @@
<section class="admin-page-shell"> <section class="admin-page-shell">
@await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("CRM", "회사 관리", "고객사 회사를 관리합니다.", null, null)) @await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("CRM", "회사 관리", "고객사 회사를 관리합니다.", null, null))
<div class="card"> @if (Model.Items.Count == 0)
<div class="table-responsive"> {
<table class="table table-vcenter card-table"> <div class="card">
<thead> <div class="card-body">
<tr><th>코드</th><th>회사명</th><th>담당자</th><th>활성</th></tr> @await Html.PartialAsync("_EmptyState", "회사가 없습니다.")
</thead> </div>
<tbody> </div>
@if (Model.Items.Count == 0) }
{ else
<tr><td colspan="4">@await Html.PartialAsync("_EmptyState", "회사가 없습니다.")</td></tr> {
} <div class="card">
else <div class="table-responsive">
{ <table class="table table-vcenter card-table">
foreach (var item in Model.Items) <thead>
<tr><th>코드</th><th>회사명</th><th>담당자</th><th>활성</th></tr>
</thead>
<tbody>
@foreach (var item in Model.Items)
{ {
<tr> <tr>
<td>@item.CompanyCode</td> <td>@item.CompanyCode</td>
@@ -26,11 +30,11 @@
<td>@await Html.PartialAsync("_StatusBadge", item.IsActive ? "active" : "inactive")</td> <td>@await Html.PartialAsync("_StatusBadge", item.IsActive ? "active" : "inactive")</td>
</tr> </tr>
} }
} </tbody>
</tbody> </table>
</table> </div>
</div> </div>
</div> }
</section> </section>
@@ -4,20 +4,24 @@
<section class="admin-page-shell"> <section class="admin-page-shell">
@await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("Tax", "세무 프로필 관리", "고객별 세무 속성을 관리합니다.", null, null)) @await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("Tax", "세무 프로필 관리", "고객별 세무 속성을 관리합니다.", null, null))
<div class="card"> @if (Model.Items.Count == 0)
<div class="table-responsive"> {
<table class="table table-vcenter card-table"> <div class="card">
<thead> <div class="card-body">
<tr><th>고객ID</th><th>사업유형</th><th>세무위험</th><th>다음신고일</th></tr> @await Html.PartialAsync("_EmptyState", "세무 프로필이 없습니다.")
</thead> </div>
<tbody> </div>
@if (Model.Items.Count == 0) }
{ else
<tr><td colspan="4">@await Html.PartialAsync("_EmptyState", "세무 프로필이 없습니다.")</td></tr> {
} <div class="card">
else <div class="table-responsive">
{ <table class="table table-vcenter card-table">
foreach (var item in Model.Items) <thead>
<tr><th>고객ID</th><th>사업유형</th><th>세무위험</th><th>다음신고일</th></tr>
</thead>
<tbody>
@foreach (var item in Model.Items)
{ {
<tr> <tr>
<td>@item.ClientId</td> <td>@item.ClientId</td>
@@ -26,11 +30,11 @@
<td>@item.NextFilingDueDate?.ToString("yyyy-MM-dd")</td> <td>@item.NextFilingDueDate?.ToString("yyyy-MM-dd")</td>
</tr> </tr>
} }
} </tbody>
</tbody> </table>
</table> </div>
</div> </div>
</div> }
</section> </section>