diff --git a/Data/config.db b/Data/config.db index 5ae76fe..428a8a5 100644 Binary files a/Data/config.db and b/Data/config.db differ diff --git a/Data/deletedpages.db b/Data/deletedpages.db index 74dc57c..e888144 100644 Binary files a/Data/deletedpages.db and b/Data/deletedpages.db differ diff --git a/Data/pages.db b/Data/pages.db index 681d760..fbeaa6c 100644 Binary files a/Data/pages.db and b/Data/pages.db differ diff --git a/Data/statistics.db b/Data/statistics.db index 792aaae..14506f3 100644 Binary files a/Data/statistics.db and b/Data/statistics.db differ diff --git a/Data/users.db b/Data/users.db index cb59005..beb25f6 100644 Binary files a/Data/users.db and b/Data/users.db differ diff --git a/ZelWiki/Views/Admin/Database.cshtml b/ZelWiki/Views/Admin/Database.cshtml index a391edd..9e2292d 100644 --- a/ZelWiki/Views/Admin/Database.cshtml +++ b/ZelWiki/Views/Admin/Database.cshtml @@ -26,10 +26,10 @@
| Name | -Version | -Size | -Action | +库 | +版本 | +大小 | +操作 | @p.ModifiedByUserName | @p.ModifiedDate | - @Html.Raw(ConfirmActionHelper.GenerateDangerLink(GlobalConfiguration.BasePath, - $"即将删除 \"{p.Name}\" , 总共 {p.Revision} 个修订版和附件将移入删除队列无法恢复.继续吗?", - "删除", "/Admin/DeletePage/" + @p.Id, Context.Request.Path.Value)) + @if (sessionState.Role == Constants.Roles.Administrator) + { + @Html.Raw(ConfirmActionHelper.GenerateDangerLink(GlobalConfiguration.BasePath, + $"即将删除 \"{p.Name}\" , 总共 {p.Revision} 个修订版和附件将移入删除队列无法恢复.继续吗?", + "删除", "/Admin/DeletePage/" + @p.Id, Context.Request.Path.Value)) + } | } diff --git a/ZeltWiki.sln b/ZeltWiki.sln index 82ae24c..bd83ebe 100644 --- a/ZeltWiki.sln +++ b/ZeltWiki.sln @@ -60,6 +60,24 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "参考文献", "参考文 solution\参考文献\软件测试技术及其测试工具的研究与应用.pdf = solution\参考文献\软件测试技术及其测试工具的研究与应用.pdf EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "流程图", "流程图", "{03D13B05-0FB0-49F5-8F0E-BFD284653943}" + ProjectSection(SolutionItems) = preProject + solution\流程图\功能需求分析.vsdx = solution\流程图\功能需求分析.vsdx + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "角色", "角色", "{C7FC3840-EBAF-4095-835E-1D64E83150FD}" + ProjectSection(SolutionItems) = preProject + solution\流程图\角色\版主角色.png = solution\流程图\角色\版主角色.png + solution\流程图\角色\版主角色.vsdx = solution\流程图\角色\版主角色.vsdx + solution\流程图\角色\贡献者角色.png = solution\流程图\角色\贡献者角色.png + solution\流程图\角色\贡献者角色.vsdx = solution\流程图\角色\贡献者角色.vsdx + solution\流程图\角色\管理员角色.jpg = solution\流程图\角色\管理员角色.jpg + solution\流程图\角色\管理员角色.png = solution\流程图\角色\管理员角色.png + solution\流程图\角色\管理员角色.vsdx = solution\流程图\角色\管理员角色.vsdx + solution\流程图\角色\用户角色.png = solution\流程图\角色\用户角色.png + solution\流程图\角色\用户角色.vsdx = solution\流程图\角色\用户角色.vsdx + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -141,6 +159,8 @@ Global {ED4F5B2D-B3C4-435B-811A-25AB4C7259DF} = {E877E5D9-BD3A-486A-ABA6-B890133D5220} {A4B6DA90-0F22-4D31-8978-FAC0309092B1} = {B20FC982-E0BE-4893-A3B4-535C3E48EBE6} {E4AA920F-DB5E-4D0C-8B75-5E89F702C76F} = {6B58B907-FD64-4CC1-86B5-99EE38C6C473} + {03D13B05-0FB0-49F5-8F0E-BFD284653943} = {6B58B907-FD64-4CC1-86B5-99EE38C6C473} + {C7FC3840-EBAF-4095-835E-1D64E83150FD} = {03D13B05-0FB0-49F5-8F0E-BFD284653943} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {3299E570-76FA-4831-9150-C1CCF4CB50E0} diff --git a/solution/功能需求分析.vsdx b/solution/功能需求分析.vsdx deleted file mode 100644 index 942af7b..0000000 Binary files a/solution/功能需求分析.vsdx and /dev/null differ diff --git a/solution/论文.docx b/solution/论文.docx index 163db5e..78091bc 100644 Binary files a/solution/论文.docx and b/solution/论文.docx differ