UU跑腿标准版

firstlogin.aspx 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="firstlogin.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.firstlogin" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <title>首次登录修改密码</title>
  6. <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  7. <link href="../images/style.css" rel="stylesheet" type="text/css" />
  8. <script type="text/javascript" src="../../scripts/jquery/jquery-1.8.3.min.js"></script>
  9. <script src="../scripts/ui/js/ligerui.min.js" type="text/javascript"></script>
  10. <script type="text/javascript">
  11. function CloseThis() {
  12. var dialog = frameElement.dialog;
  13. dialog.close();
  14. }
  15. function validate() {
  16. lbone_passwordnew.innerHTML = "*";
  17. lbone_passwordnew.style.color = "#717171";
  18. lbone_password1.innerHTML = "*";
  19. lbone_password1.style.color = "#717171";
  20. if (document.getElementById("txtone_password").value == "") {
  21. lbone_passwordnew.innerHTML = "新密码不允许为空";
  22. lbone_passwordnew.style.color = "red";
  23. return false;
  24. }
  25. else if (document.getElementById("txtone_password1").value == "") {
  26. lbone_password1.innerHTML = "确认密码不允许为空";
  27. lbone_password1.style.color = "red";
  28. return false;
  29. }
  30. else if (document.getElementById("txtone_password").value != document.getElementById("txtone_password1").value) {
  31. $.ligerDialog.warn("两次密码不一致");
  32. return false;
  33. }
  34. return true;
  35. }
  36. </script>
  37. </head>
  38. <body class="mainbody" scroll="no" style="margin-top: 0px;">
  39. <form id="form1" runat="server">
  40. <div id="contentTab">
  41. <ul class="tab_nav">
  42. <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">重设密码</a></li>
  43. </ul>
  44. <div class="tab_con" style="display: block; height: 200px;">
  45. <table class="form_table">
  46. <col width="100px" />
  47. <col />
  48. <col width="100px" />
  49. <col />
  50. <tbody>
  51. <tr>
  52. <th>
  53. 员工工号:
  54. </th>
  55. <td>
  56. <asp:TextBox ID="txtWorkingCode" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  57. ReadOnly="true"></asp:TextBox>
  58. </td>
  59. </tr>
  60. <tr>
  61. <th>
  62. 员工姓名:
  63. </th>
  64. <td>
  65. <asp:TextBox ID="txtRealName" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  66. ReadOnly="true"></asp:TextBox>
  67. </td>
  68. </tr>
  69. <tr>
  70. <th>
  71. 新&nbsp;&nbsp;密&nbsp;&nbsp;码:
  72. </th>
  73. <td>
  74. <asp:TextBox ID="txtone_password" runat="server" TextMode="Password" CssClass="txtInput normal"
  75. Style="width: 120px;"></asp:TextBox><label id="lbone_passwordnew" for="txtone_password">*</label>
  76. </td>
  77. </tr>
  78. <tr>
  79. <th>
  80. 确认密码:
  81. </th>
  82. <td>
  83. <asp:TextBox ID="txtone_password1" runat="server" TextMode="Password" CssClass="txtInput normal"
  84. Style="width: 120px;"></asp:TextBox><label id="lbone_password1" for="txtone_password1">*</label>
  85. </td>
  86. </tr>
  87. </tbody>
  88. </table>
  89. </div>
  90. <div class="foot_btn_box">
  91. <asp:Button ID="btnSubmit" runat="server" Text="保&nbsp;&nbsp;存" CssClass="btnSubmit"
  92. OnClientClick="return validate();" OnClick="btnSubmit_Click" />
  93. </div>
  94. </div>
  95. </form>
  96. </body>
  97. </html>