diff --git a/css/login/ForgotPW.css b/css/login/ForgotPW.css index c73d433..b95e018 100644 --- a/css/login/ForgotPW.css +++ b/css/login/ForgotPW.css @@ -10,17 +10,6 @@ overflow-y: clip; overflow-x: clip; } -.container-fluid { - width: 500px; - height: 473px; - position: absolute; - background-color: rgba(255,255,255,0.5); - top: 50%; - bottom: 50%; - left: 50%; - right: 50%; - margin: -140px auto auto -180px; -} #Login1_LoginButton { color: #fff; background-color: #003680; @@ -41,15 +30,13 @@ width: 400px; height: 260px; margin-block: auto inherit; - margin: 0% -20% 50% 50%; + margin: -187px -20% 50% 50%; } - #lbl_Ueberschrift { background-color: #003680; font-size: 2.55em; color: #fff; } - .txt_design { color: #003680; font-size: 1.65em; diff --git a/css/login/loginFLEX.css b/css/login/loginFLEX.css index c679373..ddca493 100644 --- a/css/login/loginFLEX.css +++ b/css/login/loginFLEX.css @@ -35,7 +35,7 @@ left: -20%; right: 520px; margin: 0 auto; - margin-top:430px; + margin-top:370px; } #tbl_main { font-family: Arial; diff --git a/login/Change_PW.aspx b/login/Change_PW.aspx index d1f058a..945d278 100644 --- a/login/Change_PW.aspx +++ b/login/Change_PW.aspx @@ -101,7 +101,7 @@ .container-fluid { width: 390px; background-color: rgba(255,255,255,0.5); - height: 613px; + height:423px; top:50%; bottom: -4px; left: -195px; @@ -213,7 +213,7 @@ @@ -259,7 +259,8 @@ @@ -300,7 +301,7 @@
- +
- + +
@@ -348,7 +349,7 @@ diff --git a/login/Change_PW.aspx.vb b/login/Change_PW.aspx.vb index f0c0fac..557b5f3 100644 --- a/login/Change_PW.aspx.vb +++ b/login/Change_PW.aspx.vb @@ -121,19 +121,20 @@ Partial Class login_Change_PW Protected Sub btn_submitpw_Click(sender As Object, e As EventArgs) Dim tempstr As String = "" Dim Msg, Style, Title As String + reqPassw1txt_M.Enabled = False + reqPasswtxt_M.Enabled = False + reqPasswtxt.Enabled = True + reqPassw1txt.Enabled = True + reqPasswtxt.Validate() + If reqPasswtxt.IsValid = True Then + txt_Pw_WH.Enabled = True + reqPassw1txt.Validate() + End If If String.IsNullOrEmpty(txt_Pw.Text) = False AndAlso String.IsNullOrEmpty(txt_Pw_WH.Text) = False AndAlso String.IsNullOrEmpty(txt_Pw_M.Text) = True AndAlso String.IsNullOrEmpty(txt_Pw_WH_M.Text) = True Then txt_Pw_WH.Enabled = False - reqPassw1txt_M.Enabled = False - reqPasswtxt_M.Enabled = False - reqPasswtxt.Enabled = True - reqPassw1txt.Enabled = True - reqPasswtxt.Validate() - If reqPasswtxt.IsValid = True Then - txt_Pw_WH.Enabled = True - reqPassw1txt.Validate() - End If + Dim ConnectionString = "" @@ -182,17 +183,6 @@ Partial Class login_Change_PW If String.Equals(txt_Pw.Text, tempstr) = True AndAlso String.Equals(txt_Pw_WH.Text, tempstr) = True AndAlso String.IsNullOrEmpty(txt_Pw_M.Text) = True And String.IsNullOrEmpty(txt_Pw_WH_M.Text) = True And String.Equals(tempstr, "Error01") = False And tempstr = "Error02" Then - - txt_Pw_WH_M.Enabled = False - reqPasswtxt.Enabled = False - reqPassw1txt.Enabled = False - reqPassw1txt.Enabled = True - reqPasswtxt.Enabled = True - reqPasswtxt.Validate() - If reqPasswtxt.IsValid = True Then - txt_Pw_WH.Enabled = True - regexval_txt_Pw.Validate() - End If If regexval_txt_Pw.IsValid = True Then Try Dim ConnectionString = "" @@ -310,13 +300,19 @@ Partial Class login_Change_PW Protected Sub btn_submitpw_M_Click(sender As Object, e As EventArgs) Dim tempstr As String = "" Dim ConnectionString = "" - If String.IsNullOrEmpty(txt_Pw_M.Text) = False AndAlso String.IsNullOrEmpty(txt_Pw_WH_M.Text) = False AndAlso String.IsNullOrEmpty(txt_Pw.Text) = True AndAlso String.IsNullOrEmpty(txt_Pw_WH.Text) = True Then - reqPasswtxt.Enabled = False - reqPasswtxt.Enabled = False - reqPasswtxt_M.Enabled = True - reqPassw1txt_M.Enabled = True - reqPasswtxt_M.Validate() + confirmPasswordReq.Enabled = False + confirmPasswordReq_M.Enabled = True + confirmPasswordReq_M.Validate() + reqPasswtxt.Enabled = False + reqPasswtxt.Enabled = False + reqPasswtxt_M.Enabled = True + reqPassw1txt_M.Enabled = True + reqPasswtxt_M.Validate() + If reqPasswtxt_M.IsValid Then reqPassw1txt_M.Validate() + End If + If String.IsNullOrEmpty(txt_Pw_M.Text) = False AndAlso String.IsNullOrEmpty(txt_Pw_WH_M.Text) = False AndAlso String.IsNullOrEmpty(txt_Pw.Text) = True AndAlso String.IsNullOrEmpty(txt_Pw_WH.Text) = True Then + If reqPasswtxt_M.IsValid = True AndAlso reqPassw1txt_M.IsValid = True Then If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then diff --git a/login/ForgotPW.aspx b/login/ForgotPW.aspx index 4c76f13..cb18d75 100644 --- a/login/ForgotPW.aspx +++ b/login/ForgotPW.aspx @@ -55,16 +55,16 @@ color: #003680; font-size: 1.725em; } - .container-fluid { + .container-fluid { width: 400px; height: 473px; position:absolute; background-color: rgba(255,255,255,0.5); - top:50%; + top:44%; bottom: 50%; left: 50%; right: 50%; - margin: -140px auto auto -180px; + margin: -148px auto auto -180px; } @media (max-width: 558.98px) { body { @@ -87,14 +87,14 @@ width: 390px; height: 613px; margin: 0 auto; - margin-top: 25%; + margin-top: 0px; margin-left: 5%; } .container-fluid { width: 395px; height: 613px; background-color: rgba(255,255,255,0.5); - top:50%; + top:0%; bottom: auto; left: -2px; right: 2020px; @@ -298,10 +298,10 @@
-
- +
- +
+
@@ -330,8 +330,8 @@ -
- +
-
+
+
@@ -351,7 +351,7 @@
- +
diff --git a/login/login_FLEX.aspx b/login/login_FLEX.aspx index 2e9f461..499f905 100644 --- a/login/login_FLEX.aspx +++ b/login/login_FLEX.aspx @@ -232,7 +232,6 @@ margin-left:8px; color:#003680; } - }