Add project files.
This commit is contained in:
72
ConstructorAppUI/Views/Footer/Index.cshtml
Normal file
72
ConstructorAppUI/Views/Footer/Index.cshtml
Normal file
@@ -0,0 +1,72 @@
|
||||
@model List<ResultFooterDto>
|
||||
@{
|
||||
ViewData["Title"] = "Index";
|
||||
Layout = "~/Views/AdminLayout/Index.cshtml";
|
||||
}
|
||||
|
||||
<div class="content">
|
||||
<div class="container-fluid">
|
||||
<h4 class="page-title">Ana Sayfa Footer İş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">Logo</th>
|
||||
<th scope="col">Telefon</th>
|
||||
<th scope="col">E-Posta</th>
|
||||
<th scope="col">Facebook</th>
|
||||
<th scope="col">Instagram</th>
|
||||
<th scope="col">Linkedin</th>
|
||||
<th scope="col">Youtube</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>
|
||||
<img width="75" height="75" src="@item.LogoUrl" alt="Görsel" />
|
||||
</td>
|
||||
<td>@item.Phone</td>
|
||||
<td>@item.Mail</td>
|
||||
<td>@item.Facebook</td>
|
||||
<td>@item.Instagram</td>
|
||||
<td>@item.Linkedin</td>
|
||||
<td>@item.Youtube</td>
|
||||
<td>
|
||||
<a href="/Footer/UpdateFooter/@item.FooterID" class="btn btn-outline-success">Güncelle</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user