ForgotPassword.cshtml 3.3 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. <table align="center" valign="center" width="218" height="168" border="0" cellpadding="0"
  52. cellspacing="0">
  53. <tr>
  54. <td colspan="3" height="26">
  55. <font color="red">请输入用户名,然后点击下一步,系统将会向之前注册的电子邮箱中发送一封确认邮件,点击邮件中的连接进行密码重置操作。</font>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td colspan="3" height="16">
  60. </td>
  61. </tr>
  62. <tr>
  63. <td width="26" height="26">
  64. <img src="@Url.Content("~/Content/images/user.png")" width="34" height="34" alt="" />
  65. </td>
  66. <td colspan="2">
  67. @Html.TextBox("LoginID", Request["LoginID"], new { placeholder = "请输入用户名" })
  68. </td>
  69. </tr>
  70. <tr>
  71. <td colspan="3" height="16">
  72. </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>