diff --git a/css/login/Changepw.css b/css/login/Changepw.css index 227f455..517a0d2 100644 --- a/css/login/Changepw.css +++ b/css/login/Changepw.css @@ -108,8 +108,10 @@ width: 400px; height: 379px; } -#lbl_Ueberschrift { - font-size: 1.139em; +#lbl_Ueberschrift { + background-color: #003680; + font-size: 2.55em; + color:#fff; } .txt_design { color: #003680; @@ -130,7 +132,4 @@ color:#fff; width:200px; height:35px; -} -#Image2{ - margin-left:275px; } \ No newline at end of file diff --git a/css/login/ForgotPW.css b/css/login/ForgotPW.css index 3fb359f..e662217 100644 --- a/css/login/ForgotPW.css +++ b/css/login/ForgotPW.css @@ -47,6 +47,12 @@ margin-top:40px; } +#lbl_Ueberschrift { + background-color: #003680; + font-size: 2.55em; + color: #fff; +} + .txt_design { color: #003680; font-size: 1.65em; diff --git a/login/Change_PW.aspx b/login/Change_PW.aspx index 8d2ba81..72e1284 100644 --- a/login/Change_PW.aspx +++ b/login/Change_PW.aspx @@ -78,34 +78,31 @@ background-color: #fff; overflow-y: clip; overflow-x: clip; - max-width: 390px; + max-width:390px; } - h1 { color: #043381; font-size: 22px; } - h2 { color: #043381; font-size: 30px; } - - #content_container { + #content_container { display: flex; justify-content: center; align-items: center; width: 390px; height: 613px; margin: 0 auto; - margin-left: 10%; + margin-left:10%; } - .container-fluid { - width: 390px; - background-color: rgba(255,255,255,0.5); - height: 613px; - top: 50%; + .container-fluid { + width: 390px; + background-color: rgba(255,255,255,0.5); + height: 613px; + top:50%; bottom: -4px; left: -195px; right: 520px; @@ -118,109 +115,90 @@ border: 1px solid gray; width: 300px; height: 613px; - margin-top: 80px; + margin-top:80px; } - - #btn_submitpw_M { + #btn_submitpw_M{ background-color: #003680; color: #fff; width: 325px; height: 32px; margin-bottom: 0px; - margin-left: -15px; + margin-left:-15px; padding-inline: 2px 2px; padding: -10px 0px 10px 1px; - font-weight: 600; + font-weight:600; } - - #lbl_Ueberschrift_M { - background-color: none; - font-size: 1.85em; - color: #003680; + #lbl_Ueberschrift_M{ + font-size:30px; + margin-left:15px; } - - #Image2 { - margin-left: 275px; + } + @media (max-width: 323px) { + body { + font-family: 'Poppins', sans-serif; + background: #fafafa; + background-image: url(../../images/road.jpg); + background-position: center center; + background-repeat: no-repeat; + background-attachment: fixed; + background-size: cover; + background-color: #fff; + overflow-y: clip; + overflow-x: clip; + max-width:323px; } - - @media (max-width: 323px) { - body { - font-family: 'Poppins', sans-serif; - background: #fafafa; - background-image: url(../../images/road.jpg); - background-position: center center; - background-repeat: no-repeat; - background-attachment: fixed; - background-size: cover; - background-color: #fff; - overflow-y: clip; - overflow-x: clip; - max-width: 323px; - } - - h1 { - color: #043381; - font-size: 24px; - } - - h2 { - color: #043381; - font-size: 30px; - } - - #content_container { - display: flex; - justify-content: center; - align-items: center; - width: 323px; - height: 613px; - margin: 0 auto; - margin-left: 10%; - } - - .container-fluid { - width: 325px; - background-color: rgba(255,255,255,0.5); - height: 613px; - top: 50%; - bottom: -4px; - left: -195px; - right: 520px; - margin: 0 auto; - } - - #tbl_main_M { - font-family: Arial; - font-size: 11px; - border: 1px solid gray; - width: 323px; - height: 613px; - margin-top: 80px; - } - - #btn_submitpw_M { - background-color: #003680; - color: #fff; - width: 315px; - height: 32px; - margin-bottom: 0px; - margin-left: -15px; - padding-inline: 2px 2px; - padding: -10px 0px 10px 1px; - font-weight: 600; - font-size: 14px; - } - - #lbl_Ueberschrift_M { - background-color: none; - font-size: 1.85em; - color: #003680; - } - - #Image2 { - margin-left: 275px; - } + h1 { + color: #043381; + font-size: 24px; } + h2 { + color: #043381; + font-size: 30px; + } + #content_container { + display: flex; + justify-content: center; + align-items: center; + width: 323px; + height: 613px; + margin: 0 auto; + margin-left:10%; + } + .container-fluid { + width: 325px; + background-color: rgba(255,255,255,0.5); + height: 613px; + top:50%; + bottom: -4px; + left: -195px; + right: 520px; + margin: 0 auto; + } + #tbl_main_M { + font-family: Arial; + font-size: 11px; + border: 1px solid gray; + width: 323px; + height: 613px; + margin-top:80px; + } + #btn_submitpw_M{ + background-color: #003680; + color: #fff; + width: 315px; + height: 32px; + margin-bottom: 0px; + margin-left:-15px; + padding-inline: 2px 2px; + padding: -10px 0px 10px 1px; + font-weight:600; + font-size:14px; + } + #lbl_Ueberschrift_M{ + font-size:26px; + margin-left:15px; + } + } @@ -235,35 +213,43 @@ - + @@ -315,7 +301,7 @@
- +
- +
- The Password has at least to contain: + The Password has to contain:
-
    +
    • - 1 Upper- and 1 lowercase letter + 1 Uppercase
    • - +
    • - one special letter + 1 Downcase
    • - between 4 and 30 characters + and one special letter +
    • +
    • + at an minimal length of 4 and an maximal
    +
      +
    • + length of 30 characters. +
    • +
