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,58 @@
@model List<ResultCompanyInfoVideoDto>
@{
ViewData["Title"] = "Index";
Layout = "~/Views/AdminLayout/Index.cshtml";
}
<div class="content">
<div class="container-fluid">
<h4 class="page-title">Ana Sayfa Başarılarımız Viedo İş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">VideoUrl</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.VideoUrl</td>
<td>
<a href="/CompanyInfoVideo/UpdateCompanyInfoVideo/@item.CompanyInfoVideoID" class="btn btn-outline-success">Güncelle</a>
</td>
</tr>
}
}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,39 @@
@model UpdateCompanyInfoVideoDto
@{
ViewData["Title"] = "UpdateCompanyInfoVideo";
Layout = "~/Views/AdminLayout/Index.cshtml";
}
<div class="content">
<div class="container-fluid">
<h4 class="page-title">Ana Sayfa Başarılarımız Viedo İşlemleri</h4>
<div class="row">
<div class="col-md-12">
<form method="post">
<div class="card">
<div class="card-header">
<div class="card-title">Hakkımızda Viedo Güncelleme</div>
</div>
<input type="hidden" asp-for="CompanyInfoVideoID" />
<div class="card-body">
<div class="form-group row">
<label for="VideoUrl" class="col-md-2 col-form-label">VideoUrl</label>
<div class="col-md-10">
<input type="text" class="form-control" asp-for="VideoUrl" id="VideoUrl">
<span asp-validation-for="VideoUrl" class="text-danger"></span>
</div>
</div>
</div>
<div class="card-action">
<button class="btn btn-success">Kaydet</button>
<a href="/CompanyInfoVideo/Index/" class="btn btn-warning ml-2">Listeye Dön</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>