PW vergessen Funktion visuell eingebaut
This commit is contained in:
112
login/ForgotPW.aspx
Normal file
112
login/ForgotPW.aspx
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ForgotPW.aspx.vb" Inherits="login_ForgotPW" %>
|
||||||
|
|
||||||
|
<!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 Passwort vergessen</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" />
|
||||||
|
<!-- <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 rel="stylesheet" type="text/css" href="../css/example.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>
|
||||||
|
body {
|
||||||
|
background-color:#fff;
|
||||||
|
background-image:none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#Login1_LoginButton {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #003680;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="container-fluid" style="width:252px;height:216px;">
|
||||||
|
<form id="form1" runat="server">
|
||||||
|
<table cellpadding="0" style="font-family:Arial;font-size:11px;border:1px solid gray">
|
||||||
|
<tr style=" background-color:#fff; color:#003680; height:30px;font-size:12px">
|
||||||
|
<td align="center" colspan="2" style="color:#fff;font-kerning:auto;font-weight:700;">
|
||||||
|
<asp:Label ID="lbl_PWvergessen" Text="Haben Sie ihr Passwort vergessen?" runat="server" style=" background-color:#fff; color:#003680; font-size:12px"></asp:Label>
|
||||||
|
</td></tr>
|
||||||
|
<!-- <tr style=" background-color:#fff; color:#003680; height:30px;font-size:12px">
|
||||||
|
<td align="center" colspan="2" style="color:#fff;font-kerning:auto;font-weight:700;">
|
||||||
|
<asp:Label ID="Label1" Text="Geben Sie Ihre hinterlegte E-Mail-Adresse ein, um einen Link zum Rücksetzen des Passwortes zu erhalten." runat="server" style=" background-color:#fff; color:#003680; font-size:12px"></asp:Label>
|
||||||
|
</td></tr> -->
|
||||||
|
<tr>
|
||||||
|
<td align="right" colspan="2">
|
||||||
|
<h1>Passwort vergessen:</h1>
|
||||||
|
</td></tr>
|
||||||
|
<!-- <tr><td>
|
||||||
|
<input type="email" runat="server" style="width:150px" placeholder="example@somehost.com" />
|
||||||
|
</td></tr> -->
|
||||||
|
<tr><td>
|
||||||
|
<asp:PasswordRecovery ID="PasswordRecovery1" runat="server"></asp:PasswordRecovery>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
5
login/ForgotPW.aspx.vb
Normal file
5
login/ForgotPW.aspx.vb
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
Partial Class login_ForgotPW
|
||||||
|
Inherits System.Web.UI.Page
|
||||||
|
|
||||||
|
End Class
|
||||||
@@ -89,9 +89,13 @@
|
|||||||
<asp:Login ID = "Login1" runat = "server" OnAuthenticate= "ValidateUser" ClientIDMode="AutoID" DestinationPageUrl="../Customers/CustomsAviso.aspx" >
|
<asp:Login ID = "Login1" runat = "server" OnAuthenticate= "ValidateUser" ClientIDMode="AutoID" DestinationPageUrl="../Customers/CustomsAviso.aspx" >
|
||||||
<LayoutTemplate>
|
<LayoutTemplate>
|
||||||
<table cellpadding="0" style="font-family:Arial;font-size:11px;border:1px solid gray">
|
<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">
|
<!-- <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>
|
<td align="center" colspan="2" style="color:#fff;font-kerning:auto;font-weight:700;">Bitte melden Sie sich an:</td>
|
||||||
</tr>
|
</tr> -->
|
||||||
|
<tr style=" background-color:#fff; color:#003680; height:30px;font-size:12px">
|
||||||
|
<td align="center" colspan="2" style="color:#fff;font-kerning:auto;font-weight:700;">
|
||||||
|
<asp:Label ID="Label1" runat="server" Text="Login" style="color:#003680;font-size:1.320901320901321vh"></asp:Label></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<asp:Label ID="CustomerIDLabel" runat="server" AssociatedControlID="CustomerID" required="true">Kundennummer:</asp:Label>
|
<asp:Label ID="CustomerIDLabel" runat="server" AssociatedControlID="CustomerID" required="true">Kundennummer:</asp:Label>
|
||||||
@@ -133,16 +137,36 @@
|
|||||||
<td align="left" colspan="2">
|
<td align="left" colspan="2">
|
||||||
<br/> <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Login" ValidationGroup="Login1" target="_top" OnClientClick="bust2()"/>
|
<br/> <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Login" ValidationGroup="Login1" target="_top" OnClientClick="bust2()"/>
|
||||||
</td>
|
</td>
|
||||||
|
<tr>
|
||||||
<td align="middle" colspan="2">
|
<td align="middle" colspan="2">
|
||||||
<asp:LinkButton ID="LinkButton1" runat="server" target="_top" OnClientClick="bust2()">Admin-Login</asp:LinkButton>
|
<asp:LinkButton ID="LinkButton1" runat="server" target="_top" OnClientClick="bust2()">Admin-Login</asp:LinkButton>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="left" colspan="2">
|
||||||
|
<asp:LinkButton ID="LinkButton2" runat="server" target="_top" href="ForgotPW.aspx">Passwort Vergessen</asp:LinkButton>
|
||||||
|
</td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</LayoutTemplate>
|
</LayoutTemplate>
|
||||||
</asp:Login>
|
</asp:Login>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function bust3() {
|
||||||
|
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 = 'ForgotPW.aspx';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function bust2() {
|
function bust2() {
|
||||||
if (top.location == self) {
|
if (top.location == self) {
|
||||||
|
|||||||
Reference in New Issue
Block a user