Änderungen GUI

This commit is contained in:
ja
2021-10-22 09:24:45 +02:00
parent 67f0dbd992
commit d89d165ddf
3 changed files with 8 additions and 7 deletions

View File

@@ -237,7 +237,7 @@
<table id="tbl_main" cellpadding="0" style="margin:4px 4px 4px 4px; border: none;"> <table id="tbl_main" cellpadding="0" style="margin:4px 4px 4px 4px; border: none;">
<tr style="color:#003680;height:35px;"> <tr style="color:#003680;height:35px;">
<td> <td>
<asp:Button ID="btn_Back" runat="server" Width="265" CausesValidation="false" Text="Back" style="margin-left:49px;"/> <asp:Button ID="btn_Back" runat="server" Width="265" CausesValidation="false" Text="Back" OnClientClick="JavaScript:window.history.back(1);return false;" style="margin-left:49px;"/>
</td> </td>
</tr> </tr>
<tr style="color:#003680; height:32px;font-size:14px"> <tr style="color:#003680; height:32px;font-size:14px">

View File

@@ -448,7 +448,7 @@ Partial Class ForgotPW
ElseIf String.IsNullOrWhiteSpace(HttpContext.Current.Request.ServerVariables("SERVER_NAME")) = True Then ElseIf String.IsNullOrWhiteSpace(HttpContext.Current.Request.ServerVariables("SERVER_NAME")) = True Then
getdomianenvironment = HttpContext.Current.Request.ServerVariables("SERVER_NAME") getdomianenvironment = HttpContext.Current.Request.ServerVariables("SERVER_NAME")
'MsgBox(getdomianenvironment) 'MsgBox(getdomianenvironment)
ServPort = ":" + Request.ServerVariables("SERVER_PORT") ServPort = String.Empty
'pagename = Request.ServerVariables("SCRIPT_NAME") 'pagename = Request.ServerVariables("SCRIPT_NAME")
mailto = email mailto = email
Betreff = "Passwort reset" Betreff = "Passwort reset"
@@ -585,6 +585,7 @@ Partial Class ForgotPW
End If End If
Catch ex As Exception Catch ex As Exception
'MsgBox(Err.Number & ex.Message & ex.StackTrace.ToString) 'Falls ein Fehler auftritt wird eine MsgBox angezeigt 'MsgBox(Err.Number & ex.Message & ex.StackTrace.ToString) 'Falls ein Fehler auftritt wird eine MsgBox angezeigt
lblMessage.Text = "Error12: No Token could be generated! Try to contact the admin."
End Try End Try
Return True Return True
End Function End Function

View File

@@ -272,7 +272,7 @@
<form id="form1" runat="server"> <form id="form1" runat="server">
<!-- Große Bildschirme--> <!-- Große Bildschirme-->
<div class="d-none d-md-block"> <div class="d-none d-md-block">
<asp:Login ID = "Login1" runat = "server" OnAuthenticate= "ValidateUser" LoginButtonType="Link" DisplayRememberMe="true" DestinationPageUrl="../Customers/CustomsAviso.aspx" ValidateRequestMode="Enabled"> <asp:Login ID = "Login1" runat = "server" OnAuthenticate= "ValidateUser" DisplayRememberMe="true" DestinationPageUrl="../Customers/CustomsAviso.aspx" ValidateRequestMode="Enabled">
<LayoutTemplate> <LayoutTemplate>
<center> <center>
<table id="tbl_main" cellpadding="0" style="margin: 22px 0px 6px 6px; border:none"> <table id="tbl_main" cellpadding="0" style="margin: 22px 0px 6px 6px; border:none">
@@ -303,7 +303,7 @@
</tr> </tr>
<tr style="color:#003680; height:55px;"> <tr style="color:#003680; height:55px;">
<td align="left" colspan="2"> <td align="left" colspan="2">
<asp:LinkButton ID="LoginButton" runat="server" CommandName="Login" BorderStyle="None" Text="Login" ValidationGroup="Login" target="_top" OnClientClick="bust2()" Width="320px" Font-Size="20px" style="margin-left:22px; padding:0px 0px 0px 0px"></asp:LinkButton> <asp:LinkButton ID="LoginButton" runat="server" CommandName="Login" BorderStyle="None" Text="Login" ValidationGroup="Login" CssClass="btn btn-primary" target="_top" OnClientClick="bust2()" Width="320px" Font-Size="20px" style="margin-left:22px; padding:0px 0px 0px 0px;background-color:#003680"></asp:LinkButton>
</td> </td>
</tr> </tr>
<tr id="tblrowbuttons" style="color:#003680; height:37px;"> <tr id="tblrowbuttons" style="color:#003680; height:37px;">
@@ -311,7 +311,7 @@
<asp:CheckBox ID="RememberMe" runat="server" ValidationGroup="Login" Text="Remember me." style="margin-left:22px;"/> <asp:CheckBox ID="RememberMe" runat="server" ValidationGroup="Login" Text="Remember me." style="margin-left:22px;"/>
</td> </td>
<td align="right" colspan="4"> <td align="right" colspan="4">
<asp:LinkButton id="btn_ForgotPW" runat="server" target="_top" href="ForgotPW.aspx" style="margin-left:-154px;margin-right:-42px">I forgot my password</asp:LinkButton> <asp:LinkButton id="btn_ForgotPW" runat="server" target="_top" href="ForgotPW.aspx" style="margin-left:-154px;margin-right:-42px">I forgot my password </asp:LinkButton>
</td> </td>
</tr> </tr>
<tr style="color:#003680; height:16px"> <tr style="color:#003680; height:16px">
@@ -326,7 +326,7 @@
</div> </div>
<!--Smartphone-Bildschirme--> <!--Smartphone-Bildschirme-->
<div class="d-md-none"> <div class="d-md-none">
<asp:Login ID = "Login2" runat = "server" OnAuthenticate= "ValidateUser" DestinationPageUrl="../Customers/CustomsAviso.aspx" > <asp:Login ID = "Login2" runat = "server" OnAuthenticate= "ValidateUser" DisplayRememberMe="true" DestinationPageUrl="../Customers/CustomsAviso.aspx" ValidateRequestMode="Enabled">
<LayoutTemplate> <LayoutTemplate>
<center> <center>
<table id="tbl_main_M" cellpadding="0" style="margin: 4px 0px 4px 4px;border:none"> <table id="tbl_main_M" cellpadding="0" style="margin: 4px 0px 4px 4px;border:none">
@@ -357,7 +357,7 @@
</tr> </tr>
<tr style="color:#003680; height:143px;"> <tr style="color:#003680; height:143px;">
<td align="left" colspan="2"> <td align="left" colspan="2">
<asp:Button ID="LoginButton_M" runat="server" CommandName="Login" BorderStyle="None" Text="Login" ValidationGroup="Login_M" target="_top" OnClientClick="bust2()" Width="320px" Font-Size="20px" style="margin-left:22px; padding:0px 0px 0px 0px"/> <asp:LinkButton ID="LoginButton_M" runat="server" CommandName="Login" BorderStyle="None" ValidationGroup="Login_M" CssClass="btn btn-primary" target="_top" OnClientClick="bust2()" Width="320px" Font-Size="20px" style="margin-left:22px; padding:0px 0px 0px 0px;background-color:#003680;height:52px"><center><label for="LoginButton_M" style="margin:0 auto; margin-top:13px">Login</label></center></asp:LinkButton>
</td> </td>
</tr> </tr>
<tr style="color:#003680; height:46px;"> <tr style="color:#003680; height:46px;">