ForgotPassword.cshtml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @using Bowin.Web.Controls.Mvc;
  2. @{
  3. ViewBag.Title = "ForgotPassword";
  4. }
  5. @section scripts{
  6. <script language="javascript">
  7. $(function () {
  8. $(".loginbuttonLeft").click(function () {
  9. history.back();
  10. });
  11. $(".loginbuttonRight").click(function () {
  12. if ($("input[name=LoginID]").val() != "") {
  13. $(document.forms[0]).submit();
  14. } else {
  15. $.messager.alert('系统提示', '请输入用户名。', 'info');
  16. }
  17. });
  18. })
  19. </script>
  20. }
  21. <link href="@Url.Content("~/Content/Login.css")" rel="stylesheet" type="text/css" />
  22. <table align="center" valign="center" id="Table_01" width="1123" height="520" border="0"
  23. cellpadding="0" cellspacing="0">
  24. <tr>
  25. <td colspan="3" class="mainDiv01">
  26. &nbsp;
  27. </td>
  28. </tr>
  29. <tr>
  30. <td colspan="3" class="mainDiv02">
  31. &nbsp;
  32. </td>
  33. </tr>
  34. <tr>
  35. <td colspan="3" class="mainDiv03">
  36. &nbsp;
  37. </td>
  38. </tr>
  39. <tr>
  40. <td rowspan="2" class="mainDiv04">
  41. &nbsp;
  42. </td>
  43. <td class="mainDiv05">
  44. @using (Ajax.BeginForm(new AjaxOptions
  45. {
  46. OnSuccess = "EMISFunction.FormSuccess",
  47. OnBegin = "EMISFunction.FormSubmit",
  48. OnComplete = "EMISFunction.FormComplete"
  49. }))
  50. {
  51. @Html.AntiForgeryToken()
  52. @Html.Hidden("VKey", (object)ViewBag.VKey)
  53. <table align="center" valign="center" width="218" height="168" border="0" cellpadding="0"
  54. cellspacing="0">
  55. <tr>
  56. <td colspan="3" height="26">
  57. <font color="red">请输入用户名,然后点击下一步,系统将会向您在@(@EMIS.Utility.RSL.Get("UniversityName"))考试报名管理系统中个人档案资料里填报的电子邮箱发送一封确认邮件,点击邮件中的连接进行密码重置操作。</font>
  58. </td>
  59. </tr>
  60. <tr>
  61. <td colspan="3" height="16"></td>
  62. </tr>
  63. <tr>
  64. <td width="26" height="26">
  65. <img src="@Url.Content("~/Content/images/user.png")" width="34" height="34" alt="" />
  66. </td>
  67. <td colspan="2">
  68. @Html.TextBox("LoginID", Request["LoginID"], new { placeholder = "请输入用户名" })
  69. </td>
  70. </tr>
  71. <tr>
  72. <td colspan="3" height="16"></td>
  73. </tr>
  74. <tr>
  75. <td colspan="3">
  76. <div class="loginbuttonLeft">
  77. &lt;上一步
  78. </div>
  79. <div class="loginbuttonRight">
  80. 下一步&gt;
  81. </div>
  82. </td>
  83. </tr>
  84. </table>
  85. }
  86. </td>
  87. <td rowspan="2" class="mainDiv06">
  88. &nbsp;
  89. </td>
  90. </tr>
  91. <tr>
  92. <td class="mainDiv07">
  93. &nbsp;
  94. </td>
  95. </tr>
  96. <tr>
  97. <td colspan="3" class="mainDiv08">
  98. &nbsp;
  99. </td>
  100. </tr>
  101. </table>