You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
203 lines
12 KiB
203 lines
12 KiB
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="SCP._default" Debug="true" %>
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head runat="server">
|
|
<title>系统登陆</title>
|
|
<link href="res/css/main1.css" rel="stylesheet" type="text/css" />
|
|
<script type="text/javascript">
|
|
// 本页面一定是顶层窗口,不会嵌在IFrame中
|
|
if (top.window != window) {
|
|
top.window.location.href = "../default.aspx";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
|
|
<div class="login">
|
|
|
|
<div class="factory">
|
|
<p>SCP管理系统</p>
|
|
</div>
|
|
<div class="box png">
|
|
<div class="input">
|
|
<div class="log">
|
|
<div runat="server" class="name" id="div_6" hidden="hidden" visible="true" >
|
|
<div ID="d_ch" style="float:left;">
|
|
<label> </label>
|
|
<asp:Button ID="btn_ch" style="height:25px;width:150px;margin:5px 10px 0px 10px" class ="language" runat="server" Text="中文" OnClick="btn_ch_Click" Visible="false"/>
|
|
</div>
|
|
<div ID="d_en" style="float :left;">
|
|
<label> </label>
|
|
<asp:Button ID="btn_en" style="height:25px;width:150px;margin:5px" class ="language" runat="server" Text="English" OnClick="btn_en_Click" Visible="false"/>
|
|
</div>
|
|
</div>
|
|
<div class="name" runat="server" id="div_1" style="visibility:hidden ;" >
|
|
<label id="lb_name" runat="server"><%= GetResourceKey("姓名") %></label><input type="text" runat="server" class="text" id="textName" placeholder="姓 名" name="textName" tabindex="1">
|
|
</div>
|
|
<div class="name" runat="server" id="div_3" style="display:none" >
|
|
<label id="lb_mobile" runat="server"><%= GetResourceKey("手机号码") %></label><input type="number" runat="server" class="text" id="textMobile" placeholder="输入手机号" maxlength="11" name="textMobile" tabindex="2">
|
|
</div>
|
|
<div class="name" id="div_7">
|
|
<label id="lab1" runat="server"><%= GetResourceKey("用户名") %></label><input type="text" runat="server" class="text" id="textUserName" placeholder="用户名" name="textUserName" tabindex="3">
|
|
</div>
|
|
<div class="name" id="div_9"style="display:none" >
|
|
<label> </label>
|
|
</div>
|
|
<div class="name" runat="server" id="div_2" style="visibility:hidden" >
|
|
<label id="lb_Mail" runat="server"><%= GetResourceKey("电子邮件") %></label><input type="email" runat="server" class="text" id="textEmail" placeholder="输入邮箱" name="textEmail" tabindex="4">
|
|
</div>
|
|
<div class="pwd" id="div_8">
|
|
<label runat="server" id="lab2"><%= GetResourceKey("密码") %></label><input type="password" runat="server" class="text" id="textPassword" placeholder="密码" name="textPassword" tabindex="5" onkeydown="keyDown(event)">
|
|
</div>
|
|
<div class="name" runat="server" id="div_4" style="visibility:hidden" >
|
|
<label id="lb_PwdNew" runat="server"><%= GetResourceKey("新密码") %></label><input type="text" runat="server" class="text" id="textPassword1" placeholder="密码长度必须大于8位" maxlength="8" name="textPassword1" tabindex="6">
|
|
</div>
|
|
<div style="visibility:hidden" runat="server" id="div_5" class="name">
|
|
<label id="lb_PwdConf" runat="server"><%= GetResourceKey("确认新密码") %></label><input type="text" runat="server" class="text" id="textConfim" placeholder="密码长度必须大于8位" maxlength="8" name="textConfim" tabindex="7">
|
|
</div>
|
|
|
|
|
|
<div class="name">
|
|
<div ID="Button2" style="float : right;">
|
|
<input type="button" id="btn_pass" class ="submit" runat="server" value="找回密码" style="height:25px" onclick="javascript:reset_click();" >
|
|
</div>
|
|
<div ID="Button4" style="float : right;">
|
|
<asp:Button ID="btn_Login" class ="submit" runat="server" Text="登录" style="height:25px" OnClick="btnSubmit_Click" />
|
|
</div>
|
|
<div ID="Button3" style="visibility:collapse;float : right;">
|
|
<asp:Button ID="btn_MailLogin" style="height:25px" class ="submit" runat="server" Text="发送邮件" OnClick="btnResetPassWord_Click"/>
|
|
</div>
|
|
<div ID="Button1" style=" visibility:collapse;float:right;">
|
|
<input id="btn_back" type="button" class ="submit" style="height:25px" value="返回" runat="server" onclick="back_click();" >
|
|
</div>
|
|
</div>
|
|
<div class="tip"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<%--<div class="air-balloon ab-1 png"></div>
|
|
<div class="air-balloon ab-2 png"></div>--%>
|
|
<%--<div class="footer">
|
|
<div style="text-align:center;margin:60px 0; font:normal 14px/24px 'MicroSoft YaHei';">
|
|
<p id="p_content" runat="server"><%= GetResourceKey("适用浏览器:360、FireFox、搜狗、谷歌等. 不支持IE10及以下浏览器") %>。       </p>
|
|
<p id="p_title4" runat="server"><%= GetResourceKey("视频下载:") %></p><a href="https://pan.baidu.com/s/1K-cxvSyd8q7VoFdNOIoolA" target="_blank" title="①供应商操作视频下载" runat="server" id="p_title1">①<%= GetResourceKey("供应商操作视频下载") %></a>    <a href="https://pan.baidu.com/s/1l3di_gqLlx2TDwiUK6O5iw" target="_blank" title="②物料计划员视频下载" id="p_title2" runat="server">②<%= GetResourceKey("物料计划员视频下载") %></a>   <a href="https://get.adobe.com/reader/?loc=cn" target="_blank" title="③供应商请先安装报表插件下载" id="p_title3" runat="server">③<%= GetResourceKey("供应商请先安装报表插件下载") %></a>
|
|
</div>
|
|
</div>--%>
|
|
</div>
|
|
|
|
<f:PageManager ID="PageManager1" runat="server"></f:PageManager>
|
|
|
|
|
|
</form>
|
|
<script type="text/javascript" src="res/js/jQuery1.js"></script>
|
|
<script type="text/javascript" src="res/js/fun.base.js"></script>
|
|
<%--<script type="text/javascript" src="res/js/script.js"></script>--%>
|
|
<script type="text/javascript">
|
|
|
|
function keyDown(e) {
|
|
var ev = window.event || e;
|
|
if (ev.keyCode == 13) {
|
|
document.getElementById("btn_Login").focus();
|
|
}
|
|
}
|
|
|
|
|
|
function reset_click() {
|
|
document.getElementById('div_1').style.visibility = "hidden";
|
|
document.getElementById('div_2').style.visibility = "visible";
|
|
document.getElementById('div_3').style.display = "none";
|
|
document.getElementById('div_4').style.visibility = "hidden";
|
|
document.getElementById('div_5').style.visibility = "hidden";
|
|
//document.getElementById('div_6').style.display = "none";
|
|
document.getElementById('div_7').style.visibility = "visible";
|
|
document.getElementById('div_8').style.display = "none";
|
|
document.getElementById('div_9').style.display = "block";
|
|
document.getElementById('Button1').style.visibility = "visible";
|
|
document.getElementById('Button2').style.display = "none";
|
|
document.getElementById('Button3').style.visibility = "visible";
|
|
document.getElementById('Button4').style.display = "none";
|
|
|
|
}
|
|
|
|
function back_click() {
|
|
document.getElementById('div_1').style.visibility = "hidden";
|
|
document.getElementById('div_2').style.visibility = "hidden";
|
|
document.getElementById('div_3').style.display = "none";
|
|
document.getElementById('div_4').style.visibility = "hidden";
|
|
document.getElementById('div_5').style.visibility = "hidden";
|
|
// document.getElementById('div_6').style.display = "none";
|
|
document.getElementById('div_8').style.display = "block";
|
|
document.getElementById('div_9').style.display = "none";
|
|
document.getElementById('Button1').style.visibility = "hidden";
|
|
document.getElementById('Button3').style.visibility = "hidden";
|
|
document.getElementById('Button4').style.display = "block";
|
|
document.getElementById('Button2').style.display = "block";
|
|
|
|
}
|
|
|
|
|
|
|
|
//function on_change() {
|
|
// var objS = document.getElementById("textLANGUAGE");
|
|
// var value = objS.options[objS.selectedIndex].value;
|
|
// if (value == "CH") {
|
|
// $("#lab1").text("账号");
|
|
// $("#lab2").text("密码");
|
|
// document.getElementById("btn_Login").value = "登录";
|
|
// document.getElementById("btn_MailLogin").value = "邮件登录";
|
|
// document.getElementById("btn_back").value = "退回";
|
|
// document.getElementById("btn_pass").value = "找回密码"
|
|
// $("#lb_name").text("姓名");
|
|
// $("#lb_mobile").text("手机号");
|
|
// $("#lb_Mail").text("邮件");
|
|
// $("#lb_PwdNew").text("新密码");
|
|
// $("#lb_PwdConf").text("确认新密码");
|
|
// $("#p_content").text("适用浏览器:360、FireFox、搜狗、谷歌等. 不支持IE10及以下浏览器");
|
|
// $("#p_title1").text("①供应商操作视频下载");
|
|
// $("#p_title2").text("②物料计划员视频下载");
|
|
// $("#p_title3").text("③供应商请先安装报表插件下载");
|
|
// $("#p_title4").text("视频下载:");
|
|
|
|
// } else if (value == "EN") {
|
|
// $("#lab1").text("Account");
|
|
// $("#lab2").text("Password");
|
|
// document.getElementById("btn_Login").value = "Login";
|
|
// document.getElementById("btn_MailLogin").valuet = "Mail Login";
|
|
// document.getElementById("btn_back").value = "Back";
|
|
// document.getElementById("btn_pass").value = "Forgot Password"
|
|
// $("#lb_name").text("Name");
|
|
// $("#lb_mobile").text("Mobile");
|
|
// $("#lb_Mail").text("E-Mail");
|
|
// $("#lb_PwdNew").text("NewPassowd");
|
|
// $("#lb_PwdConf").text("Confirm");
|
|
// $("#p_content").text("Applicable browsers: 360, FireFox, Sogou, Google and so on. Do not support IE10 and the following browsers");
|
|
// $("#p_title1").text("①Video download of suppliers");
|
|
// $("#p_title2").text("②Video download of material planner");
|
|
// $("#p_title3").text("③suppliers first install the report plug-in to download");
|
|
// $("#p_title4").text("Teaching video download:");
|
|
|
|
|
|
|
|
// } else if (value == "DE") {
|
|
// document.getElementById("lab1").innerText = "Konto";
|
|
// document.getElementById("lab2").innerText = "Passwort";
|
|
// document.getElementById("btn_Login").value = "Login";
|
|
// document.getElementById("btn_MailLogin").value = "Email Login";
|
|
// document.getElementById("btn_pass").value = "Passwort vergessen "
|
|
// document.getElementById("btn_back").value = "Zurück";
|
|
// $("#lb_Mail").text("E-Mail");
|
|
// $("#lb_PwdNew").text("NeUe passwort");
|
|
// $("#lb_PwdConf").text("Passwort bestätigen");
|
|
// $("#p_content").text("Für den browser: 360, Firefox, sogou, Google und andere IE10 folgenden browser nicht unterstützt und.");
|
|
// $("#p_title1").text("①Die anbieter von video - Download");
|
|
// $("#p_title2").text("②Die planer der video - Download");
|
|
// $("#p_title3").text("③Bitte installieren sie den aussagen der anbieter plug - in herunterladen");
|
|
// $("#p_title4").text("Des video - Download:");
|
|
// }
|
|
|
|
//}
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|