Add project files.

This commit is contained in:
Atakan Doğan Özban
2026-02-13 23:40:52 +01:00
parent cf37f33a1e
commit 202dc16a52
199 changed files with 98481 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
@model atakanozbancom.Models.classes.AdminMyProjectsEditVM
@{
ViewBag.Title = "Add New Project";
Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
<h2 class="text-white mt-3">Add New My Projects Post</h2>
@if (TempData["ok"] != null)
{<div class="alert alert-success">@TempData["ok"]</div>}
<br />
@using (Html.BeginForm("newmppost", "admin", FormMethod.Post,
new { enctype = "multipart/form-data" }))
{
@Html.AntiForgeryToken()
<div class="mb-3">
@Html.LabelFor(p => p.TitleEN, new { @class = "text-white" })
@Html.TextBoxFor(p => p.TitleEN, new { @class = "form-control bg-dark text-white" })
</div>
<div class="mb-3">
@Html.LabelFor(p => p.DescEN, new { @class = "text-white" })
@Html.TextAreaFor(p => p.DescEN, new { @class = "form-control bg-dark text-white" })
</div>
<div class="mb-3">
<label class="text-white">Project Image</label>
<input type="file" name="file" class="form-control bg-dark text-white" />
</div>
<div class="mb-3">
@Html.LabelFor(p => p.iframe, new { @class = "text-white" })
@Html.TextBoxFor(p => p.iframe, new { @class = "form-control bg-dark text-white" })
</div>
<h3 class="mt-3 text-white">Translation (TR)</h3>
<div class="mb-3">
@Html.LabelFor(p => p.TitleTR, new { @class = "text-white" })
@Html.TextBoxFor(p => p.TitleTR, new { @class = "form-control bg-dark text-white" })
</div>
<div class="mb-3">
@Html.LabelFor(p => p.DescTR, new { @class = "text-white" })
@Html.TextAreaFor(p => p.DescTR, new { @class = "form-control bg-dark text-white" })
</div>
<button class="btn btn-success">Save</button>
}