@ -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"> |
|||
<head runat="server"> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
|||
<title></title> |
|||
</head> |
|||
<head id="Head1" runat="server"> |
|||
<title>SCP供应商协同管理系统</title> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css"> |
|||
<!-- |
|||
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> |
|||
<form id="form1" runat="server"> |
|||
<f:PageManager ID="PageManager1" runat="server"></f:PageManager> |
|||
<f:Window ID="Window1" runat="server" IsModal="true" Hidden="false" EnableClose="false" |
|||
EnableMaximize="false" WindowPosition="GoldenSection" Icon="Key" Title="系统登陆" |
|||
Layout="HBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start" Width="500px"> |
|||
<Items> |
|||
<f:Image ID="imageLogin" ImageUrl="~/res/images/login/login_2.png" runat="server" |
|||
CssClass="login-image"> |
|||
</f:Image> |
|||
<f:SimpleForm ID="SimpleForm1" LabelAlign="Top" BoxFlex="1" runat="server" |
|||
BodyPadding="30px 20px" ShowBorder="false" ShowHeader="false"> |
|||
<Items> |
|||
<f:TextBox ID="tbxUserName" FocusOnPageLoad="true" runat="server" Label="帐号" Required="true" |
|||
ShowRedStar="true" Text=""> |
|||
</f:TextBox> |
|||
<f:TextBox ID="tbxPassword" TextMode="Password" runat="server" Required="true" ShowRedStar="true" |
|||
Label="密码" Text=""/> |
|||
<f:DropDownList Hidden="true" ID="DDL_LANGUAGE" Label="语 言" runat="server" Required="true" ShowRedStar="true" OnSelectedIndexChanged="DDL_LANGUAGE_SelectedIndexChanged"> |
|||
<f:ListItem Text="中文" Selected="true" Value="CH"/> |
|||
<f:ListItem Text="English" Value="EN" /> |
|||
<f:ListItem Text="Deutsch" Value="DE"/> |
|||
<f:ListItem Text="日本語" Value="JP" /> |
|||
<f:ListItem Text="Français" Value="FR" /> |
|||
</f:DropDownList> |
|||
|
|||
|
|||
<%-- <f:FormRow ID="FormRow2" runat="server"> |
|||
<Items> |
|||
<f:NumberBox runat="server" ID="TXT_VerifyCode"></f:NumberBox> |
|||
<f:Image ImageUrl="Handlers/MakeVerifyCode.ashx" runat="server"></f:Image> |
|||
</Items> |
|||
</f:FormRow>--%> |
|||
|
|||
</Items> |
|||
</f:SimpleForm> |
|||
|
|||
</Items> |
|||
<Toolbars> |
|||
<f:Toolbar runat="server" Position="Bottom" ToolbarAlign="Right"> |
|||
<Items> |
|||
<f:Button ID="btnSubmit" Icon="LockOpen" Type="Submit" runat="server" ValidateForms="SimpleForm1" |
|||
OnClick="btnSubmit_Click" Text="登陆"> |
|||
</f:Button> |
|||
</Items> |
|||
</f:Toolbar> |
|||
</Toolbars> |
|||
</f:Window> |
|||
<form id="form1" runat="server"> |
|||
<div> |
|||
<table width="959" height="86" border="0" align="center" cellpadding="0" cellspacing="0" background="res/images/login_title.jpg"> |
|||
<tr> |
|||
<td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|||
<tr> |
|||
<td align="right"> </td> |
|||
</tr> |
|||
</table></td> |
|||
</tr> |
|||
</table> |
|||
<table width="959" border="0" align="center" cellpadding="0" cellspacing="0"> |
|||
<tr> |
|||
<td width="648"><img src="res/images/20210302140650.png" width="648" height="368" style="box-shadow:0px 15px 10px -15px #000;" /></td> |
|||
<td width="311"><table width="311" height="390" border="0" align="right" cellpadding="0" cellspacing="0" background="res/images/login_form.jpg"> |
|||
<tr> |
|||
<td><table width="90%" border="0" align="center" cellpadding="5" cellspacing="0" class="login" id="login"> |
|||
<tr> |
|||
<td width="31%"> </td> |
|||
<td width="69%"> </td> |
|||
</tr> |
|||
<tr> |
|||
<td> </td> |
|||
<td> </td> |
|||
</tr> |
|||
<tr> |
|||
<td align="right">厂名</td> |
|||
<td> |
|||
|
|||
|
|||
|
|||
<select id="factory" runat="server" onchange="getFactory();" style="width:120px;font-size:10px"> |
|||
|
|||
</select> |
|||
|
|||
|
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td align="right">账号</td> |
|||
<td> |
|||
|
|||
<asp:TextBox ID="txtUserName" runat="server" style="width:120px" Text=""></asp:TextBox> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<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> |
|||
<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> |
|||
</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 |