This commit is contained in:
@@ -23,15 +23,23 @@
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="card">
|
||||
@if (Model.Items.Count == 0)
|
||||
{
|
||||
<div class="card-body">
|
||||
@await Html.PartialAsync("_EmptyState", "블로그 글이 없습니다.")
|
||||
@if (Model.Items.Count == 0)
|
||||
{
|
||||
<div class="empty py-5 border rounded bg-body">
|
||||
<div class="empty-img">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-database-off" width="48" height="48" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M4 6c0 1.657 4.03 3 9 3s9-1.343 9-3-4.03-3-9-3-9 1.343-9 3"></path>
|
||||
<path d="M4 6v6c0 1.657 4.03 3 9 3s9-1.343 9-3V6"></path>
|
||||
<path d="M4 12v6c0 1.657 4.03 3 9 3s9-1.343 9-3v-6"></path>
|
||||
<path d="M3 3l18 18"></path>
|
||||
</svg>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<p class="empty-title">블로그 글이 없습니다.</p>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="card">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-vcenter card-table table-hover">
|
||||
<thead>
|
||||
@@ -65,8 +73,8 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user