@@ -323,27 +309,35 @@
- +
- +
- The Password has at least to contain: + The Password has to contain:
+ + diff --git a/login/Change_PW.aspx.vb b/login/Change_PW.aspx.vb index df59545..9d9c3bd 100644 --- a/login/Change_PW.aspx.vb +++ b/login/Change_PW.aspx.vb @@ -220,7 +220,7 @@ Partial Class login_Change_PW btn_submitpw.Visible = True Else VERAG_VARIABLES.seterrorcount(25) - 'lbl_messagetext.Text = VERAG_VARIABLES.geterrornumb() + "Fehler bei der Behebung des Passwortwechsels." + lbl_messagetext.Text = VERAG_VARIABLES.geterrornumb() + "Fehler bei der Behebung des Passwortwechsels." End If End Using con.Close() @@ -228,8 +228,8 @@ Partial Class login_Change_PW End If Else VERAG_VARIABLES.seterrorcount(22) - 'lbl_messagetext_M.ForeColor = Drawing.Color.Red - 'lbl_messagetext_M.Text = VERAG_VARIABLES.geterrornumb() + "Error bei der Validierung des Kennwortes." + lbl_messagetext_M.ForeColor = Drawing.Color.Red + lbl_messagetext_M.Text = VERAG_VARIABLES.geterrornumb() + "Error bei der Validierung des Kennwortes." End If Catch ex As Exception lbl_messagetext.Text = ex.Message @@ -246,7 +246,7 @@ Partial Class login_Change_PW ElseIf tempstr = "Error01" Then regexval_txt_Pw.ForeColor = Drawing.Color.MediumVioletRed VERAG_VARIABLES.seterrorcount(2) - 'regexval_txt_Pw.Text = VERAG_VARIABLES.geterrornumb + "Passwords could not be found!" + regexval_txt_Pw.Text = VERAG_VARIABLES.geterrornumb + "Passwort konnte nicht erfolgreich geändert werden!" ' Msg = "PW nicht erfolgreich geändert!" ' Style = vbAbortRetryIgnore + vbCritical + vbDefaultButton1 ' Title = "Error" @@ -268,7 +268,7 @@ Partial Class login_Change_PW ' btn_submitpw.Enabled = True Else lbl_messagetext.ForeColor = Drawing.Color.Red - lbl_messagetext.Text = "No matching Passwords found!" + lbl_messagetext.Text = "Passwörter stimmen nicht überein." 'btn_submitpw.Enabled = False End If End Sub @@ -302,7 +302,7 @@ Partial Class login_Change_PW 'btn_submitpw_M.Enabled = True Else lbl_messagetext_M.ForeColor = Drawing.Color.Red - lbl_messagetext_M.Text = "No matching Passwords found. Try again!" + lbl_messagetext_M.Text = "Passwörter stimmen nicht überein." 'btn_submitpw.Enabled = False End If End Sub @@ -347,7 +347,7 @@ Partial Class login_Change_PW tempstr = txt_Pw_M.Text Else lbl_messagetext_M.ForeColor = Drawing.Color.Red - lbl_messagetext_M.Text = "The Passwords have to differ from the older ones." + lbl_messagetext_M.Text = "Die gewählten Passwörter dürfen nicht dem alten entsprechen!" End If End If dr.Close() @@ -381,7 +381,7 @@ Partial Class login_Change_PW If String.Equals(usrname, VERAG_PROG_ALLGEMEIN.cCryptography2.Decrypt("Par2"), CompareMethod.Text) = True Then cmd.ExecuteNonQuery() regexval_txt_Pw_M.ForeColor = Drawing.Color.Green - regexval_txt_Pw_M.Text = "Passwort has been changed successfully!" + regexval_txt_Pw_M.Text = "Passwort wurde erfolgreich geändert!" End If End Using con.Close() @@ -398,7 +398,7 @@ Partial Class login_Change_PW ElseIf tempstr = "Error01" Then regexval_txt_Pw_M.ForeColor = Drawing.Color.MediumVioletRed VERAG_VARIABLES.seterrorcount(2) - 'regexval_txt_Pw_M.Text = VERAG_VARIABLES.geterrornumb + "Passwort konnte nicht erfolgreich geändert werden!" + regexval_txt_Pw_M.Text = VERAG_VARIABLES.geterrornumb + "Passwort konnte nicht erfolgreich geändert werden!" ' Msg = "PW nicht erfolgreich geändert!" ' Style = vbAbortRetryIgnore + vbCritical + vbDefaultButton1 ' Title = "Error" diff --git a/login/ForgotPW.aspx b/login/ForgotPW.aspx index e31c8e1..54489d5 100644 --- a/login/ForgotPW.aspx +++ b/login/ForgotPW.aspx @@ -95,10 +95,14 @@ font-size: 11px; border: 1px solid gray; width: 395px; - height: 713px; + height: 713px; } - + #lbl_Ueberschrift_M { + background-color: #003680; + font-size: 1.85em; + color: #fff; + } #lbl_login_M { background-color: #003680; font-size: 2em; @@ -287,12 +291,12 @@
-
+
- +
- + @@ -361,11 +370,7 @@ - - + +
- +
- +
- +
- - -
@@ -373,7 +378,10 @@
+ +
diff --git a/login/ForgotPW.aspx.vb b/login/ForgotPW.aspx.vb index ecd9f66..4b94fac 100644 --- a/login/ForgotPW.aspx.vb +++ b/login/ForgotPW.aspx.vb @@ -62,13 +62,13 @@ Partial Class ForgotPW regexval_txt_Email_2.Validate() If regexval_txt_Email_2.IsValid = True Then email = txtEmail.Text - lblMessage.ForeColor = Drawing.Color.Green + lblMessage.ForeColor = Drawing.Color.Lime lblMessage.Text = "E-mail Addresse ist validiert.." End If Else regexval_txt_Email.Validate() If regexval_txt_Email.IsValid = True Then - lblMessage.ForeColor = Drawing.Color.Green + lblMessage.ForeColor = Drawing.Color.Lime lblMessage.Text = "E-mail Adresse ist korrekt." email = txtEmail.Text End If @@ -98,7 +98,7 @@ Partial Class ForgotPW Else username = txt_Username.Text isusrnmright = True - check_UserName_regex.ForeColor = Drawing.Color.Green + check_UserName_regex.ForeColor = Drawing.Color.Lime check_UserName_regex.ErrorMessage = "Ein korrekter Benutzername ist eingegeben worden." End If End If @@ -147,7 +147,7 @@ Partial Class ForgotPW ElseIf String.IsNullOrEmpty(txt_Username.Text) = True Then check_UserName_regex.MatchTimeout = 3000 VERAG_VARIABLES.seterrorcount(5) - check_UserName_regex.ErrorMessage = "Kein passender Benutzername wurde in der Datenbank gefunden!" + check_UserName_regex.ErrorMessage = VERAG_VARIABLES.geterrornumb + "Kein passender Benutzername wurde in der Datenbank gefunden!" isusrnmright = False Try check_UserName_regex.Validate() @@ -164,7 +164,7 @@ Partial Class ForgotPW lblMessage.ForeColor = Color.Red isemailright = False VERAG_VARIABLES.seterrorcount(6) - lblMessage.Text = "Die eingegebene E-Mail passt nicht zum Datenbankeintrag. Bitte erneut versuchen." + lblMessage.Text = VERAG_VARIABLES.geterrornumb + "Die eingegebene E-Mail passt nicht zum Datenbankeintrag. Bitte erneut versuchen." Else lblMessage_M.ForeColor = Color.Red isemailright = False diff --git a/login/login_FLEX.aspx b/login/login_FLEX.aspx index 5050b0a..d080f23 100644 --- a/login/login_FLEX.aspx +++ b/login/login_FLEX.aspx @@ -115,7 +115,7 @@ align-items: center; width: 395px; height: 613px; - margin: 0 auto auto -2px 0px; + margin: 0 auto auto -2px; margin-top: 0px; } @@ -125,9 +125,9 @@ background-color: rgba(255,255,255,0.5); top:50%; bottom: auto; - left: -132px; + left: -192px; right: 520px; - margin: auto auto auto 45px; + margin: auto auto auto -2px; } #tbl_main_M { font-family: Arial; @@ -135,7 +135,7 @@ border: 1px solid gray; width: 295px; height: 613px; - margin: 5px auto auto 0px; + margin: auto auto auto -2px; } #lbl_Ueberschrift_M { background-color: #003680; @@ -274,7 +274,7 @@ @@ -325,10 +325,10 @@
-
- +
+
@@ -356,10 +356,10 @@
- +
- + - I forgot my password + I forgot my password