140 lines
7.5 KiB
Plaintext
140 lines
7.5 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/ChangePW.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">
|
|
<center>
|
|
<table id="tbl_main" cellpadding="0">
|
|
<tr style="color:#003680;height:38px;">
|
|
<td>
|
|
<asp:Label ID="lbl_Ueberschrift" runat="server" Text="Passwortwechsel:"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:36.67px;">
|
|
<td>
|
|
<asp:Label ID="lbl_PWEingabe" CssClass="txt_design" runat="server" Text="Bitte neues Passwort eingeben:"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:36.67px;">
|
|
<td colspan="4">
|
|
<asp:TextBox id="txt_Pw" runat="server" TextMode="Password" Font-Names="Verdana" OnTextChanged="txt_Pw_TextChanged"></asp:TextBox>
|
|
<span></span>
|
|
</td>
|
|
<tr style="color:#003680;height:38.67px;">
|
|
<td colspan="4">
|
|
<asp:Label ID="lbl_Hinweis" runat="server" Text="Das Passwort muss über mindestens 4 Stellen, ein Sonderzeichen einen Groß- sowie einen Kleinbuchstaben bei maximal 30 Zeichen verfügen."></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:min-content;">
|
|
<td>
|
|
<% Dim veragregex = New RegexSammlung_VERAG()
|
|
Dim veragpwVAL = veragregex.getregPassword()%>
|
|
<asp:RequiredFieldValidator ID="reqPassw1txt" runat="server" ErrorMessage="Bitte ein Passwort eingeben!" ControlToValidate="txt_Pw" Display="Dynamic"></asp:RequiredFieldValidator>
|
|
<asp:RegularExpressionValidator ControlToValidate="txt_Pw" runat="server" ID="regexval_txt_Pw" ValidationGroup="TXT_val" ValidationExpression="<%=veragpwVAL %>" Display="Dynamic" ErrorMessage="Das Passwort muss mindestens eine Länge von 4 Zeichen, einen Groß- und mindestens einen Kleinbuchstaben sowie ein Sonderzeichen und maximal 30 zeichen enthalten!" SetFocusOnError="true"></asp:RegularExpressionValidator>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:36.67px;">
|
|
<td>
|
|
<asp:Label ID="lbl_PW_WH_Eingabe" CssClass="txt_design" runat="server" Text="Bitte neues Passwort wiederholen:"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:36.67px;">
|
|
<td>
|
|
<asp:TextBox id="txt_Pw_WH" OnTextChanged="txt_Pw_WH_TextChanged" runat="server" TextMode="Password" Font-Names="Verdana"></asp:TextBox>
|
|
<span></span>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:min-content;">
|
|
<td>
|
|
<asp:CompareValidator ID="confirmPasswordReq" runat="server" ControlToCompare="txt_Pw" ControlToValidate="txt_Pw_WH" ErrorMessage="Die Passwörter stimmen nicht überein! nochmal versuchen!" 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_Pw_WH" ValidationGroup="TXT_val" ValidationExpression="<%=veragpwVAL %>" Display="Dynamic" ErrorMessage="Das Passwort muss mindestens eine Länge von 4 Zeichen, einen Groß- und mindestens einen Kleinbuchstaben sowie ein Sonderzeichen und maximal 30 zeichen enthalten!" SetFocusOnError="true"></asp:RegularExpressionValidator>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:36.67px;">
|
|
<td>
|
|
<asp:ScriptManager ID="ScriptManager1" runat="server" />
|
|
<asp:Timer ID="tmr_PWToken" Interval="1000" runat="server" ClientIDMode="Predictable" OnTick="tmr_PWToken_Tick"></asp:Timer>
|
|
|
|
<asp:Button ID="btn_submitpw" runat="server" Text="Passwort wechseln" OnClick="btn_submitpw_Click"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript" src="../js/geturlofsite.js">
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|