diff --git a/软件系统浏览器模版/Views/Home/Index.cshtml b/软件系统浏览器模版/Views/Home/Index.cshtml index 32e1dd9..8810cc0 100644 --- a/软件系统浏览器模版/Views/Home/Index.cshtml +++ b/软件系统浏览器模版/Views/Home/Index.cshtml @@ -3,14 +3,14 @@ }
-

ASP.NET

-

ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.

-

Learn more »

+

C-S 软件系统架构设计框架

+

本框架是一个免费开源的框架系统,集成了C-S和B-S架构设计,采用了统一的模型机制,快速便捷的开发C-B-S混合系统,也可以选择中间的一个模式。

+

Learn more »

-

Getting started

+

准备开始

ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and gives you full control over markup diff --git a/软件系统浏览器模版/Views/Shared/_Layout.cshtml b/软件系统浏览器模版/Views/Shared/_Layout.cshtml index 8dd973f..daeca0f 100644 --- a/软件系统浏览器模版/Views/Shared/_Layout.cshtml +++ b/软件系统浏览器模版/Views/Shared/_Layout.cshtml @@ -17,7 +17,7 @@ - @Html.ActionLink("应用程序名称", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" }) + @Html.ActionLink(CommonLibrary.Resource.StringResouce.SoftName, "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })

diff --git a/软件系统浏览器模版/Views/Shared/_LoginPartial.cshtml b/软件系统浏览器模版/Views/Shared/_LoginPartial.cshtml index af72c5c..8dcb61c 100644 --- a/软件系统浏览器模版/Views/Shared/_LoginPartial.cshtml +++ b/软件系统浏览器模版/Views/Shared/_LoginPartial.cshtml @@ -1,4 +1,27 @@ - - \ No newline at end of file +@using 软件系统浏览器模版.Models +@using CommonLibrary + + +@{ + if (Session[SessionItemsDescription.UserAccount] == null) + { + + } + else + { + UserAccount user = Session[软件系统浏览器模版.Models.SessionItemsDescription.UserAccount] as UserAccount; + + using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" })) + { + @Html.AntiForgeryToken() + + + } + } +}