134 lines
7.3 KiB
Plaintext
134 lines
7.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/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>
|
|
.bg-key-icon {
|
|
background: url("../../images/Icons/service/key-icon-png-22_small.png") no-repeat 1.75% 10px white;
|
|
padding-left: 28px;
|
|
padding-right: 50px;
|
|
width: 227px;
|
|
height: 28px;
|
|
border: 1px gray solid;
|
|
border-radius: 5px 5px 0px 0px;
|
|
margin-left: -4px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="content_container">
|
|
<div class="container-fluid">
|
|
<form id="form1" runat="server">
|
|
<center>
|
|
<table id="tbl_main" cellpadding="0" style="margin: 2px 4px 1px 2px">
|
|
<tr style="color:#003680;height:38px;">
|
|
<td>
|
|
<asp:Label ID="lbl_Ueberschrift" runat="server" Text="Passwortwechsel:" style="margin-left:75px"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:36.67px;">
|
|
<td colspan="4">
|
|
<asp:TextBox id="txt_Pw" CssClass="bg-key-icon" runat="server" TextMode="Password" Width="250px" Font-Names="Verdana" OnTextChanged="txt_Pw_TextChanged" AutoCompleteType="Disabled" style="margin-left:22px;color:#003680" OnClick="this.value='';"></asp:TextBox>
|
|
<span></span>
|
|
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/Icons/service/hilfe.png" Height="13px" Width="13px" style="margin-left:12px" ToolTip="Das Passwort muss über mindestens 4 Stellen, ein Sonderzeichen, einen Groß- sowie einen Kleinbuchstaben bei maximal 30 Zeichen verfügen."/>
|
|
</td>
|
|
|
|
<tr style="color:#003680;height:12px;">
|
|
<td>
|
|
<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="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{4,35}$" Display="Dynamic" ErrorMessage="Das Passwort muss mindestens den Kriterien des Info-Symbols entsprechen!" SetFocusOnError="true"></asp:RegularExpressionValidator>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr style="color:#003680;height:36.67px;">
|
|
<td>
|
|
<asp:TextBox id="txt_Pw_WH" CssClass="bg-key-icon" Width="250px" OnTextChanged="txt_Pw_WH_TextChanged" runat="server" TextMode="Password" Font-Names="Verdana" AutoCompleteType="Disabled" style="margin-left:22px;color:#003680" OnClick="this.value='';"></asp:TextBox>
|
|
<span></span>
|
|
<asp:Image ID="Image2" runat="server" ImageUrl="~/images/Icons/service/hilfe.png" Height="13px" Width="13px" style="margin-left:12px" ToolTip="Das Passwort muss mit dem vorherigen Feld übereinstimmen."/>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:12px;">
|
|
<td>
|
|
<asp:CompareValidator ID="confirmPasswordReq" runat="server" ControlToCompare="txt_Pw" ControlToValidate="txt_Pw_WH" ErrorMessage="Die Passwörter stimmen nicht überein!Bitte nochmals 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="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{4,35}$" Display="Dynamic" ErrorMessage="Das Passwort muss mindestens den Kriterien des Info-Symbols entsprechen!" SetFocusOnError="true"></asp:RegularExpressionValidator>
|
|
</td>
|
|
</tr>
|
|
<tr style="color:#003680;height:36.67px;">
|
|
<td>
|
|
|
|
<asp:Button ID="btn_submitpw" runat="server" Text="Passwort wechseln" OnClick="btn_submitpw_Click" Width="340px" style="margin-left:27px;border:none"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript" src="../js/geturlofsite.js">
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|