Files
2025-05-01 15:18:30 +03:00

55 lines
2.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@model List<ResultHomeBannerDto>
@{
ViewData["Title"] = "Index";
Layout = "~/Views/AdminLayout/Index.cshtml";
}
<div class="content">
<div class="container-fluid">
<h4 class="page-title">Ana Sayfa Banner İşlemleri</h4>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<table class="table table-head-bg-success table-striped table-hover">
<thead>
<tr>
<th scope="col">Başlık</th>
<th scope="col">Alt Başlık</th>
<th scope="col">Logo</th>
<th scope="col">İşlemler</th>
</tr>
</thead>
<tbody>
@if (Model == null || !Model.Any())
{
<tr>
<td colspan="3">Kayıt bulunamadı.</td>
</tr>
}
else
{
@foreach (var item in Model)
{
<tr>
<td>@item.Title</td>
<td>@item.SubTitle</td>
<td>
<img width="75" height="75" src="@item.LogoUrl" alt="Görsel1" />
</td>
<td><a href="/HomeBanner/UpdateHomeBanner/@item.HomeBannerID" class="btn btn-outline-success">Güncelle</a></td>
</tr>
}
}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>