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

<%@ Register Src="Controls/WeatherPart.ascx" TagName="WeatherPart" TagPrefix="uc2" %>
<%@ Register Src="Controls/ZipCodeSelector.ascx" TagName="ZipCodeSelector" TagPrefix="uc3" %>

<%@ Register Src="PageStateSwitcher.ascx" TagName="PageStateSwitcher" TagPrefix="uc1" %>

<!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 runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center">
        <span style="font-family: Arial"><em><strong>Strona demonstracyjna Web Parts</strong></em></span><asp:WebPartManager ID="wpManager" runat="server">
        </asp:WebPartManager>
        <table>
            <tr>
                <td style="width: 423px; vertical-align: top; height: 269px;" align="left">
                    <asp:WebPartZone ID="zoneSideBar" runat="server" HeaderText="Pasek boczny" BorderColor="#CCCCCC" Font-Names="Verdana" Padding="6">
                        <ZoneTemplate>
                            <asp:TreeView Title="Drzewo" ID="TreeView1" runat="server">
                                <Nodes>
                                    <asp:TreeNode Text="Nowy węzeł" Value="New Node">
                                        <asp:TreeNode Text="Nowy węzeł" Value="New Node">
                                            <asp:TreeNode Text="Nowy węzeł" Value="New Node"></asp:TreeNode>
                                        </asp:TreeNode>
                                    </asp:TreeNode>
                                    <asp:TreeNode Text="Nowy węzeł" Value="New Node"></asp:TreeNode>
                                    <asp:TreeNode Text="Nowy węzeł" Value="New Node">
                                        <asp:TreeNode Text="Nowy węzeł" Value="New Node"></asp:TreeNode>
                                        <asp:TreeNode Text="Nowy węzeł" Value="New Node"></asp:TreeNode>
                                    </asp:TreeNode>
                                    <asp:TreeNode Text="Nowy węzeł" Value="New Node"></asp:TreeNode>
                                    <asp:TreeNode Text="Nowy węzeł" Value="New Node"></asp:TreeNode>
                                    <asp:TreeNode Text="Nowy węzeł" Value="New Node"></asp:TreeNode>
                                </Nodes>
                            </asp:TreeView>
                        </ZoneTemplate>
                        <PartChromeStyle BackColor="#F7F6F3" BorderColor="#E2DED6" Font-Names="Verdana" ForeColor="White" />
                        <MenuLabelHoverStyle ForeColor="#E2DED6" />
                        <EmptyZoneTextStyle Font-Size="0.8em" />
                        <MenuLabelStyle ForeColor="White" />
                        <MenuVerbHoverStyle BackColor="#F7F6F3" BorderColor="#CCCCCC" BorderStyle="Solid"
                            BorderWidth="1px" ForeColor="#333333" />
                        <HeaderStyle Font-Size="0.7em" ForeColor="#CCCCCC" HorizontalAlign="Center" />
                        <MenuVerbStyle BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="White" />
                        <PartStyle Font-Size="0.8em" ForeColor="#333333" />
                        <TitleBarVerbStyle Font-Size="0.6em" Font-Underline="False" ForeColor="White" />
                        <MenuPopupStyle BackColor="#5D7B9D" BorderColor="#CCCCCC" BorderWidth="1px" Font-Names="Verdana"
                            Font-Size="0.6em" />
                        <PartTitleStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.8em" ForeColor="White" />
                    </asp:WebPartZone>
                </td>
                <td style="width: 719px; vertical-align: top; height: 269px;" align="left">
                    <asp:WebPartZone ID="zoneMain" runat="server" HeaderText="Strefa środkowa" BorderColor="#CCCCCC" Font-Names="Verdana" Padding="6">
                        <PartChromeStyle BackColor="#F7F6F3" BorderColor="#E2DED6" Font-Names="Verdana" ForeColor="White" />
                        <MenuLabelHoverStyle ForeColor="#E2DED6" />
                        <EmptyZoneTextStyle Font-Size="0.8em" />
                        <MenuLabelStyle ForeColor="White" />
                        <MenuVerbHoverStyle BackColor="#F7F6F3" BorderColor="#CCCCCC" BorderStyle="Solid"
                            BorderWidth="1px" ForeColor="#333333" />
                        <HeaderStyle Font-Size="0.7em" ForeColor="#CCCCCC" HorizontalAlign="Center" />
                        <ZoneTemplate>
                            <asp:Label ID="lblOne" Title="Zawartość 1" runat="server" Text="Strefa zawartości 1"></asp:Label>
                            <asp:Label ID="lblTwo" Title="Zawartość 2" runat="server" Text="Strefa zawartości 2"></asp:Label>
                            <asp:Label ID="lblThree" Title="Zawartość 3" runat="server" Text="Strefa zawartości 3"></asp:Label>
                        </ZoneTemplate>
                        <MenuVerbStyle BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="White" />
                        <PartStyle Font-Size="0.8em" ForeColor="#333333" />
                        <TitleBarVerbStyle Font-Size="0.6em" Font-Underline="False" ForeColor="White" />
                        <MenuPopupStyle BackColor="#5D7B9D" BorderColor="#CCCCCC" BorderWidth="1px" Font-Names="Verdana"
                            Font-Size="0.6em" />
                        <PartTitleStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.8em" ForeColor="White" />
                    </asp:WebPartZone>
                </td>
                <td align="left" style="vertical-align: top; width: 719px; height: 269px">
                    <asp:EditorZone ID="zoneEditor" runat="server" BackColor="#F7F6F3" BorderColor="#CCCCCC"
                        BorderWidth="1px" Font-Names="Verdana" Padding="6">
                        <HeaderStyle BackColor="#E2DED6" Font-Bold="True" Font-Size="0.8em" ForeColor="#333333" />
                        <LabelStyle Font-Size="0.8em" ForeColor="#333333" />
                        <HeaderVerbStyle Font-Bold="False" Font-Size="0.8em" Font-Underline="False" ForeColor="#333333" />
                        <PartChromeStyle BorderColor="#E2DED6" BorderStyle="Solid" BorderWidth="1px" />
                        <ZoneTemplate>
                            <asp:AppearanceEditorPart ID="AppearanceEditorPart1" runat="server" />
                            <asp:LayoutEditorPart ID="LayoutEditorPart1" runat="server" />
                        </ZoneTemplate>
                        <PartStyle BorderColor="#F7F6F3" BorderWidth="5px" />
                        <FooterStyle BackColor="#E2DED6" HorizontalAlign="Right" />
                        <EditUIStyle Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" />
                        <InstructionTextStyle Font-Size="0.8em" ForeColor="#333333" />
                        <ErrorStyle Font-Size="0.8em" />
                        <VerbStyle Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" />
                        <EmptyZoneTextStyle Font-Size="0.8em" ForeColor="#333333" />
                        <PartTitleStyle Font-Bold="True" Font-Size="0.8em" ForeColor="#333333" />
                    </asp:EditorZone>
                    &nbsp;
                    <asp:CatalogZone ID="CatalogZone1" runat="server" BackColor="#F7F6F3" BorderColor="#CCCCCC"
                        BorderWidth="1px" Font-Names="Verdana" Padding="6">
                        <HeaderVerbStyle Font-Bold="False" Font-Size="0.8em" Font-Underline="False" ForeColor="#333333" />
                        <PartTitleStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.8em" ForeColor="White" />
                        <PartChromeStyle BorderColor="#E2DED6" BorderStyle="Solid" BorderWidth="1px" />
                        <InstructionTextStyle Font-Size="0.8em" ForeColor="#333333" />
                        <PartLinkStyle Font-Size="0.8em" />
                        <EmptyZoneTextStyle Font-Size="0.8em" ForeColor="#333333" />
                        <LabelStyle Font-Size="0.8em" ForeColor="#333333" />
                        <VerbStyle Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" />
                        <ZoneTemplate>
                            <asp:DeclarativeCatalogPart ID="DeclarativeCatalogPart1" runat="server">
                            <WebPartsTemplate>
                               <asp:Calendar ID="calendar1" runat="server" Title="Kalendarz" />
                               <asp:TextBox ID="txtTest" runat="server" Title="Testowe pole tekstowe" />
                               <asp:Label ID="lblText" runat="server" Title="Przykładowa etykieta" />
                               <uc2:WeatherPart ID="WeatherPart1" runat="server" Title="Pogoda – odbiorca kodu pocztowego" />
                               <uc3:ZipCodeSelector ID="ZipCodeSelector1" runat="server" Title="Dostawca kodu pocztowego" />
                            </WebPartsTemplate>
                            </asp:DeclarativeCatalogPart>
                        </ZoneTemplate>
                        <PartStyle BorderColor="#F7F6F3" BorderWidth="5px" />
                        <SelectedPartLinkStyle Font-Size="0.8em" />
                        <FooterStyle BackColor="#E2DED6" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#E2DED6" Font-Bold="True" Font-Size="0.8em" ForeColor="#333333" />
                        <EditUIStyle Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" />
                    </asp:CatalogZone>
                    &nbsp;&nbsp;
                    <asp:ConnectionsZone ID="ConnectionsZone1" runat="server" BackColor="#F7F6F3" BorderColor="#CCCCCC"
                        BorderWidth="1px" Font-Names="Verdana" Padding="6">
                        <LabelStyle Font-Size="0.8em" ForeColor="#333333" />
                        <FooterStyle BackColor="#E2DED6" HorizontalAlign="Right" />
                        <VerbStyle Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" />
                        <HeaderVerbStyle Font-Bold="False" Font-Size="0.8em" Font-Underline="False" ForeColor="#333333" />
                        <HeaderStyle BackColor="#E2DED6" Font-Bold="True" Font-Size="0.8em" ForeColor="#333333" />
                        <InstructionTextStyle Font-Size="0.8em" ForeColor="#333333" />
                        <EditUIStyle Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" />
                    </asp:ConnectionsZone>
                </td>
            </tr>
        </table>
    </div>
        <uc1:PageStateSwitcher ID="PageStateSwitcher1" runat="server" />
    </form>
</body>
</html>
