更新界面
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
|
||||
/* Set width on the form input elements since they're 100% wide by default */
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
select{
|
||||
max-width: 280px;
|
||||
}
|
||||
|
||||
@@ -51,5 +51,39 @@ namespace 软件系统浏览器模版.Controllers
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 版本号说明
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[AuthorizeUser]
|
||||
public ActionResult VersionInformation()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 一个错误的消息界面
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
/// <returns></returns>
|
||||
public ActionResult ErrorPage(string message)
|
||||
{
|
||||
ViewBag.Message = message;
|
||||
return View("Error");
|
||||
}
|
||||
|
||||
|
||||
//GET
|
||||
/// <summary>
|
||||
/// 获取意见反馈的界面
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[AuthorizeUser]
|
||||
public ActionResult AdviceFeedback()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
21
软件系统浏览器模版/Views/Home/AdviceFeedback.cshtml
Normal file
21
软件系统浏览器模版/Views/Home/AdviceFeedback.cshtml
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
@{
|
||||
ViewBag.Title = "意见反馈";
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h2>请在下方填写意见反馈,字数控制在1000字以内</h2>
|
||||
|
||||
|
||||
@using (Html.BeginForm("AdviceFeedback", "Home", FormMethod.Post))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="Advice">请输入建议</label>
|
||||
<textarea class="form-control" id="Advice" placeholder="建议,字数1000字以内"></textarea>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-default">Submit</button>
|
||||
}
|
||||
20
软件系统浏览器模版/Views/Home/VersionInformation.cshtml
Normal file
20
软件系统浏览器模版/Views/Home/VersionInformation.cshtml
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
@{
|
||||
ViewBag.Title = "关于版本号";
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h2>版本号说明<small>每个版本号的含义</small></h2>
|
||||
|
||||
<h3>当前的版本号为:V @ClientsLibrary.UserClient.CurrentVersion.ToString()</h3>
|
||||
|
||||
<dl class="dl-horizontal">
|
||||
<dt>@ClientsLibrary.UserClient.CurrentVersion.MainVersion</dt>
|
||||
<dd>程序的大版本号,一般是架构升级或是界面大调整。</dd>
|
||||
<dt>@ClientsLibrary.UserClient.CurrentVersion.SecondaryVersion</dt>
|
||||
<dd>程序的次版本号,一般是指软件功能升级或是界面小幅度调整。</dd>
|
||||
<dt>@ClientsLibrary.UserClient.CurrentVersion.EditVersion</dt>
|
||||
<dd>程序的修订版本号,一般是指常规的版本更新和BUG修复。</dd>
|
||||
<dt>@ClientsLibrary.UserClient.CurrentVersion.InnerVersion</dt>
|
||||
<dd>程序的内部版本号,用于内部开发使用。</dd>
|
||||
</dl>
|
||||
@@ -10,5 +10,9 @@
|
||||
<h1>错误。</h1>
|
||||
<h2>处理你的请求时出错。</h2>
|
||||
</hgroup>
|
||||
|
||||
<p>
|
||||
@ViewBag.Message
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
<ul class="dropdown-menu">
|
||||
<li>@Html.ActionLink("关于本系统", "About", "Home")</li>
|
||||
<li>@Html.ActionLink("更新日志", "UpdateLog", "Home")</li>
|
||||
<li>@Html.ActionLink("版本号说明", "Contact", "Home")</li>
|
||||
<li>@Html.ActionLink("建议反馈", "Contact", "Home")</li>
|
||||
<li>@Html.ActionLink("版本号说明", "VersionInformation", "Home")</li>
|
||||
<li>@Html.ActionLink("建议反馈", "AdviceFeedback", "Home")</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -216,6 +216,8 @@
|
||||
<Content Include="Views\Account\Login.cshtml" />
|
||||
<Content Include="Views\Account\AccountDetail.cshtml" />
|
||||
<Content Include="Views\Home\UpdateLog.cshtml" />
|
||||
<Content Include="Views\Home\VersionInformation.cshtml" />
|
||||
<Content Include="Views\Home\AdviceFeedback.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
|
||||
Reference in New Issue
Block a user