| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="firstlogin.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.firstlogin" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>首次登录修改密码</title>
- <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <link href="../images/style.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="../../scripts/jquery/jquery-1.8.3.min.js"></script>
- <script src="../scripts/ui/js/ligerui.min.js" type="text/javascript"></script>
- <script type="text/javascript">
- function CloseThis() {
- var dialog = frameElement.dialog;
- dialog.close();
- }
- function validate() {
- lbone_passwordnew.innerHTML = "*";
- lbone_passwordnew.style.color = "#717171";
- lbone_password1.innerHTML = "*";
- lbone_password1.style.color = "#717171";
- if (document.getElementById("txtone_password").value == "") {
- lbone_passwordnew.innerHTML = "新密码不允许为空";
- lbone_passwordnew.style.color = "red";
- return false;
- }
- else if (document.getElementById("txtone_password1").value == "") {
- lbone_password1.innerHTML = "确认密码不允许为空";
- lbone_password1.style.color = "red";
- return false;
- }
- else if (document.getElementById("txtone_password").value != document.getElementById("txtone_password1").value) {
- $.ligerDialog.warn("两次密码不一致");
- return false;
- }
- return true;
- }
- </script>
- </head>
- <body class="mainbody" scroll="no" style="margin-top: 0px;">
- <form id="form1" runat="server">
- <div id="contentTab">
- <ul class="tab_nav">
- <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">重设密码</a></li>
- </ul>
- <div class="tab_con" style="display: block; height: 200px;">
- <table class="form_table">
- <col width="100px" />
- <col />
- <col width="100px" />
- <col />
- <tbody>
- <tr>
- <th>
- 员工工号:
- </th>
- <td>
- <asp:TextBox ID="txtWorkingCode" runat="server" CssClass="txtInput normal" Style="width: 120px;"
- ReadOnly="true"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <th>
- 员工姓名:
- </th>
- <td>
- <asp:TextBox ID="txtRealName" runat="server" CssClass="txtInput normal" Style="width: 120px;"
- ReadOnly="true"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <th>
- 新 密 码:
- </th>
- <td>
- <asp:TextBox ID="txtone_password" runat="server" TextMode="Password" CssClass="txtInput normal"
- Style="width: 120px;"></asp:TextBox><label id="lbone_passwordnew" for="txtone_password">*</label>
- </td>
- </tr>
- <tr>
- <th>
- 确认密码:
- </th>
- <td>
- <asp:TextBox ID="txtone_password1" runat="server" TextMode="Password" CssClass="txtInput normal"
- Style="width: 120px;"></asp:TextBox><label id="lbone_password1" for="txtone_password1">*</label>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="foot_btn_box">
- <asp:Button ID="btnSubmit" runat="server" Text="保 存" CssClass="btnSubmit"
- OnClientClick="return validate();" OnClick="btnSubmit_Click" />
- </div>
- </div>
- </form>
- </body>
- </html>
|