<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginControl.aspx.cs" Inherits="LoginControl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
   <title>Logowanie za pomocą kontrolki Login</title>
   <link href="chapterStyles.css" type="text/css" rel="stylesheet"  />
   <style type="text/css" >
      
      label { margin: 10px 0 0 0; display: block;}
      legend { font-size: 1.05em; }
      fieldset { padding: 1em;  }
      .error { color: red; font-style: italic; }
   </style>
</head>
<body>
   <form id="form1" runat="server">
      <div id="container">
         <h1>Logowanie za pomocą kontrolki Login</h1>
         <p>
         Strona demonstruje działanie kontrolki <code>Login</code>.
         </p>
         <asp:Login ID="logSignin" runat="server" 
            CreateUserUrl="newUser.aspx" 
            HelpPageUrl="help.aspx"
            PasswordRecoveryUrl="getPass.aspx" DisplayRememberMe="False" 
            OnLoginError="logSignin_LoginError" BackColor="#E3EAEB" BorderColor="#E6E2D8" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" TextLayout="TextOnTop"
                PasswordLabelText="Hasło:" UserNameLabelText="Użytkownik:" TitleText="Logowanie" LoginButtonText="Zaloguj">
            <TitleTextStyle BackColor="#1C5E55" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
            <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
            <TextBoxStyle Font-Size="1em" />
            <LoginButtonStyle BackColor="White" BorderColor="#C5BBAF" BorderStyle="Solid" BorderWidth="1px"
               Font-Names="Verdana" Font-Size="0.8em" ForeColor="#1C5E55" />
           
         </asp:Login>
         <p>

         </p>
      </div>
   </form>
</body>
</html>

