<Page x:Class="JAMM.Kasse.Pages.Dashboard"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="786" d:DesignWidth="1024"
	Title="Dashboard">

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Menu Name="mainmenu" IsMainMenu="True" Height="40"  Background="LightGray" VerticalAlignment="Top" >
            <MenuItem x:Name="Reports" Width="130" Height="30" Margin="5" Click="Reports_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Umsätze</TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="Organisation" Width="130" Height="30" Margin="5" ClipToBounds="True" Click="Organisation_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Organisation</TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="ZurKasse" Width="130" Height="30" Margin="5" Click="CashRegister_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center"><Run Text="Zur Kasse"/></TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="logout" Width="130" Height="30" Margin="5" Click="Logout_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center"><Run Text="Logout"/></TextBlock>
                </MenuItem.Header>
            </MenuItem>
        </Menu>
        <Menu Name="submenuBerichte" Height="40" Margin="0,40,0,0" VerticalAlignment="Top" Background="LightGray" BorderThickness="0,2,0,0" BorderBrush="Black">
            <MenuItem x:Name="Today" Width="130" Height="30" Margin="5,3,5,5" Click="Today_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Heute</TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="YesterDay" Width="130" Height="30" Margin="5,3,5,5" Click="Yesterday_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Gestern</TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="ThisWeek" Width="130" Height="30" Margin="5,3,5,5" Click="ThisWeek_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Diese Woche</TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="ThisMonth" Width="130" Height="30" Margin="5,3,5,5" Click="ThisMonth_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Dieser Monat</TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="ThisYear" Width="130" Height="30" Margin="5,3,5,5" Click="ThisYear_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Dieses Jahr</TextBlock>
                </MenuItem.Header>
            </MenuItem>
        </Menu>
        <Menu Name="submenuOrganisation" Height="40" Margin="0,40,0,0" VerticalAlignment="Top" Background="LightGray" BorderThickness="0,2,0,0" BorderBrush="Black">
            <MenuItem x:Name="Gruppen" Width="130" Height="30" Margin="5,3,5,5" Click="Gruppen_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Gruppen</TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="Produkte" Width="130" Height="30" Margin="5,3,5,5" Click="Products_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Produkte</TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="Tische" Width="130" Height="30" Margin="5,3,5,5" Click="Tische_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Tische</TextBlock>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem x:Name="Mitarbeiter" Width="130" Height="30" Margin="5,3,5,5" Click="Mitarbeiter_Click">
                <MenuItem.BorderBrush>
                    <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
                </MenuItem.BorderBrush>
                <MenuItem.Header>
                    <TextBlock VerticalAlignment="CENTER" HorizontalAlignment="Center">Mitarbeiter</TextBlock>
                </MenuItem.Header>
            </MenuItem>
        </Menu>
        <Frame x:Name="FrameContent" Margin="0,80,0,0" NavigationUIVisibility="Hidden"/>
    </Grid>
</Page>
