@ -1,61 +1,161 @@ |
|||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default1.aspx.cs" Inherits="SCP.Default1" %> |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default1.aspx.cs" Inherits="SCP.Default1" ValidateRequest="true" %> |
||||
|
|
||||
<!DOCTYPE html> |
<!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"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
||||
<head runat="server"> |
<head id="Head1" runat="server"> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
<title>SCP供应商协同管理系统</title> |
||||
<title></title> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css"> |
||||
</head> |
<!-- |
||||
|
body { |
||||
|
background-image: url(res/images/login_bg_1.jpg); |
||||
|
margin-left: 0px; |
||||
|
margin-top: 0px; |
||||
|
margin-right: 0px; |
||||
|
margin-bottom: 0px; |
||||
|
background-repeat: repeat-x; |
||||
|
} |
||||
|
td{ |
||||
|
font-size:12px; |
||||
|
line-height:20px; |
||||
|
} |
||||
|
|
||||
|
.login{ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
.login tr td{ |
||||
|
font-size:12px; |
||||
|
line-height:20px; |
||||
|
} |
||||
|
--> |
||||
|
</style></head> |
||||
<body> |
<body> |
||||
<form id="form1" runat="server"> |
<form id="form1" runat="server"> |
||||
<f:PageManager ID="PageManager1" runat="server"></f:PageManager> |
<div> |
||||
<f:Window ID="Window1" runat="server" IsModal="true" Hidden="false" EnableClose="false" |
<table width="959" height="86" border="0" align="center" cellpadding="0" cellspacing="0" background="res/images/login_title.jpg"> |
||||
EnableMaximize="false" WindowPosition="GoldenSection" Icon="Key" Title="系统登陆" |
<tr> |
||||
Layout="HBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start" Width="500px"> |
<td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> |
||||
<Items> |
<tr> |
||||
<f:Image ID="imageLogin" ImageUrl="~/res/images/login/login_2.png" runat="server" |
<td align="right"> </td> |
||||
CssClass="login-image"> |
</tr> |
||||
</f:Image> |
</table></td> |
||||
<f:SimpleForm ID="SimpleForm1" LabelAlign="Top" BoxFlex="1" runat="server" |
</tr> |
||||
BodyPadding="30px 20px" ShowBorder="false" ShowHeader="false"> |
</table> |
||||
<Items> |
<table width="959" border="0" align="center" cellpadding="0" cellspacing="0"> |
||||
<f:TextBox ID="tbxUserName" FocusOnPageLoad="true" runat="server" Label="帐号" Required="true" |
<tr> |
||||
ShowRedStar="true" Text=""> |
<td width="648"><img src="res/images/20210302140650.png" width="648" height="368" style="box-shadow:0px 15px 10px -15px #000;" /></td> |
||||
</f:TextBox> |
<td width="311"><table width="311" height="390" border="0" align="right" cellpadding="0" cellspacing="0" background="res/images/login_form.jpg"> |
||||
<f:TextBox ID="tbxPassword" TextMode="Password" runat="server" Required="true" ShowRedStar="true" |
<tr> |
||||
Label="密码" Text=""/> |
<td><table width="90%" border="0" align="center" cellpadding="5" cellspacing="0" class="login" id="login"> |
||||
<f:DropDownList Hidden="true" ID="DDL_LANGUAGE" Label="语 言" runat="server" Required="true" ShowRedStar="true" OnSelectedIndexChanged="DDL_LANGUAGE_SelectedIndexChanged"> |
<tr> |
||||
<f:ListItem Text="中文" Selected="true" Value="CH"/> |
<td width="31%"> </td> |
||||
<f:ListItem Text="English" Value="EN" /> |
<td width="69%"> </td> |
||||
<f:ListItem Text="Deutsch" Value="DE"/> |
</tr> |
||||
<f:ListItem Text="日本語" Value="JP" /> |
<tr> |
||||
<f:ListItem Text="Français" Value="FR" /> |
<td> </td> |
||||
</f:DropDownList> |
<td> </td> |
||||
|
</tr> |
||||
|
<tr> |
||||
<%-- <f:FormRow ID="FormRow2" runat="server"> |
<td align="right">厂名</td> |
||||
<Items> |
<td> |
||||
<f:NumberBox runat="server" ID="TXT_VerifyCode"></f:NumberBox> |
|
||||
<f:Image ImageUrl="Handlers/MakeVerifyCode.ashx" runat="server"></f:Image> |
|
||||
</Items> |
|
||||
</f:FormRow>--%> |
<select id="factory" runat="server" onchange="getFactory();" style="width:120px;font-size:10px"> |
||||
|
|
||||
</Items> |
</select> |
||||
</f:SimpleForm> |
|
||||
|
|
||||
</Items> |
</td> |
||||
<Toolbars> |
</tr> |
||||
<f:Toolbar runat="server" Position="Bottom" ToolbarAlign="Right"> |
<tr> |
||||
<Items> |
<td align="right">账号</td> |
||||
<f:Button ID="btnSubmit" Icon="LockOpen" Type="Submit" runat="server" ValidateForms="SimpleForm1" |
<td> |
||||
OnClick="btnSubmit_Click" Text="登陆"> |
|
||||
</f:Button> |
<asp:TextBox ID="txtUserName" runat="server" style="width:120px" Text=""></asp:TextBox> |
||||
</Items> |
</td> |
||||
</f:Toolbar> |
</tr> |
||||
</Toolbars> |
<tr> |
||||
</f:Window> |
<td align="right" >密码</td> |
||||
|
<td> |
||||
|
<asp:TextBox ID="txtPassword" runat="server" style="width:120px" Text="" TextMode="Password"></asp:TextBox> |
||||
|
</td> |
||||
|
</tr> |
||||
|
<%-- <tr>--%> |
||||
|
<%-- <td align="right">验证码</td>--%> |
||||
|
<%-- <td>--%> |
||||
|
<%-- <asp:TextBox ID="txtCode" runat="server" Width="68px"></asp:TextBox>--%> |
||||
|
<%-- <img src="handle/Code.ashx" name="imgVerify" align="absmiddle" id="imgVerify" onclick="this.src=this.src+'?'+Math.random();"/> </td>--%> |
||||
|
<%-- </tr>--%> |
||||
|
<tr> |
||||
|
<td align="right"> </td> |
||||
|
<td> |
||||
|
|
||||
|
</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td colspan="2" align="center"> |
||||
|
<asp:ImageButton ID="ImageButton1" runat="server" |
||||
|
ImageUrl="~/res/images/btnLogin.jpg" onclick="ImageButton1_Click" /> </td> |
||||
|
</tr> |
||||
|
</table></td> |
||||
|
</tr> |
||||
|
</table></td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</div> |
||||
|
<br /> |
||||
|
<br /> |
||||
|
<asp:Label id="Label1" runat="server"></asp:Label> |
||||
|
<asp:Label id="Label2" runat="server"></asp:Label> |
||||
|
<br /> |
||||
|
<br /> |
||||
|
<br /> |
||||
|
<asp:HiddenField ID="factoryValue" runat="server"/> |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
<center><font size="2px"><p id="p1" runat="server"><%= GetResourceKey("适用浏览器:360、FireFox、搜狗、谷歌等. 不支持IE10及以下浏览器") %>。</p></font></center> |
||||
|
<br /> |
||||
|
<center><font size="2px"> <a href="https://get.adobe.com/reader/?loc=cn" target="_blank" title="供应商请先安装报表插件下载" id="A1" runat="server"> |
||||
|
<%= GetResourceKey("供应商请先安装报表插件下载") %></a></font></center> |
||||
|
|
||||
</form> |
</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"> |
||||
|
var _factoryValue = '<%= factoryValue.ClientID %>'; |
||||
|
window.onload = function () { |
||||
|
var obj = document.getElementById('factory'); |
||||
|
|
||||
|
for (var i = 0; obj.options.length; i++) { |
||||
|
if ('QDVALEO' == obj.options[i].value) { |
||||
|
obj.options[i].selected = true; |
||||
|
_factory = document.getElementById(_factoryValue); |
||||
|
_factory.value = 'QDVALEO'; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
function keyDown(e) { |
||||
|
var ev = window.event || e; |
||||
|
if (ev.keyCode == 13) { |
||||
|
document.getElementById("btn_Login").focus(); |
||||
|
} |
||||
|
} |
||||
|
function getFactory() { |
||||
|
_factory = document.getElementById(_factoryValue); |
||||
|
var obj = document.getElementById('factory'); |
||||
|
var index = obj.selectedIndex; //序号,取当前选中选项的序号 |
||||
|
var val = obj.options[index].value; |
||||
|
_factory.value = val; |
||||
|
|
||||
|
} |
||||
|
</script> |
||||
</body> |
</body> |
||||
</html> |
</html> |
||||
|
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 983 B |
After Width: | Height: | Size: 1009 B |
After Width: | Height: | Size: 146 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 769 B |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 735 B |