You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
10 months ago
|
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<DSWebMobile.Models.LogOnModel>" %>
|
||
|
|
||
|
<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
|
||
|
登录
|
||
|
</asp:Content>
|
||
|
|
||
|
<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
|
||
|
<h2>登录</h2>
|
||
|
<p>
|
||
|
请输入用户名和密码。 <%= Html.ActionLink("注册", "Register") %> 如果您没有帐户。
|
||
|
</p>
|
||
|
|
||
|
<% using (Html.BeginForm()) { %>
|
||
|
<%= Html.ValidationSummary(true, "登录不成功。请更正错误并重试。") %>
|
||
|
<div>
|
||
|
<fieldset>
|
||
|
<legend>帐户信息</legend>
|
||
|
|
||
|
<div class="editor-label">
|
||
|
<%= Html.LabelFor(m => m.UserName) %>
|
||
|
</div>
|
||
|
<div class="editor-field">
|
||
|
<%= Html.TextBoxFor(m => m.UserName) %>
|
||
|
<%= Html.ValidationMessageFor(m => m.UserName) %>
|
||
|
</div>
|
||
|
|
||
|
<div class="editor-label">
|
||
|
<%= Html.LabelFor(m => m.Password) %>
|
||
|
</div>
|
||
|
<div class="editor-field">
|
||
|
<%= Html.PasswordFor(m => m.Password) %>
|
||
|
<%= Html.ValidationMessageFor(m => m.Password) %>
|
||
|
</div>
|
||
|
|
||
|
<div class="editor-label">
|
||
|
<%= Html.CheckBoxFor(m => m.RememberMe) %>
|
||
|
<%= Html.LabelFor(m => m.RememberMe) %>
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
<input type="submit" value="登录" />
|
||
|
</p>
|
||
|
</fieldset>
|
||
|
</div>
|
||
|
<% } %>
|
||
|
</asp:Content>
|