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,67 @@
@model List<ResultCompanyInfoDto>
@{
ViewData["Title"] = "Index";
Layout = "~/Views/AdminLayout/Index.cshtml";
int count = 0;
}
<div class="content">
<div class="container-fluid">
<h4 class="page-title">Ana Sayfa Başarılarımız İş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">Değer</th>
<th scope="col">Başlık</th>
<th scope="col">Alt Başlık</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)
{
count++;
<tr>
<td>@count</td>
<td>@item.Value</td>
<td>@item.Title</td>
<td>@item.SubTitle</td>
<td>
<a href="/CompanyInfo/UpdateCompanyInfo/@item.CompanyInfoID" class="btn btn-outline-success">Güncelle</a>
</td>
</tr>
}
}
</tbody>
</table>
<a asp-controller="CompanyInfoVideo" asp-action="Index" class="btn btn-success">Tanıtım Videosu Ekle</a>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,53 @@
@model UpdateCompanyInfoDto
@{
ViewData["Title"] = "UpdateCompanyInfo";
Layout = "~/Views/AdminLayout/Index.cshtml";
}
<div class="content">
<div class="container-fluid">
<h4 class="page-title">Ana Sayfa Başarılarımız İşlemleri</h4>
<div class="row">
<div class="col-md-12">
<form method="post">
<div class="card">
<div class="card-header">
<div class="card-title">Hizmet Güncelleme</div>
</div>
<input type="hidden" asp-for="CompanyInfoID" />
<div class="card-body">
<div class="form-group row">
<label for="Value" class="col-md-2 col-form-label">Değer</label>
<div class="col-md-10">
<input type="text" class="form-control" asp-for="Value" id="Value">
<span asp-validation-for="Value" class="text-danger"></span>
</div>
</div>
<div class="form-group row">
<label for="Title" class="col-md-2 col-form-label">Başlık</label>
<div class="col-md-10">
<input type="text" class="form-control" asp-for="Title" id="Title">
<span asp-validation-for="Title" class="text-danger"></span>
</div>
</div>
<div class="form-group row">
<label for="SubTitle" class="col-md-2 col-form-label">Alt Başlık</label>
<div class="col-md-10">
<input type="text" class="form-control" asp-for="SubTitle" id="SubTitle">
<span asp-validation-for="SubTitle" class="text-danger"></span>
</div>
</div>
</div>
<div class="card-action">
<button class="btn btn-success">Kaydet</button>
<a href="/CompanyInfo/Index/" class="btn btn-warning ml-2">Listeye Dön</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>