diff --git a/App_Code/RegexSammlung_VERAG.vb b/App_Code/RegexSammlung_VERAG.vb index a2e8a94..b4df790 100644 --- a/App_Code/RegexSammlung_VERAG.vb +++ b/App_Code/RegexSammlung_VERAG.vb @@ -2,20 +2,8 @@ Imports Microsoft.VisualBasic Public Class RegexSammlung_VERAG - Function getregEmail() As String - Dim strtemp As String = "\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" - Return strtemp - End Function - Function getregUID() As String - Dim strtemp As String = "^[0-9]" - Return strtemp - End Function - Function getregPassword() As String - Dim strtemp As String = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{4,35}$" - Return strtemp - End Function - Function getUsername() As String - 'Not implemented yet! - Return "" - End Function + Public Shared email As String = "[\w\.]+\@[\w]+(?:\.[\w]{3}|\.[\w]{2}\.[\w]{2}|\.[\w]{2})\b" + Public Shared UID As String = "[0-9].{4,10}" + Public Shared PW As String = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{4,35}$" + Public Shared UserName As String = "^(A-Z]).{4,30}$" End Class diff --git a/css/login/ForgotPW.css b/css/login/ForgotPW.css index 34f757e..2572850 100644 --- a/css/login/ForgotPW.css +++ b/css/login/ForgotPW.css @@ -9,10 +9,12 @@ background-color: #fff; overflow-y: clip; } + #Login1_LoginButton { color: #fff; background-color: #003680; } + #content_container { display: flex; justify-content: center; @@ -20,22 +22,25 @@ width: 1024px; height: 800px; margin: 0 auto; - margin-top: 20px; + margin-top: 0px; } + .container-fluid { - width: 464px; - height: 379px; + width: 400px; + height: 274px; background-color: rgba(255,255,255,0.5); margin: 0 auto; - margin-top: 220px; + margin-top: 50%; } + #tbl_main { font-family: Arial; font-size: 11px; border: 1px solid gray; width: 400px; - height: 379px; + height: 250px; } + #lbl_Ueberschrift { background-color: #003680; font-size: 2.55em; @@ -65,6 +70,13 @@ color: #fff; width: 140px; height: 25px; + color: #fff; + font-size: 20px; + font-weight: 600; + margin-left: 122px; + margin-right: auto; + border:none; + margin-top: 40px; } #btn_Send { background-color: #003680; diff --git a/css/login/loginFLEX.css b/css/login/loginFLEX.css index c28b988..0689445 100644 --- a/css/login/loginFLEX.css +++ b/css/login/loginFLEX.css @@ -12,8 +12,7 @@ #Login1_LoginButton { color: #fff; background-color: #003680; - width: -} + } #content_container { display: flex; justify-content: center; @@ -21,21 +20,21 @@ width: 1024px; height: 800px; margin: 0 auto; - margin-top: 20px; + margin-top: 0px; } .container-fluid { - width: 400px; - height: 400px; + width: 400px; + height: 274px; background-color: rgba(255,255,255,0.5); margin: 0 auto; - margin-top: 220px; + margin-top: 50%; } #tbl_main { font-family: Arial; font-size: 11px; border: 1px solid gray; width: 400px; - height: 400px; + height: 250px; } #lbl_login { color: #003680; diff --git a/login/ChangePW.aspx b/login/ChangePW.aspx index 31d75ef..4edde46 100644 --- a/login/ChangePW.aspx +++ b/login/ChangePW.aspx @@ -94,11 +94,9 @@