Login wurde angepasst und die Designs überarbeitet bzw aneinander angepasst.

This commit is contained in:
ja
2021-10-06 16:02:58 +02:00
parent c5c53c0216
commit d1a4cd5120
8 changed files with 200 additions and 69 deletions

View File

@@ -13,7 +13,7 @@
<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/login/ChangePW.css"/>
<link rel="stylesheet" type="text/css" href="../css/example.css"/>
<script type="text/javascript">
@@ -69,52 +69,58 @@
<body>
<div id="content_container">
<div class="container-fluid">
<form id="form1" runat="server">
<form id="form1" runat="server">
<center>
<table id="tbl_main" cellpadding="0">
<tr style="background-color:#fff; color:#003680;height:30px;">
<tr style="color:#003680;height:38px;">
<td>
<asp:Label ID="Label1" runat="server" style="background-color:#003680" ForeColor="White" Text="Passwortwechsel:" Font-Size="Large"></asp:Label>
<asp:Label ID="lbl_Ueberschrift" runat="server" Text="Passwortwechsel:"></asp:Label>
</td>
</tr>
<tr style="background-color:#fff; color:#003680;height:30px;">
<tr style="color:#003680;height:36.67px;">
<td>
<asp:Label ID="lbl_PWEingabe" runat="server" Text="Bitte neues Passwort eingeben:"></asp:Label>
<asp:Label ID="lbl_PWEingabe" CssClass="txt_design" 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 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>
</td>
<tr style="color:#003680;height:36.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="background-color:#fff; color:#003680;height:fit-content;">
<tr style="color:#003680;height:min-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>
<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,30}$" Display="Dynamic" ErrorMessage="Das Passwort muss mindestens eine Länge von Zeichen, einen Groß- und mindestens einen Kleinbuchstaben sowie ein Sonderzeichen enthalten!" SetFocusOnError="true"></asp:RegularExpressionValidator>
</td>
</tr>
<tr style="background-color:#fff; color:#003680;height:30px;">
<tr style="color:#003680;height:36.67px;">
<td>
<asp:Label ID="lbl_PW_WH_Eingabe" runat="server" Text="Bitte neues Passwort wiederholen:"></asp:Label>
<asp:Label ID="lbl_PW_WH_Eingabe" CssClass="txt_design" runat="server" Text="Bitte neues Passwort wiederholen:"></asp:Label>
</td>
</tr>
<tr style="background-color:#fff; color:#003680;height:30px;">
<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>
<asp:TextBox id="txt_Pw_WH" OnTextChanged="txt_Pw_WH_TextChanged" AutoPostBack="true" runat="server" TextMode="Password" Font-Names="Verdana"></asp:TextBox>
</td>
</tr>
<tr style="background-color:#fff; color:#003680;height:fit-content;">
<tr style="color:#003680;height:min-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: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_KdNrAuftrag" ValidationGroup="TXT_val" ValidationExpression="[0-9]{7}" Display="Dynamic" ErrorMessage="Falsche Eingabe!" SetFocusOnError="true"></asp:RegularExpressionValidator>
<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,30}$" Display="Dynamic" ErrorMessage="Das Passwort muss mindestens eine Länge von Zeichen, einen Groß- und mindestens einen Kleinbuchstaben sowie ein Sonderzeichen enthalten!" SetFocusOnError="true"></asp:RegularExpressionValidator>
</td>
</tr>
<tr style="background-color:#fff; color:#003680;height:30px;">
<tr style="color:#003680;height:36.67px;">
<td>
<asp:Button ID="btn_submitpw" runat="server" Text="Passwort wechseln" OnClick="btn_submitpw_Click"/>
</td>
</tr>
</table>
</center>
</form>
</div>
</div>