﻿<common:PageBase
    x:Class="FeedbackApp.UIF.Views.PleaseRegisterPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:FeedbackApp.UIF.Views"
    xmlns:common="using:FeedbackApp.Common"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    
    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.ChildrenTransitions>
            <TransitionCollection>
                <EntranceThemeTransition/>
            </TransitionCollection>
        </Grid.ChildrenTransitions>
        
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="120"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        

        <!-- Page title, content, and link to registration site -->
        <Grid Grid.ColumnSpan="2">            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            
            <Grid Grid.Column="1" Margin="0,60,30,40">
                <TextBlock Style="{StaticResource HeaderTextBlockStyle}" x:Name="Title" x:Uid="/FeedbackApp.Resources/UIF_PleaseRegisterPage_Title" Text="Windows Feedback" VerticalAlignment="Bottom" IsHitTestVisible="False" TextWrapping="Wrap" TextTrimming="None"/>
            </Grid>
        </Grid>

        <RichTextBlock Style="{StaticResource BodyRichTextBlockStyle}" FontSize="16" Grid.Column="1" Grid.Row="1">
            <Paragraph>
                <Run x:Uid="/FeedbackApp.Resources/UIF_PleaseRegisterPage_BeginContent" Text="To use Windows Feedback, you must be registered with the"/>
                <Hyperlink x:Uid="/FeedbackApp.Resources/UIF_PleaseRegisterPage_Hyperlink_URL" NavigateUri="http://aka.ms/Pns4ty">
                    <Run x:Uid="/FeedbackApp.Resources/UIF_PleaseRegisterPage_HyperlinkTitle" Text="Windows Insider Preview Program"/>
                </Hyperlink>
                <Run x:Uid="/FeedbackApp.Resources/UIF_PleaseRegisterPage_EndContent" Text=", and connected to the Internet the first time you run the feedback app."/>
            </Paragraph>
        </RichTextBlock>
        <HyperlinkButton Command="{Binding ReloadCommand}" Content="Reload" x:Uid="/FeedbackApp.Resources/UIF_Shared_Reload" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="1" Grid.Row="2" Margin="0,10,0,0"/>
    </Grid>
</common:PageBase>

