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

@@ -69,68 +69,70 @@
<div class="container-fluid">
<form id="form1" runat="server">
<asp:Login ID = "Login1" runat = "server" OnAuthenticate= "ValidateUser" ClientIDMode="AutoID" DestinationPageUrl="../Customers/CustomsAviso.aspx" >
<LayoutTemplate>
<table cellpadding="0" style="font-family:Arial;font-size:11px;border:1px solid gray">
<LayoutTemplate>
<center>
<table cellpadding="0" style="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>
</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 style="color:#003680; height:50px;">
<td align="center" colspan="2" style="color:#003680;font-kerning:auto;font-weight:700;">
<asp:Label ID="lbl_login" runat="server" Text="Login" CssClass="txt_design" ></asp:Label></td>
</tr>
<tr>
<tr style="color:#003680; height:50px;">
<td align="right">
<asp:Label ID="CustomerIDLabel" runat="server" AssociatedControlID="CustomerID" required="true">Kundennummer:</asp:Label>
<asp:Label ID="CustomerIDLabel" runat="server" AssociatedControlID="CustomerID" CssClass="txt_design">Kundennummer:</asp:Label>
</td>
<td>
<asp:TextBox ID="CustomerID" runat="server" TextMode="Number"></asp:TextBox>
<asp:TextBox ID="CustomerID" runat="server" TextMode="Number" required="true"></asp:TextBox>
<asp:RequiredFieldValidator ID="CustomerIDrequired" runat="server" ControlToValidate="CustomerID" ErrorMessage="Die Kundennummer ist erforderlich." ToolTip="Die Kundennummer ist erforderlich." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<tr style="color:#003680; height:50px;">
<td align="right">
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" required="true">Benutzername:</asp:Label>
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" CssClass="txt_design">Benutzername:</asp:Label>
</td>
<td>
<asp:TextBox ID="UserName" runat="server" TextMode="SingleLine"></asp:TextBox>
<asp:TextBox ID="UserName" runat="server" TextMode="SingleLine" required="true"></asp:TextBox>
<asp:RequiredFieldValidator ID="UserNamerequired" runat="server" ControlToValidate="UserName" ErrorMessage="Der Benutzername ist erforderlich." ToolTip="Der Benutzername ist erforderlich." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<tr style="color:#003680; height:50px;">
<td align="right">
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" required="true">Kennwort:</asp:Label>
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" CssClass="txt_design">Kennwort:</asp:Label>
</td>
<td>
<asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
<asp:TextBox ID="Password" runat="server" TextMode="Password" required="true"></asp:TextBox>
<asp:RequiredFieldValidator ID="Passwordrequired" runat="server" ControlToValidate="Password" ErrorMessage="Das Kennwort ist erforderlich." ToolTip="Das Kennwort ist erforderlich." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<tr style="color:#003680; height:50px;">
<td>
<asp:CheckBox ID="RememberMe" runat="server" Text="Anmeldedaten speichern." />
</td>
</tr>
<tr>
<tr style="color:#003680; height:fit-content;">
<td align="center" colspan="2" style="color:Red;">
<asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
</td>
</tr>
<tr>
<tr style="color:#003680; height:50px;">
<td align="left" colspan="2">
<br/> <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Login" ValidationGroup="Login1" target="_top" OnClientClick="bust2()"/>
</td>
<tr>
<tr style="color:#003680; height:50px;">
<td align="middle" colspan="2">
<asp:LinkButton ID="LinkButton1" runat="server" target="_top" OnClientClick="bust2()">Admin-Login</asp:LinkButton>
</td>
</tr>
<tr>
<tr style="color:#003680; height:50px;">
<td align="left" colspan="2">
<a ID="LinkButton2" runat="server" target="_top" href="ForgotPW.aspx">Passwort Vergessen</a>
</td>
</td>
</tr>
</table>
</table>
</center>
</LayoutTemplate>
</asp:Login>
</form>