﻿<Page x:Class="Live_Scoring_V1.DetailFixture"
      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" 
      xmlns:local="clr-namespace:Live_Scoring_V1"
      mc:Ignorable="d" 
       d:DesignHeight="800" d:DesignWidth="1280"
      Title="DetailFixture">

    <Grid Background="#2e405b" >

        <Viewbox Margin="0" Stretch="Fill">

            <Grid Width="1280" Height="800" RenderTransformOrigin="0.497,0.553">
                <Grid.RowDefinitions>
                    <RowDefinition Height="181*"/>
                    <RowDefinition Height="0*"/>
                    <RowDefinition Height="219*"/>
                </Grid.RowDefinitions>
                <Grid.Background>
                    <ImageBrush ImageSource="Images/trasparentBG.png"/>
                </Grid.Background>
                <Grid Grid.RowSpan="3" >
                    <Grid.RowDefinitions>
                        <RowDefinition Height="50" />
                        <RowDefinition Height="750"/>
                    </Grid.RowDefinitions>
                    <Grid  Grid.Row="0"   >

                        <Border Grid.Row="0" Background="#2e405b" BorderBrush="#1a2433" BorderThickness="0,0,0,1">
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="1*" />
                                    <ColumnDefinition Width="3*" />
                                    <ColumnDefinition Width="2*" />
                                </Grid.ColumnDefinitions>

                                <TextBlock  Grid.Column="0"  VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10" Foreground="#ccc" FontSize="18" FontWeight="Bold">Footprint</TextBlock>


                                <TextBlock x:Name="FixtureName"  Grid.Column="1" HorizontalAlignment="left" VerticalAlignment="Center" Margin="5,0" Foreground="#ccc" FontSize="18"  FontWeight="Bold"></TextBlock>

                                <StackPanel Grid.Column="2" Orientation="Horizontal"  HorizontalAlignment="Right">
                                    <Border x:Name="Online" Background="LawnGreen" Height="20" Padding="5,0" Margin="10,5" >
                                        <TextBlock Foreground="#fff">Online</TextBlock>
                                    </Border>
                                    <Border x:Name="ExitApp" Background="#576d8e" Height="20" Padding="10,0" Margin="5,5" MouseDown="Exit_app" >
                                        <TextBlock Foreground="#fff">x</TextBlock>
                                    </Border>
                                </StackPanel>
                            </Grid>

                        </Border>


                    </Grid>

                    <Grid Grid.Row="1" >
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="280*" />
                            <ColumnDefinition Width="1000*" />
                        </Grid.ColumnDefinitions>
                        <Grid Grid.Column="0"/>
                    </Grid>


                </Grid>


                <TextBlock FontSize="48" Foreground="#97abc8" TextAlignment="Center" RenderTransformOrigin="0.5,0.5" Margin="0,58,962,237" HorizontalAlignment="Right" Width="308">
                    <TextBlock.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform/>
                            <SkewTransform/>
                            <RotateTransform Angle="359.909"/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </TextBlock.RenderTransform><Run Text="NEW "/><Run Text="FIXTURE"/>
                </TextBlock>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="20,145,0,189" Width="111" RenderTransformOrigin="0.388,-1.73"><Run Text="Half Length"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="HalfLength" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="20,172,1056,160" IsUndoEnabled="False"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="20,217,0,122" Width="111" IsManipulationEnabled="True"><Run Text="Sanction Time"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="SanctionTime" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="20,240,1056,87" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="20,283,0,52" Width="119"><Run Text="Blood B"/><Run Text="i"/><Run Text="n "/><Run Text="Time"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="BloodBinTime" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="20,309,1056,18" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="20,351,0,424" Width="137" Grid.RowSpan="3"><Run Text="Half -time Length"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="HalfTimeLength" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="20,14,1056,390" Grid.Row="2" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="20,56,0,357" Width="137" Grid.Row="2"><Run Text="HIA Time"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="HIATime" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="20,81,1056,323" Grid.Row="2" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="266,145,0,195"><Run Text="Match"/><Run Text=" Venue"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="MatchVenue" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="266,172,810,160"/>
                <Button x:Name="SaveBtn" Background="green" Foreground="#fff" FontSize="16" Margin="1059,370,80,36" BorderBrush="#000" BorderThickness="1" Padding="5" Content="Save" Grid.Row="2" Click="SaveBtn_Click"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="266,217,0,123"><Run Text="Match "/><Run Text="Date"/><Run Text=":"/></TextBlock>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="266,283,0,52"><Run Text="Team 1"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="Team1" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="266,309,810,18" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="266,351,0,424" Grid.RowSpan="3"><Run Text="Team 2"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="Team2" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="266,14,810,390" Grid.Row="2" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="509,145,0,194"><Run Text="Extra Time"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="ExtraTime" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="509,172,567,160"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="509,217,0,123"><Run Text="Extra Time Hal"/><Run Text="f"/><Run Text=" L"/><Run Text="e"/><Run Text="ngth"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="ExtraTimeHalfLength" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="509,240,567,89" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="753,145,0,194"><Run Text="Try"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="Try" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="753,172,323,160"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="755,217,0,123"><Run Text="Conversion"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="Conversion" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="755,240,321,89" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="757,283,0,52" Text="Penalty:"/>
                <TextBox x:Name="Penalty" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="757,309,319,18" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="759,351,0,427" Grid.RowSpan="3"><Run Text="Dropped Goal"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="DroppedGoal" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="759,14,317,390" Grid.Row="2" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="996,145,0,194"><Run Text="Refer"/><Run Text="ee"/><Run Text=":"/><LineBreak/><Run/><Run Text=":"/></TextBlock>
                <TextBox x:Name="Referee" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="996,172,80,160"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="996,217,0,123" Text="Assistant Referee 1:"/>
                <TextBox x:Name="AssistantReferee1" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="996,240,80,88" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="996,283,0,52"><Run Text="Assistant Referee "/><Run Text="2"/><Run Text=":"/><LineBreak/><Run Text=":"/></TextBlock>
                <TextBox x:Name="AssistantReferee2" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="996,309,80,18" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="996,351,0,427" Grid.RowSpan="3"><Run Text="TMO"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="TMO" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="996,14,80,390" Grid.Row="2" Height="30"/>
                <TextBlock FontSize="16" HorizontalAlignment="Left" Foreground="#fff" FontWeight="Bold" Margin="996,57,0,359" Grid.Row="2"><Run Text="Timekeeper"/><Run Text=":"/></TextBlock>
                <TextBox x:Name="Timekeeper" VerticalContentAlignment="Center" FontSize="16" Padding="5,0" Background="#fff" BorderBrush="#000" BorderThickness="1" Margin="996,84,80,324" Grid.Row="2"/>
                <DatePicker x:Name="MatchDate" HorizontalAlignment="Left" Margin="266,240,0,0" VerticalAlignment="Top" Width="204" Height="30" IsManipulationEnabled="True"/>
            </Grid>
        </Viewbox>
    </Grid>
</Page>
