This commit is contained in:
zel
2025-02-10 16:50:57 +08:00
parent c4bdebd92c
commit 20ac0b5069
7 changed files with 21 additions and 21 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -6,11 +6,11 @@
} }
<h3> <h3>
Exception 异常明细
</h3> </h3>
<p> <p>
Server and page exception.<br /><br /> <br /><br />
</p> </p>
@if (!string.IsNullOrEmpty(Model.ErrorMessage)) @if (!string.IsNullOrEmpty(Model.ErrorMessage))
@@ -27,21 +27,21 @@
<table class="table fixedTable100 table-striped" border="0" cellspacing="0" cellpadding="0"> <table class="table fixedTable100 table-striped" border="0" cellspacing="0" cellpadding="0">
<tr><td><strong>Id</strong></td></tr> <tr><td><strong>Id</strong></td></tr>
<tr><td>@Model.Exception.Id</td></tr> <tr><td>@Model.Exception.Id</td></tr>
<tr><td><strong>Date / Time</strong></td></tr> <tr><td><strong>时间</strong></td></tr>
<tr><td>@Model.Exception.CreatedDate</td></tr> <tr><td>@Model.Exception.CreatedDate</td></tr>
@if (string.IsNullOrEmpty(Model.Exception.Text) == false) @if (string.IsNullOrEmpty(Model.Exception.Text) == false)
{ {
<tr><td><strong>Text</strong></td></tr> <tr><td><strong>异常</strong></td></tr>
<tr><td>@Model.Exception.Text</td></tr> <tr><td>@Model.Exception.Text</td></tr>
} }
@if (string.IsNullOrEmpty(Model.Exception.ExceptionText) == false) @if (string.IsNullOrEmpty(Model.Exception.ExceptionText) == false)
{ {
<tr><td><strong>Exception</strong></td></tr> <tr><td><strong>异常明细</strong></td></tr>
<tr><td>@Model.Exception.ExceptionText</td></tr> <tr><td>@Model.Exception.ExceptionText</td></tr>
} }
@if (string.IsNullOrEmpty(Model.Exception.StackTrace) == false) @if (string.IsNullOrEmpty(Model.Exception.StackTrace) == false)
{ {
<tr><td><strong>Stack Trace</strong></td></tr> <tr><td><strong>堆栈跟踪</strong></td></tr>
<tr><td>@Model.Exception.StackTrace</td></tr> <tr><td>@Model.Exception.StackTrace</td></tr>
} }
</table> </table>

View File

@@ -7,11 +7,11 @@
} }
<h3> <h3>
Exceptions 全局异常
</h3> </h3>
<p> <p>
Server and page exceptions.<br /><br /> <br /><br />
</p> </p>
@if (!string.IsNullOrEmpty(Model.ErrorMessage)) @if (!string.IsNullOrEmpty(Model.ErrorMessage))
@@ -24,8 +24,8 @@
} }
@Html.Raw(TightWiki.Library.ConfirmActionHelper.GenerateWarnLink(GlobalConfiguration.BasePath, @Html.Raw(TightWiki.Library.ConfirmActionHelper.GenerateWarnLink(GlobalConfiguration.BasePath,
"This will permanently purge all exceptions. Continue?", "这将永久清除所有异常. 继续吗?",
"Purge Exceptions", "/Admin/PurgeExceptions", Context.Request.Path.Value)) "清除所有异常", "/Admin/PurgeExceptions", Context.Request.Path.Value))
<br /> <br />
<br /> <br />
@@ -37,9 +37,9 @@
<thead> <thead>
<tr> <tr>
<td><strong><a href="?@QueryStringConverter.OrderHelper(sessionState, "Id")">Id</a></strong></td> <td><strong><a href="?@QueryStringConverter.OrderHelper(sessionState, "Id")">Id</a></strong></td>
<td><strong>Text</strong></td> <td><strong>异常</strong></td>
<td><strong>Exception</strong></td> <td><strong>异常明细</strong></td>
<td><strong><a href="?@QueryStringConverter.OrderHelper(sessionState, "CreatedDate")">Date/Time</a></strong></td> <td><strong><a href="?@QueryStringConverter.OrderHelper(sessionState, "CreatedDate")">时间</a></strong></td>
</tr> </tr>
</thead> </thead>
@@ -60,7 +60,7 @@
{ {
<div class="d-flex small text-muted mb-0"> <div class="d-flex small text-muted mb-0">
<strong> <strong>
The exception log is currently empty. 暂无异常
</strong> </strong>
</div> </div>
} }

View File

@@ -7,11 +7,11 @@
} }
<h3> <h3>
Missing Pages 丢失页
</h3> </h3>
<p> <p>
Pages that have been linked to, but do not exist.<br /><br /> 已链接但不存在的页面。.<br /><br />
</p> </p>
<td height="52" valign="middle" align="left"> <td height="52" valign="middle" align="left">
@@ -51,7 +51,7 @@
{ {
<div class="d-flex small text-muted mb-0"> <div class="d-flex small text-muted mb-0">
<strong> <strong>
There are currently no missing pages being referenced by other wiki pages. 暂无数据.
</strong> </strong>
</div> </div>
} }

View File

@@ -155,7 +155,7 @@
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Accounts">账号</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Accounts">账号</a>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Roles">角色</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Roles">角色</a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Config">配置</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Config">全局配置</a>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Emojis">Emojis</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Emojis">Emojis</a>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/MenuItems">站点菜单</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/MenuItems">站点菜单</a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
@@ -164,11 +164,11 @@
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Exceptions">异常</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Exceptions">异常</a>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Metrics">指标</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Metrics">指标</a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/DeletedPages">删除页</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/DeletedPages">删除页</a>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/MissingPages">丢失页</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/MissingPages">丢失页</a>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Moderate">页面说明</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Moderate">页面说明</a>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Namespaces">命名空间</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Namespaces">命名空间</a>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/OrphanedPageAttachments">独立附件</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/OrphanedPageAttachments">附件</a>
<a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Pages">页面</a> <a class="dropdown-item text-dark" href="@GlobalConfiguration.BasePath/Admin/Pages">页面</a>
} }
else if (sessionState.CanModerate == true) else if (sessionState.CanModerate == true)

View File

@@ -29,7 +29,7 @@
<div class="@cardClass"> <div class="@cardClass">
<div class="@cardHeaderClass"> <div class="@cardHeaderClass">
<strong>Are you sure???</strong> <strong>最后再确认一下</strong>
</div> </div>
<div class="card-body"> <div class="card-body">