Änderungen design login pages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%@ Page Title="Aufträge VERAG" Language="VB" MasterPageFile="~/Customers/Customers.master" AutoEventWireup="false" CodeFile="CustomsAviso.aspx.vb" Inherits="Kundenbereich_Default" UnobtrusiveValidationMode="None"%>
|
||||
<%@ Page Title="Aufträge VERAG" Language="VB" MasterPageFile="~/Customers/Customers.master" AutoEventWireup="false" CodeFile="CustomsAviso.aspx.vb" Inherits="CustomsAviso_Default" UnobtrusiveValidationMode="None"%>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
|
||||
<!-- Bootstrap -->
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Imports System.Data
|
||||
Imports System.Web.UI.HtmlControls
|
||||
|
||||
Partial Class Kundenbereich_Default
|
||||
Partial Class CustomsAviso_Default
|
||||
Inherits System.Web.UI.Page
|
||||
Dim datevon As DateTime
|
||||
Dim datebis As DateTime
|
||||
@@ -68,8 +68,8 @@ Partial Class Kundenbereich_Default
|
||||
|
||||
datevon = Date.Parse(pickdate1.Text)
|
||||
datebis = Date.Parse(pickdate2.Text)
|
||||
Else
|
||||
normaltable.EnableViewState = True
|
||||
Else
|
||||
normaltable.EnableViewState = True
|
||||
Dim erster = New Date(Now().Year, Now().Month, 1)
|
||||
Dim ersterdat = erster.Day.ToString + "." + Now().Month.ToString + "." + Now().Year.ToString
|
||||
pickdate1.Text = erster.Day.ToString + "." + Now().Month.ToString + "." + Now().Year.ToString
|
||||
|
||||
@@ -73,23 +73,46 @@
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
.bg-user-icon {
|
||||
background: url("../../images/Icons/service/username-icon-png-5.png") no-repeat 1.75% 10px white;
|
||||
.bg-email-icon {
|
||||
background: url("../../images/Icons/service/mail-icon.gif") no-repeat 1.75% 11px white;
|
||||
padding-left: 28px;
|
||||
padding-right: 50px;
|
||||
margin-left: -4px;
|
||||
width: 207px;
|
||||
height: 20px;
|
||||
width: 227px;
|
||||
height: 19px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
}
|
||||
.bg-email-icon {
|
||||
background: url("../../images/Icons/service/mail-icon.gif") no-repeat 1.75% 10px white;
|
||||
|
||||
.bg-user-icon {
|
||||
background: url("../../images/Icons/service/username-icon-png-5.png") no-repeat 1.75% 11px white;
|
||||
padding-left: 28px;
|
||||
padding-right: 50px;
|
||||
width: 227px;
|
||||
height: 28px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
}
|
||||
|
||||
.bg-key-icon {
|
||||
background: url("../../images/Icons/service/key-icon-png-22_small.png") no-repeat 1.75% 10px white;
|
||||
padding-left: 28px;
|
||||
padding-right: 50px;
|
||||
width: 227px;
|
||||
height: 28px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
margin-left: -4px;
|
||||
}
|
||||
|
||||
.bg-UID-icon {
|
||||
background: url("../../images/Icons/main/icon0-vector-493-01.png") no-repeat 1.75% 11px white;
|
||||
padding-left: 28px;
|
||||
padding-right: 50px;
|
||||
margin-left: -4px;
|
||||
width: 207px;
|
||||
height: 20px;
|
||||
width: 227px;
|
||||
height: 28px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,16 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
|
||||
.bg-key-icon {
|
||||
background: url("../../images/Icons/service/key-icon-png-22_small.png") no-repeat 1.75% 10px white;
|
||||
padding-left: 28px;
|
||||
padding-right: 50px;
|
||||
width: 227px;
|
||||
height: 28px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
margin-left: -4px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -74,19 +83,14 @@
|
||||
<table id="tbl_main" cellpadding="0" style="margin: 2px 4px 1px 2px">
|
||||
<tr style="color:#003680;height:38px;">
|
||||
<td>
|
||||
<asp:Label ID="lbl_Ueberschrift" runat="server" Text="Passwortwechsel:"></asp:Label>
|
||||
<asp:Label ID="lbl_Ueberschrift" runat="server" Text="Passwortwechsel:" style="margin-left:75px"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color:#003680;height:36.67px;">
|
||||
<td>
|
||||
<asp:Label ID="lbl_PWEingabe" CssClass="txt_design" ToolTip="Bitte neues Passwort eingeben." runat="server" Text="Neues Passwort"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr style="color:#003680;height:36.67px;">
|
||||
<td colspan="4">
|
||||
<asp:TextBox id="txt_Pw" runat="server" TextMode="Password" Font-Names="Verdana" OnTextChanged="txt_Pw_TextChanged" AutoCompleteType="Disabled"></asp:TextBox>
|
||||
<asp:TextBox id="txt_Pw" CssClass="bg-key-icon" runat="server" TextMode="Password" Width="250px" Font-Names="Verdana" OnTextChanged="txt_Pw_TextChanged" AutoCompleteType="Disabled" style="margin-left:22px;color:#003680" OnClick="this.value='';"></asp:TextBox>
|
||||
<span></span>
|
||||
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/Icons/service/hilfe.png" Height="13px" Width="13px" ToolTip="Das Passwort muss über mindestens 4 Stellen, ein Sonderzeichen, einen Groß- sowie einen Kleinbuchstaben bei maximal 30 Zeichen verfügen."/>
|
||||
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/Icons/service/hilfe.png" Height="13px" Width="13px" style="margin-left:12px" ToolTip="Das Passwort muss über mindestens 4 Stellen, ein Sonderzeichen, einen Groß- sowie einen Kleinbuchstaben bei maximal 30 Zeichen verfügen."/>
|
||||
</td>
|
||||
|
||||
<tr style="color:#003680;height:12px;">
|
||||
@@ -97,16 +101,12 @@
|
||||
<asp:RegularExpressionValidator ControlToValidate="txt_Pw" runat="server" ID="regexval_txt_Pw" ValidationGroup="TXT_val" ValidationExpression="<%=veragpwVAL %>" Display="Dynamic" ErrorMessage="Das Passwort muss mindestens den Kriterien des Info-Symbols entsprechen!" SetFocusOnError="true"></asp:RegularExpressionValidator>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color:#003680;height:36.67px;">
|
||||
<td>
|
||||
<asp:Label ID="lbl_PW_WH_Eingabe" CssClass="txt_design" runat="server" Text="Wiederholung neues Passwort"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr style="color:#003680;height:36.67px;">
|
||||
<td>
|
||||
<asp:TextBox id="txt_Pw_WH" OnTextChanged="txt_Pw_WH_TextChanged" runat="server" TextMode="Password" Font-Names="Verdana" AutoCompleteType="Disabled"></asp:TextBox>
|
||||
<asp:TextBox id="txt_Pw_WH" CssClass="bg-key-icon" Width="250px" OnTextChanged="txt_Pw_WH_TextChanged" runat="server" TextMode="Password" Font-Names="Verdana" AutoCompleteType="Disabled" style="margin-left:22px;color:#003680" OnClick="this.value='';"></asp:TextBox>
|
||||
<span></span>
|
||||
<asp:Image ID="Image2" runat="server" ImageUrl="~/images/Icons/service/hilfe.png" Height="13px" Width="13px" ToolTip="Das Passwort muss mit dem vorherigen Feld übereinstimmen."/>
|
||||
<asp:Image ID="Image2" runat="server" ImageUrl="~/images/Icons/service/hilfe.png" Height="13px" Width="13px" style="margin-left:12px" ToolTip="Das Passwort muss mit dem vorherigen Feld übereinstimmen."/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color:#003680;height:12px;">
|
||||
@@ -119,7 +119,7 @@
|
||||
<tr style="color:#003680;height:36.67px;">
|
||||
<td>
|
||||
|
||||
<asp:Button ID="btn_submitpw" runat="server" Text="Passwort wechseln" OnClick="btn_submitpw_Click"/>
|
||||
<asp:Button ID="btn_submitpw" runat="server" Text="Passwort wechseln" OnClick="btn_submitpw_Click" Width="340px" style="margin-left:27px;border:none"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -85,12 +85,12 @@
|
||||
<table id="tbl_main" cellpadding="0" style="margin:4px 4px 4px 4px; border: none;">
|
||||
<tr style="color:#003680;height:35px;">
|
||||
<td>
|
||||
<asp:Button ID="btn_Back" runat="server" Text="Back" PostBackUrl="~/login/login_FLEX.aspx" OnClick="btn_Back_Click"/>
|
||||
<asp:Button ID="btn_Back" runat="server" Text="Back" PostBackUrl="~/login/login_FLEX.aspx" style="margin-left:114px; margin-right:auto;border:none" OnClick="btn_Back_Click"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color:#003680; height:30px;font-size:12px">
|
||||
<tr style="color:#003680; height:32px;font-size:12px">
|
||||
<td align="center" colspan="2" style="color:#fff;font-kerning:auto;font-weight:700;">
|
||||
<asp:Label ID="lbl_PWvergessen" Text="Haben Sie ihr Passwort vergessen?" runat="server" style="color:#003680; font-size:15px"></asp:Label>
|
||||
<asp:Label ID="lbl_PWvergessen" Text="Haben Sie ihr Passwort vergessen?" runat="server" style="color:#003680; margin-left:58px;font-size:17px;"></asp:Label>
|
||||
</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;">
|
||||
@@ -98,19 +98,19 @@
|
||||
</td></tr> -->
|
||||
<tr style="color:#003680; height:30px;">
|
||||
<td align="right" colspan="2">
|
||||
<h1>Passwort vergessen:</h1>
|
||||
<h2 style="margin-left:24px;margin-left:98px;">Daten hier eintragen:</h2>
|
||||
</td></tr>
|
||||
<!-- <tr><td>
|
||||
<input type="email" runat="server" style="width:150px" placeholder="example@somehost.com" />
|
||||
</td></tr> -->
|
||||
<tr style="color:#003680; height:30px;">
|
||||
<td align="left" colspan="2">
|
||||
<asp:TextBox ID="txtEmail" runat="server" Width="207px" Font-Size="1.125em" OnTextChanged="txtEmail_TextChanged" Text="E-Mail" CssClass="bg-email-icon" style="margin-left:-4px;color:#003680" OnClick="this.value='';"/>
|
||||
<asp:TextBox ID="txtEmail" runat="server" Width="250px" Font-Size="1.125em" OnTextChanged="txtEmail_TextChanged" Text="E-Mail" CssClass="bg-email-icon" style="margin-left:22px;color:#003680" OnClick="this.value='';"/>
|
||||
<asp:RegularExpressionValidator ID="regexval_txt_Email" ControlToValidate="txtEmail" runat="server" ValidationExpression="<%=regexemail %>" Display="Dynamic"></asp:RegularExpressionValidator>
|
||||
</td></tr>
|
||||
<tr style="color:#003680; height:30px;">
|
||||
<td align="left" colspan="2">
|
||||
<asp:TextBox ID="txt_Username" runat="server" CssClass="bg-user-icon" Text="Username" Font-Size="1.125em" Width="207px" style="margin-left:-4px;color:#003680" OnClick="this.value='';" />
|
||||
<asp:TextBox ID="txt_Username" runat="server" CssClass="bg-user-icon" Text="Username" Font-Size="1.125em" Width="250px" style="margin-left:22px;color:#003680" OnClick="this.value='';" />
|
||||
</td></tr>
|
||||
<tr style="color:#003680; height:30px;">
|
||||
<td align="right" colspan="2">
|
||||
@@ -118,7 +118,7 @@
|
||||
</td></tr>
|
||||
<tr style="color:#003680; height:30px;"><td>
|
||||
|
||||
<asp:Button ID="btn_Send" Text="Send" runat="server" OnClick="SendEmail" />
|
||||
<asp:Button ID="btn_Send" Text="Send" runat="server" Width="330px" Font-Size="20px" style="margin-left:22px;border:none" OnClick="btn_Send_Click" />
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
</td></tr>
|
||||
|
||||
@@ -7,39 +7,47 @@ Imports System.Data
|
||||
|
||||
Partial Class login_ForgotPW
|
||||
Inherits System.Web.UI.Page
|
||||
Protected Sub Page_Load(sender As Object, e As EventArgs)
|
||||
End Sub
|
||||
|
||||
Protected Sub btn_Back_Click(sender As Object, e As EventArgs)
|
||||
Response.Redirect("login/login_FLEX.aspx")
|
||||
End Sub
|
||||
|
||||
Protected Sub SendEmail(sender As Object, e As EventArgs)
|
||||
Dim username As String = txt_Username.Text
|
||||
Dim password As String = String.Empty
|
||||
Dim email As String = txtEmail.Text
|
||||
Dim tokenname As String = ""
|
||||
Protected Sub btn_Send_Click(sender As Object, e As EventArgs)
|
||||
Dim username As String
|
||||
Dim password As String
|
||||
Dim email As String
|
||||
Dim tokenname As String
|
||||
Try
|
||||
username = txt_Username.Text
|
||||
password = String.Empty
|
||||
email = txtEmail.Text
|
||||
tokenname = ""
|
||||
Catch Excep As MissingFieldException
|
||||
MsgBox("Error05: " + Excep.Message)
|
||||
End Try
|
||||
|
||||
'cDBFunctions.GetNewOpenConnection()
|
||||
Dim ConnectionString = String.Empty
|
||||
If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then
|
||||
'ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956"
|
||||
ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=AppUser;Pwd=yp/THDd?xM+pZ$;"
|
||||
Else
|
||||
ConnectionString = "Server=DEVELOPER.verag.ost.dmn\DEVSQL;Database=VERAG_HOMEPAGE;Uid=AppUser;Pwd=yp/THDd?xM+pZ$;"
|
||||
'ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;"
|
||||
End If
|
||||
' Dim constr As String = ConfigurationManager.ConnectionStrings("constr").ConnectionString
|
||||
Using con As New SqlConnection(ConnectionString)
|
||||
' Using cmd As New SqlCommand("Validate_User")
|
||||
Using cmd As New SqlCommand("SELECT Username,Password FROM [VERAG_HOMEPAGE].[dbo].[Users] WHERE Username=@Username")
|
||||
' cmd.CommandType = CommandType.StoredProcedure
|
||||
cmd.Parameters.AddWithValue("@Username", username)
|
||||
cmd.Connection = con
|
||||
con.Open()
|
||||
'userId = Convert.ToInt32(cmd.ExecuteScalar())
|
||||
Dim dr As SqlDataReader = cmd.ExecuteReader()
|
||||
If dr.Read() Then
|
||||
username = dr("Username").ToString()
|
||||
password = dr("Password").ToString()
|
||||
'ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956"
|
||||
ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=AppUser;Pwd=yp/THDd?xM+pZ$;"
|
||||
Else
|
||||
ConnectionString = "Server=DEVELOPER.verag.ost.dmn\DEVSQL;Database=VERAG_HOMEPAGE;Uid=AppUser;Pwd=yp/THDd?xM+pZ$;"
|
||||
'ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;"
|
||||
End If
|
||||
' Dim constr As String = ConfigurationManager.ConnectionStrings("constr").ConnectionString
|
||||
Using con As New SqlConnection(ConnectionString)
|
||||
' Using cmd As New SqlCommand("Validate_User")
|
||||
Using cmd As New SqlCommand("SELECT Username,Password FROM [VERAG_HOMEPAGE].[dbo].[Users] WHERE Username=@Username")
|
||||
' cmd.CommandType = CommandType.StoredProcedure
|
||||
cmd.Parameters.AddWithValue("@Username", username)
|
||||
cmd.Connection = con
|
||||
con.Open()
|
||||
'userId = Convert.ToInt32(cmd.ExecuteScalar())
|
||||
Dim dr As SqlDataReader = cmd.ExecuteReader()
|
||||
If dr.Read() Then
|
||||
username = dr("Username").ToString()
|
||||
password = dr("Password").ToString()
|
||||
Try
|
||||
email = txtEmail.Text
|
||||
Catch ex As Exception
|
||||
@@ -55,28 +63,28 @@ Partial Class login_ForgotPW
|
||||
End If
|
||||
End Try
|
||||
End If
|
||||
End Using
|
||||
con.Close()
|
||||
End Using
|
||||
tokenname = genToken(username, password, email)
|
||||
If SendEmail(username, password, email, tokenname) = True Then
|
||||
'password = RandomString(New Random, 10)
|
||||
If (getDateoftoken(tokenname) = True) Then
|
||||
con.Close()
|
||||
End Using
|
||||
tokenname = genToken(username, password, email)
|
||||
If SendEmail(username, password, email, tokenname) = True Then
|
||||
'password = RandomString(New Random, 10)
|
||||
If (getDateoftoken(tokenname) = True) Then
|
||||
Dim msgboxstyle = vbDefaultButton1 + vbOK
|
||||
MsgBox(tokenname, msgboxstyle)
|
||||
Else
|
||||
MsgBox("token nicht mehr Gültig! Neuer wird generiert!")
|
||||
tokenname = genToken(username, password, email)
|
||||
End If
|
||||
'SendEmail(username, password, email)
|
||||
MsgBox("Mail would be sent successfully!")
|
||||
lblMessage.ForeColor = Color.Green
|
||||
lblMessage.Text = "Passwort wurde erfolgreich an die angegebene E-Mail Adresse gesendet."
|
||||
ElseIf SendEmail(username, password, email, tokenname) = False Then
|
||||
MsgBox("Mail would not be sent successfully!")
|
||||
lblMessage.ForeColor = Color.Red
|
||||
lblMessage.Text = "Diese E-Mail ist nicht in unserer Datenbank vorhanden."
|
||||
Else
|
||||
MsgBox("token nicht mehr Gültig! Neuer wird generiert!")
|
||||
tokenname = genToken(username, password, email)
|
||||
End If
|
||||
'SendEmail(username, password, email)
|
||||
MsgBox("Mail would be sent successfully!")
|
||||
lblMessage.ForeColor = Color.Green
|
||||
lblMessage.Text = "Passwort wurde erfolgreich an die angegebene E-Mail Adresse gesendet."
|
||||
ElseIf SendEmail(username, password, email, tokenname) = False Then
|
||||
MsgBox("Mail would not be sent successfully!")
|
||||
lblMessage.ForeColor = Color.Red
|
||||
lblMessage.Text = "Diese E-Mail ist nicht in unserer Datenbank vorhanden."
|
||||
End If
|
||||
End Sub
|
||||
|
||||
'Function RandomString(r As Random, max As Integer) As String
|
||||
@@ -182,6 +190,6 @@ Partial Class login_ForgotPW
|
||||
End Function
|
||||
|
||||
Protected Sub txtEmail_TextChanged(sender As Object, e As EventArgs)
|
||||
regexval_txt_Email.Validate()
|
||||
regexval_txt_Email.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
End Sub
|
||||
End Class
|
||||
@@ -41,22 +41,21 @@
|
||||
font-size: 1.725em;
|
||||
}
|
||||
.bg-email-icon {
|
||||
background: url("../../images/Icons/service/mail-icon.gif") no-repeat 1.75% 10px white;
|
||||
background: url("../../images/Icons/service/mail-icon.gif") no-repeat 1.75% 11px white;
|
||||
padding-left: 28px;
|
||||
padding-right: 50px;
|
||||
margin-left: -4px;
|
||||
width: 207px;
|
||||
height: 20px;
|
||||
padding-right: 50px;
|
||||
width: 227px;
|
||||
height: 28px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
}
|
||||
|
||||
.bg-user-icon {
|
||||
background: url("../../images/Icons/service/username-icon-png-5.png") no-repeat 1.75% 10px white;
|
||||
background: url("../../images/Icons/service/username-icon-png-5.png") no-repeat 1.75% 11px white;
|
||||
padding-left: 28px;
|
||||
padding-right: 50px;
|
||||
width: 207px;
|
||||
height: 20px;
|
||||
width: 227px;
|
||||
height: 28px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
}
|
||||
@@ -65,20 +64,20 @@
|
||||
background: url("../../images/Icons/service/key-icon-png-22_small.png") no-repeat 1.75% 10px white;
|
||||
padding-left: 28px;
|
||||
padding-right: 50px;
|
||||
width: 207px;
|
||||
height: 20px;
|
||||
width: 227px;
|
||||
height: 28px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
margin-left: -4px;
|
||||
}
|
||||
|
||||
.bg-UID-icon {
|
||||
background: url("../../images/Icons/main/icon0-vector-493-01.png") no-repeat 1.75% 10px white;
|
||||
background: url("../../images/Icons/main/icon0-vector-493-01.png") no-repeat 1.75% 11px white;
|
||||
padding-left: 28px;
|
||||
padding-right: 50px;
|
||||
margin-left: -4px;
|
||||
width: 207px;
|
||||
height: 20px;
|
||||
height: 28px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
}
|
||||
@@ -129,27 +128,27 @@
|
||||
</tr>
|
||||
<tr style="color:#003680; height:46px;">
|
||||
<td align="left">
|
||||
<asp:TextBox ID="CustomerID" CssClass="bg-UID-icon" runat="server" required="true" Width = "207" ValidationGroup="txt_checkUID" OnTextChanged="CustomerID_TextChanged" Text="User-ID / E-Mail" Font-Size="1.125em" style="margin-left:-4px;color:#003680" OnClick="this.value='';"></asp:TextBox>
|
||||
<asp:TextBox ID="CustomerID" CssClass="bg-UID-icon" runat="server" required="true" Width = "250" ValidationGroup="txt_checkUID" OnTextChanged="CustomerID_TextChanged" Text="User-ID / E-Mail" Font-Size="1.125em" style="margin-left:22px;color:#003680" OnClick="this.value='';"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="CustomerIDrequired" runat="server" ControlToValidate="CustomerID" SetFocusOnError="true" ValidationGroup="txt_checkUID" ErrorMessage="Die Kundennummer ist erforderlich"></asp:RequiredFieldValidator>
|
||||
<asp:RegularExpressionValidator ID="valid_getNumberInput" ControlToValidate="CustomerID" ValidationGroup="txt_checkUID" runat="server" Display="Dynamic" SetFocusOnError="true" ValidationExpression="<%=regexUID %>"></asp:RegularExpressionValidator>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color:#003680; height:46px;">
|
||||
<td align="left" colspan="2">
|
||||
<asp:TextBox ID="UserName" runat="server" CssClass="bg-user-icon" TextMode="SingleLine" Width = "207" ValidationGroup="txt_Username" required="true" Font-Size="1.125em" style="margin-left:-4px;color:#003680" OnClick="this.value='';" Text="Username"></asp:TextBox>
|
||||
<asp:TextBox ID="UserName" runat="server" CssClass="bg-user-icon" TextMode="SingleLine" Width = "250" ValidationGroup="txt_Username" required="true" Font-Size="1.125em" style="margin-left:22px;color:#003680" OnClick="this.value='';" Text="Username"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="UserNamerequired" runat="server" ControlToValidate="UserName" ErrorMessage="Der Benutzername ist erforderlich." ToolTip="Der Benutzername ist erforderlich." ValidationGroup="txt_Username"></asp:RequiredFieldValidator>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color:#003680; height:46px;">
|
||||
<td align="left" colspan="2">
|
||||
<asp:TextBox ID="Password" runat="server" CssClass="bg-key-icon" TextMode="Password" required="true" Width = "207" Font-Size="1.125em" ValidationGroup="chk_PWField" MaxLength="30" AutoCompleteType="Enabled" CausesValidation="true" style="margin-left:-4px;color:#003680" OnClick="this.value='';" Text="Kennwort"></asp:TextBox>
|
||||
<asp:TextBox ID="Password" runat="server" CssClass="bg-key-icon" TextMode="Password" required="true" Width = "250" Font-Size="1.125em" ValidationGroup="chk_PWField" MaxLength="30" AutoCompleteType="Enabled" CausesValidation="true" style="margin-left:22px;color:#003680" OnClick="this.value='';" Text="Kennwort"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="Passwordrequired" runat="server" ControlToValidate="Password" ErrorMessage="Bitte Passwort angeben" ToolTip="Das Kennwort ist erforderlich." ValidationGroup="chk_PWField"></asp:RequiredFieldValidator>
|
||||
<asp:RegularExpressionValidator ID="checkpwdREGEX" ControlToValidate="Password" ValidationGroup="chk_PWField" runat="server" Display="Dynamic" SetFocusOnError="true" ValidationExpression="<%=regexPWVal %>"></asp:RegularExpressionValidator>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color:#003680; height:23px;">
|
||||
<td align="left" colspan="2">
|
||||
<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Login" ValidationGroup="Login1" target="_top" OnClientClick="bust2()" Width="97px" Font-Size="18px"/>
|
||||
<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Login" ValidationGroup="Login1" target="_top" OnClientClick="bust2()" Width="330px" Font-Size="20px" style="margin-left:22px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color:#003680; height:23px;">
|
||||
|
||||
Reference in New Issue
Block a user