186 lines
10 KiB
Plaintext
186 lines
10 KiB
Plaintext
<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="login_FLEX_iFrame.aspx.vb" Inherits="login_login_IFRAME"%>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<%@ import Namespace="MySql.Data.MySqlClient"%>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<title>VERAG Spedition AG Login</title>
|
|
<link rel="stylesheet" type="text/css" href="../css/main.css"/>
|
|
<link rel="stylesheet" type="text/css" href="../css/style.css"/>
|
|
<LINK REL="SHORTCUT ICON" HREF="../images/Icons/favicon/favicon.ico" />
|
|
|
|
<!-- Bootstrap -->
|
|
<html lang="en"></html>
|
|
<!-- Required meta tags -->
|
|
<meta charset="utf-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- Bootstrap CSS -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"/>
|
|
<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css"/>
|
|
|
|
<!-- <link rel="stylesheet" type="text/css" href="css/edit_main.css"> -->
|
|
<script src="js/netzwerk.js" type="text/javascript"></script>
|
|
<link rel="stylesheet" type="text/css" href="../css/style.css"/>
|
|
<link href="bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"/>
|
|
<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css"/>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
function FocusOnInput() {
|
|
document.getElementById("UserID").focus();
|
|
}
|
|
</script>
|
|
<script type="text/javascript">
|
|
// Vergebe den Event-Handler
|
|
document.onkeydown = handleKeyEvent;
|
|
// Funktion, die den Event verarbeitet
|
|
function handleKeyEvent(e) {
|
|
// MSIE nimmt das Event-Objekt aus window.event, DOM-kompatible Browser aus dem e-Funktionsparameter
|
|
if (!e) e = window.event;
|
|
// keyCode muss 70 sein und ctrlKey true
|
|
if (e.keyCode == 68 && e.ctrlKey) {
|
|
alert('Strg+D wurde gedrückt');
|
|
//topup
|
|
}
|
|
}
|
|
</script>
|
|
<!-- <script type="text/javascript" src="../js/toptions/top_up-min.js"></script> -->
|
|
<!--[if IE]>
|
|
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
<![endif]-->
|
|
|
|
<!--[if IE 6]>
|
|
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
<![endif]-->
|
|
|
|
<!--[if lt IE 7]>
|
|
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
<![endif]-->
|
|
|
|
<!--[if lte IE 5.5999]>
|
|
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
<![endif]-->
|
|
|
|
<!--[if gte IE 5.5]>
|
|
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
<![endif]-->
|
|
|
|
<script type = "text/javascript">
|
|
function goBack()
|
|
{
|
|
window.history.back()
|
|
}
|
|
</script>
|
|
<style>
|
|
#Login1_LoginButton {
|
|
background-color:#003680;
|
|
}#Login1_LinkButton2{
|
|
color:#003680;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body onload="FocusOnInput()" style="background-image:none">
|
|
|
|
<div class="container-fluid">
|
|
<form id="form1" runat="server">
|
|
<asp:Login ID = "Login1" runat = "server" OnAuthenticate= "ValidateUser" ClientIDMode="AutoID" DestinationPageUrl="../Customers/CustomsAviso.aspx" >
|
|
<LayoutTemplate>
|
|
<table cellpadding="0" style="font-family:Arial;font-size:11px;border:1px solid gray">
|
|
<!-- <tr style=" background-image: linear-gradient(to right, #003680 , #0055cc);color:#fff;height:30px;font-size:12px">
|
|
<td align="center" colspan="2" style="color:#fff;font-kerning:auto;font-weight:700;">Bitte melden Sie sich an:</td>
|
|
</tr> -->
|
|
<tr style=" background-color:#fff; color:#003680; height:30px;font-size:12px">
|
|
<td align="center" colspan="2" style="color:#003680;font-kerning:auto;font-weight:700;">
|
|
<asp:Label ID="Label1" runat="server" Text="Login" style="color:#003680;font-size:1.420901320901321em"></asp:Label></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:TextBox ID="CustomerID" runat="server" type="text" TextMode="Number" Placeholder="Kundennummer" ToolTip="Die Kundennummer ist erforderlich"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="CustomerIDrequired" runat="server" ControlToValidate="CustomerID" ErrorMessage="" ValidationGroup="Login1"></asp:RequiredFieldValidator>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:TextBox ID="UserName" runat="server" TextMode="SingleLine" Placeholder="Username" ToolTip="Der Benutzername ist erforderlich"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="UserNamerequired" runat="server" ControlToValidate="UserName" ErrorMessage="" ValidationGroup="Login1"></asp:RequiredFieldValidator>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:TextBox ID="Password" runat="server" TextMode="Password" Placeholder="Password"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="Passwordrequired" runat="server" ControlToValidate="Password" ErrorMessage="" ToolTip="Das Kennwort ist erforderlich." ValidationGroup="Login1"></asp:RequiredFieldValidator>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="RememberMe" runat="server" Text="Anmeldedaten speichern." />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" colspan="2" style="color:Red;">
|
|
<asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
|
|
<asp:RegularExpressionValidator ID="CustomerIDregex" runat="server" ControlToValidate="CustomerID" Display="Dynamic" ValidationExpression="<%=RegexSammlung_VERAG.UID %>" ErrorMessage="Bitte gültige Zeichen verwenden"></asp:RegularExpressionValidator>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left" colspan="2" height="60px">
|
|
<center>
|
|
<br/> <asp:Button ID="LoginButton" class="btn btn-primary" runat="server" CommandName="Login" Text="Login" ValidationGroup="Login1" target="_top" OnClientClick="bust2()" style="margin-left:-80px"/> </center>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left" colspan="2">
|
|
<a ID="LinkButton2" runat="server" target="_top" href="ForgotPW.aspx">Passwort Vergessen</a>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</LayoutTemplate>
|
|
</asp:Login>
|
|
</form>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
function bust2() {
|
|
if (top.location == self) {
|
|
var zipphone2_1 = getElementById("#CustomerID").val();
|
|
var zipphone2_2 = getElementById("#UserName").val();
|
|
var zipphone2_3 = getElementById("#Password").val();
|
|
alert("send:" + zipphone2_1)
|
|
alert("send:" + zipphone2_2)
|
|
alert("send:" + zipphone2_3)
|
|
//parent.location.replace('../Customers/Welcome.aspx');
|
|
top.location = '../Customers/Welcome.aspx';
|
|
}
|
|
}
|
|
</script>
|
|
<script type="text/javascript">
|
|
function bust1() {
|
|
if (top.location != self) {
|
|
var zipphone2_1 = getElementById("#CustomerID").val();
|
|
var zipphone2_2 = getElementById("#UserName").val();
|
|
var zipphone2_3 = getElementById("#Password").val();
|
|
alert("send:" + zipphone2_1)
|
|
alert("send:" + zipphone2_2)
|
|
alert("send:" + zipphone2_3)
|
|
parent.location.replace('../Customers/Welcome.aspx');
|
|
// top.location = '../newpageJulius_Sidebar.aspx';
|
|
}
|
|
}
|
|
</script>
|
|
<script type="text/javascript">
|
|
function reloadpage() {
|
|
window.parent.location.reload();
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|