ForgotPassword.cshtml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. <table align="center" valign="center" width="218" height="168" border="0" cellpadding="0"
  53. cellspacing="0">
  54. <tr>
  55. <td colspan="3" height="26">
  56. <font color="red">请输入用户名,然后点击下一步,系统将会向您在教务管理系统中个人档案资料里填报的电子邮箱发送一封确认邮件,点击邮件中的连接进行密码重置操作。</font>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td colspan="3" height="16">
  61. </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">
  73. </td>
  74. </tr>
  75. <tr>
  76. <td colspan="3">
  77. <div class="loginbuttonLeft">
  78. &lt;上一步
  79. </div>
  80. <div class="loginbuttonRight">
  81. 下一步&gt;
  82. </div>
  83. </td>
  84. </tr>
  85. </table>
  86. }
  87. </td>
  88. <td rowspan="2" class="mainDiv06">
  89. &nbsp;
  90. </td>
  91. </tr>
  92. <tr>
  93. <td class="mainDiv07">
  94. &nbsp;
  95. </td>
  96. </tr>
  97. <tr>
  98. <td colspan="3" class="mainDiv08">
  99. &nbsp;
  100. </td>
  101. </tr>
  102. </table>