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

<!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>Kontrolka LoginStatus</title>
   <link href="chapterStyles.css" type="text/css" rel="stylesheet"  />
   <style type="text/css" >
      
      #header { 
         background: silver; height: 25px; margin: 5px; 
         padding: 5px 5px 0px 5px; text-align: right;
         font-size: 1em; font-family: Verdana, Helvetica, Sans-Serif; 
         }
   </style>
</head>
<body>
   <form id="form1" runat="server">
      <div id="container">
         <h1>Kontrolka LoginStatus</h1>
         <p>
         Strona demonstruje działanie kontrolek <code>LoginStatus</code> oraz <code>LoginName</code>.
         </p>
         <div id="header">
         <asp:LoginName ID="logName" runat="server" FormatString="Witaj {0}" />

         <asp:LoginStatus ID="logStat" runat="server"
           LoginImageUrl="images/btn_login.gif"
           LogoutImageUrl="images/btn_logout.gif"
           LogoutAction="Refresh" />
  
         </div>
      </div>
   </form>
</body>
</html>
