Projects (GanjooRazor -> DiwanRazor, GanjoorService.sln -> DiwanService.sln), files, folders, classes, namespaces, settings, API routes (/api/diwan) and DB tables (Diwan*). External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed consistently (no pending model changes); requires a fresh database. Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
@page
|
|
@model DiwanRazor.Areas.Admin.Pages.PageDelModel
|
|
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
|
@{
|
|
Layout = "_AdminLayout";
|
|
ViewData["Title"] = "حذف صفحه";
|
|
}
|
|
|
|
<h1>@ViewData["Title"]</h1>
|
|
|
|
@if (!string.IsNullOrEmpty(Model.LastResult))
|
|
{
|
|
<p>
|
|
@Model.LastResult
|
|
</p>
|
|
<p>
|
|
<a role="button" href="/" class="actionlink">برگشت</a>
|
|
</p>
|
|
}
|
|
else
|
|
{
|
|
<table>
|
|
<tr>
|
|
<td colspan="2">
|
|
آیا از حذف @Model.PageInformation.FullTitle اطمینان دارید؟
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<form method="post" action="/Admin/PageDel?id=@Model.PageInformation.Id">
|
|
@Html.AntiForgeryToken()
|
|
<input type="submit" value="بله" />
|
|
</form>
|
|
</td>
|
|
<td>
|
|
<a role="button" href="/Admin/ModifyPage?id=@Model.PageInformation.Id" class="actionlink">خیر / برگشت</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
}
|
|
|