<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="login.aspx.vb" Inherits="login_login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" title="VERAG Login"/>
 <link rel="stylesheet" type="text/css" href="../css/login/login.css"/>
    <style>
        @media (min-width:768px) {
    #UserNameLabel

{
    font-size: 20px;
    font-size: 1.25em;
}

#PasswordLabel {
    font-size: 20px;
    font-size: 1.25em;
}

}

@media (max-width: 768px) {
    #UserNameLabel {
        font-size: 16px;
        font-size: 1em;
    }

    #PasswordLabel {
        font-size: 16px;
        font-size: 1em;
    }
}
    </style>
</head>
<body>
  
<form id="form1" runat="server" >


<asp:Login ID = "Login1" runat = "server" OnAuthenticate= "ValidateUser">
    <LayoutTemplate>
        <center>
                    <table cellpadding="0" style="font-family:Arial;font-size:11px;border:1px solid gray" >
                        <tr style="background-color:#003680;color:#fff;height:30px;font-size:12px">
                            <td align="center" colspan="2">Bitte melden Sie sich an:</td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Benutzername:</asp:Label>
                            </td>
                            <td>
                               
                                 
                               <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" ErrorMessage="Der Benutzername ist erforderlich." ToolTip="Der Benutzername ist erforderlich." ValidationGroup="Login1">*</asp:RequiredFieldValidator> 
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Kennwort:</asp:Label> 
                            </td>
                            <td>
                               <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="Das Kennwort ist erforderlich." ToolTip="Das Kennwort ist erforderlich." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                               
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td   >
                                <asp:CheckBox ID="RememberMe" runat="server" Text="Anmeldedaten speichern." />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="color:Red;">
                                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                            </td>
                        </tr>
                        <tr>
                            <td align="middle" colspan="2">
                               <br/> <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Anmelden" ValidationGroup="Login1" />
                            </td>
                        </tr>
                    </table>
               </center>
    </LayoutTemplate>
    </asp:Login>
</form>

</body>
</html>
