<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
    <asp:ContentPlaceHolder ID="jsContent" runat="server" />
    <asp:ContentPlaceHolder ID="cssContent" runat="server" />
    <link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/print.css" media="print" rel="stylesheet" type="text/css" />    
</head>
<body>
    <div class="page">
        <div id="header">
            <div id="title">
                <h1><%= Html.ActionLink("Wierszówki", "Index", "Home")%></h1>
            </div>
            
            <div id="logindisplay">
                <% Html.RenderPartial("LogOnUserControl"); %>
            </div> 
            
            <div id="menucontainer">
                <ul id="menu">              
                    <li><%= Html.ActionLink("Start", "Index", "Home")%></li>
                    <li><%= Html.ActionLink("O aplikacji", "About", "Home")%></li>
                    <% if (Request.IsAuthenticated) { %>
                    <li><%= Html.ActionLink("Raporty", "Index", "Report")%></li>
                    <li><%= Html.ActionLink("Użytkownicy", "Index", "User")%></li>
                    <li><%= Html.ActionLink("Autorzy", "Index", "Author")%></li>
                    <% } %>
                </ul>
            </div>
        </div>
        <div id="main">
            <asp:ContentPlaceHolder ID="MainContent" runat="server" />
            <div id="footer">
            </div>
        </div>
    </div>
</body>
</html>