@model EMIS.ViewModel.SystemView.ChangePasswordView
@using Bowin.Web.Controls.Mvc;
@{
    ViewBag.Title = "UserVerify";
}
@section scripts{
    <script language="javascript">
        $(function () {
            $(".loginbutton").click(function () {
                if ($("#Password").val() != $("#PasswordRep").val()) {
                    $.messager.alert('系统提示', '两次输入的密码必须一致', 'info');
                    return;
                }
                $(document.forms[0]).submit();
            });
        })
    </script>
}
<link href="@Url.Content("~/Content/Login.css")" rel="stylesheet" type="text/css" />
<table align="center" valign="center" id="Table_01" width="1123" height="520" border="0"
    cellpadding="0" cellspacing="0">
    <tr>
        <td colspan="3" class="mainDiv01">
            &nbsp;
        </td>
    </tr>
    <tr>
        <td colspan="3" class="mainDiv02">
            &nbsp;
        </td>
    </tr>
    <tr>
        <td colspan="3" class="mainDiv03">
            &nbsp;
        </td>
    </tr>
    <tr>
        <td rowspan="2" class="mainDiv04">
            &nbsp;
        </td>
        <td class="mainDiv05">
            @using (Html.BeginForm(new { UserID = Request["UserID"], ReturnUrl = ViewBag.ReturnUrl }))
            {
                <table align="center" valign="center" width="218" height="168" border="0" cellpadding="0"
                    cellspacing="0">
                    <tr>
                        <td colspan="3" height="26">
                            <font color="red">验证成功,现在可以开始修改密码。</font>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" height="16">
                        </td>
                    </tr>
                    <tr>
                        <td width="34" height="26">
                            <img src="@Url.Content("~/Content/images/password.png")" width="34" height="34" alt="" />
                        </td>
                        <td colspan="2">
                            @Html.PasswordFor(x => x.Password, new { placeholder = "请输入密码", autocomplete = "off" })
                            @Html.ValidationMessageFor(x => x.Password)
                        </td>
                    </tr>
                    <tr>
                        <td width="34" height="26">
                            <img src="@Url.Content("~/Content/images/password.png")" width="34" height="34" alt="" />
                        </td>
                        <td colspan="2">
                            @Html.PasswordFor(x => x.PasswordRep, new { placeholder = "请再次输入密码", autocomplete = "off" })
                            @Html.ValidationMessageFor(x => x.PasswordRep)
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" height="16">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" class="loginbutton">
                            下&nbsp;一&nbsp;步
                        </td>
                    </tr>
                </table>
            }
        </td>
        <td rowspan="2" class="mainDiv06">
            &nbsp;
        </td>
    </tr>
    <tr>
        <td class="mainDiv07">
            &nbsp;
        </td>
    </tr>
    <tr>
        <td colspan="3" class="mainDiv08">
            &nbsp;
        </td>
    </tr>
</table>