Add project files.
This commit is contained in:
64
ConstructorAppUI/Views/Testimonial/UpdateTestimonial.cshtml
Normal file
64
ConstructorAppUI/Views/Testimonial/UpdateTestimonial.cshtml
Normal file
@@ -0,0 +1,64 @@
|
||||
@model UpdateTestimonialDto
|
||||
@{
|
||||
ViewData["Title"] = "UpdateTestimonial";
|
||||
Layout = "~/Views/AdminLayout/Index.cshtml";
|
||||
}
|
||||
|
||||
<div class="content">
|
||||
<div class="container-fluid">
|
||||
<h4 class="page-title">Müşteri Yorumları İşlemleri</h4>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="card-title">Yorum Güncelleme</div>
|
||||
</div>
|
||||
<input type="hidden" asp-for="TestimonialID" />
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label for="Name" class="col-md-2 col-form-label">Adı/Soyadı</label>
|
||||
<div class="col-md-10">
|
||||
<input type="text" class="form-control" asp-for="Name" id="Name">
|
||||
<span asp-validation-for="Name" class="text-danger"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="Title" class="col-md-2 col-form-label">Ünvanı</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="Comment" class="col-md-2 col-form-label">Yorum</label>
|
||||
<div class="col-md-10">
|
||||
<textarea rows="5" class="form-control" asp-for="Comment" id="Comment"></textarea>
|
||||
<span asp-validation-for="Comment" class="text-danger"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="ImageFile" class="col-md-2 col-form-label">Görsel</label>
|
||||
<div class="col-md-10">
|
||||
<input type="file" class="form-control" name="ImageFile" id="ImageFile">
|
||||
@if (!string.IsNullOrEmpty(Model.ImageUrl))
|
||||
{
|
||||
<img src="@Model.ImageUrl" alt="Görsel" class="img-fluid mt-2" style="width: 100px; height: 100px;">
|
||||
}
|
||||
</div>
|
||||
<span class="badge badge-danger">Görsel Boyutu 80x80 olmaldır.</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<button class="btn btn-success">Kaydet</button>
|
||||
<a href="/Testimonial/Index/" class="btn btn-warning ml-2">Listeye Dön</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user