<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="iWareWms.login" %>
|
<!DOCTYPE html>
|
<html>
|
<head runat="server">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<title>用户登录</title>
|
<link href="res/css/common.css" rel="stylesheet" />
|
<style>
|
.imgcaptcha .f-field-label {
|
margin: 0;
|
}
|
|
#Window1_SimpleForm1_tbxUserName-inputEl,#Window1_SimpleForm1_tbxPassword-inputEl,#Window1_SimpleForm1_Panel1_tbxCaptcha-inputEl{
|
height:40px;
|
border-radius:30px;
|
width:350px;
|
margin-left:13px;
|
margin-top:15px;
|
|
}
|
|
#Window1_SimpleForm1_btnLogin{
|
font-size: 20px;
|
text-align:center;
|
vertical-align:middle;
|
font-weight: bold;
|
border-radius:30px;
|
margin-left:13px;
|
width:350px;
|
height:40px;
|
margin-top:15px;
|
|
}
|
|
.navigate_style{
|
margin-top:0px;
|
width:100%;
|
height:100px;
|
}
|
|
|
</style>
|
<script type="text/javascript">
|
|
// 本页面一定是顶层窗口,不会嵌在IFrame中
|
if (top.window != window) {
|
top.window.location.href = "./login.aspx";
|
}
|
|
// 将 localhost 转换为 localhost/default.aspx
|
if (window.location.href.indexOf('/login.aspx') < 0) {
|
window.location.href = "./login.aspx";
|
}
|
|
</script>
|
</head>
|
<body style="background:url('res/images/main/111.jpg') no-repeat center center;background-size:100% auto;background-attachment: fixed;">
|
|
<div class="navigate_style">
|
<div style="display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; padding-top:0;">
|
<img style="height:60px;width:400px; margin-top:0px;padding-top:0" src="res/images/logo/wgqlogo.jpg" />
|
</div>
|
</div>
|
|
<form id="form1" runat="server">
|
<f:PageManager ID="PageManager1" runat="server" />
|
|
<f:Window ID="Window1" runat="server" Title="用户登录" IsModal="false" EnableClose="false"
|
PositionX="Center" PositionY="Center" FixedPosition="true" Width="370px" Height="240px">
|
<Items>
|
<f:SimpleForm ID="SimpleForm1" runat="server" ShowBorder="false" BodyPadding="0" ShowHeader="false" LabelWidth="30px">
|
<Items>
|
<f:TextBox ID="tbxUserName" EmptyText="用户名" Required="true" runat="server">
|
</f:TextBox>
|
<f:TextBox ID="tbxPassword" EmptyText="密码" TextMode="Password" Required="true" runat="server" >
|
</f:TextBox>
|
|
|
<f:Button ID="btnLogin" Text="登录" Type="Submit" ValidateForms="SimpleForm1" ValidateTarget="Top"
|
runat="server" OnClick="btnLogin_Click">
|
</f:Button>
|
</Items>
|
</f:SimpleForm>
|
</Items>
|
|
</f:Window>
|
</form>
|
|
<div style="width:100%;height:45px;position:absolute;bottom:0;">
|
<table class="bottomtable" style="width: 100%;">
|
<tr>
|
<td style="text-align: center;width:100%;color:#FFF;">Copyright © 1997-2020 伟本智能机电(上海)股份有限公司 保留所有权利</td>
|
</tr>
|
</table>
|
</div>
|
</body>
|
</html>
|