Add project files.

This commit is contained in:
2025-05-01 15:18:30 +03:00
parent e058ab8015
commit 774d695414
3094 changed files with 1336814 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
@model List<ResultContactUsDto>
@{
ViewData["Title"] = "Index";
Layout = "~/Views/AdminLayout/Index.cshtml";
int count = 0;
}
<div class="content">
<div class="container-fluid">
<h4 class="page-title">İletişim İş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">#</th>
<th scope="col">Tarih</th>
<th scope="col">Gönderen</th>
<th scope="col">E-Posta</th>
<th scope="col">Telefon</th>
<th scope="col">Mesaj</th>
<th scope="col">Durum</th>
<th scope="col">İşlemler</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model)
{
count++;
<tr>
<th>@count</th>
<td>@item.Date</td>
<td>@item.NameSurname</td>
<td>@item.Mail</td>
<td>@item.Phone</td>
<td>@item.MessageContent</td>
<td>
<span class="badge @(item.Status ? "bg-success text-white" : "bg-secondary text-white")">
@(item.Status ? "Okundu" : "Okunmadı")
</span>
</td>
<td>
<a href="/ContactUs/MarkAsRead/@item.ContactusID" class="btn btn-outline-info @(item.Status ? "disabled" : "")">Okundu</a>
</td>
</tr>
}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>