123 lines
6.3 KiB
Plaintext
123 lines
6.3 KiB
Plaintext
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ChangePW.aspx.vb" Inherits="login_ChangePW" %>
|
|
|
|
<!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/login/ForgotPW.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>
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="content_container">
|
|
<div class="container-fluid">
|
|
<form id="form1" runat="server">
|
|
<table id="tbl_main" cellpadding="0">
|
|
<tr style="background-color:#fff; color:#003680;height:30px;">
|
|
<td>
|
|
<asp:Label ID="Label1" runat="server" style="background-color:#003680" ForeColor="White" Text="Passwortwechsel:" Font-Size="Large"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr style="background-color:#fff; color:#003680;height:30px;">
|
|
<td>
|
|
<asp:Label ID="lbl_PWEingabe" runat="server" Text="Bitte neues Passwort eingeben:"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr style="background-color:#fff; color:#003680;height:30px;">
|
|
<td>
|
|
<asp:TextBox id="txt_Pw" runat="server" TextMode="Password" Font-Names="Verdana" ></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr style="background-color:#fff; color:#003680;height:fit-content;">
|
|
<td>
|
|
<asp:RequiredFieldValidator ID="reqPassw1txt" runat="server" ErrorMessage="Bitte Passwort eingeben!" ControlToValidate="txt_Pw" Display="Dynamic"></asp:RequiredFieldValidator>
|
|
<asp:RegularExpressionValidator ControlToValidate="txt_Pw" runat="server" ID="RegularExpressionValidator1" ValidationGroup="TXT_val" ValidationExpression="[0-9]{7}" Display="Dynamic" ErrorMessage="Falsche Eingabe!" SetFocusOnError="true"></asp:RegularExpressionValidator>
|
|
</td>
|
|
</tr>
|
|
<tr style="background-color:#fff; color:#003680;height:30px;">
|
|
<td>
|
|
<asp:Label ID="lbl_PW_WH_Eingabe" runat="server" Text="Bitte neues Passwort wiederholen:"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr style="background-color:#fff; color:#003680;height:30px;">
|
|
<td>
|
|
<asp:TextBox id="txt_Pw_WH" OnTextChanged="txt_Pw_WH_TextChanged" runat="server" TextMode="Password" Font-Names="Verdana"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr style="background-color:#fff; color:#003680;height:fit-content;">
|
|
<td>
|
|
<asp:CompareValidator ID="confirmPasswordReq" runat="server" ControlToCompare="txt_Pw" ControlToValidate="txt_Pw_WH" ErrorMessage="Password does not match." Display="Dynamic"></asp:CompareValidator>
|
|
<asp:RequiredFieldValidator ID="reqPasswtxt" runat="server" ErrorMessage="Bitte Passwort wiederholen!" ControlToValidate="txt_Pw_WH" Display="Dynamic"></asp:RequiredFieldValidator>
|
|
<asp:RegularExpressionValidator ControlToValidate="txt_Pw_WH" runat="server" ID="regexval_txt_KdNrAuftrag" ValidationGroup="TXT_val" ValidationExpression="[0-9]{7}" Display="Dynamic" ErrorMessage="Falsche Eingabe!" SetFocusOnError="true"></asp:RegularExpressionValidator>
|
|
</td>
|
|
</tr>
|
|
<tr style="background-color:#fff; color:#003680;height:30px;">
|
|
<td>
|
|
<asp:Button ID="btn_submitpw" runat="server" Text="Passwort wechseln" OnClick="btn_submitpw_Click"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|