@model TightWiki.Models.ViewModels.Admin.MissingPagesViewModel
@using TightWiki.Library
@using TightWiki.Models
@{
Layout = "/Views/Shared/_Layout.cshtml";
var sessionState = ViewData["SessionState"] as TightWiki.SessionState ?? throw new Exception("Wiki State Context cannot be null.");
}
丢失页
已链接但不存在的页面。.
@if (!string.IsNullOrEmpty(Model.ErrorMessage))
{
@Html.Raw(Model.ErrorMessage)
}
@if (!string.IsNullOrEmpty(Model.SuccessMessage))
{
@Html.Raw(Model.SuccessMessage)
}
@using (Html.BeginForm(null, null, FormMethod.Get, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" }))
{
@if (Model.Pages.Count > 0)
{
@Html.Raw(TightWiki.Library.PageSelectorGenerator.Generate(Context.Request.QueryString, Model.PaginationPageCount))
}
else
{
暂无数据.
}
}
|