<?xml version="1.0" encoding="utf-8"?>
<UserControl
    x:Class="was.droidtransfer.features.controls.PriorActivationCodeEnteredControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Padding="10">
        <StackPanel>
            <Grid ColumnSpacing="10" Margin="0,0,0,20">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <FontIcon x:Name="fontIconActivationFailed" Glyph="&#xEA39;" VerticalAlignment="Top" FontSize="32" />
                <StackPanel Grid.Column="1">
                    <TextBlock x:Uid="TextBlockLegacyActivationFailed" Text="XX Activation Failed" Style="{ThemeResource SubtitleTextBlockStyle}" Margin="0,0,0,10" />
                    <TextBlock x:Uid="TextBlockLegacyActivationCodeDescription" Style="{ThemeResource BodyTextBlockStyle}" Text="XX You have entered an activation code for Droid Transfer 1 which is not valid for this version of Droid Transfer. A Droid Transfer 2 activation code is required in order to activate to the full unrestricted version." Margin="0,0,0,15" />
                    <StackPanel Orientation="Horizontal" Spacing="10">
                        <Button x:Uid="ButtonLegacyFindOutMore" Style="{ThemeResource AccentButtonStyle}" Content="XX Find out more..." Click="_buttonFindOutMore_Click" />
                        <HyperlinkButton x:Name="buttonTryAgain" Background="Transparent" BorderThickness="0" Padding="4"  Foreground="{ThemeResource AccentTextFillColorPrimaryBrush}" Click="_buttonTryAgain_Click">
                            <StackPanel Orientation="Horizontal" Spacing="5">
                                <FontIcon Glyph="&#xE8D7;" VerticalAlignment="Center" />
                                <TextBlock x:Name="textBlockTryAgain" x:Uid="TextBlockLegacyTryAgain" Text="XX I have a Droid Transfer 2 activation code." VerticalAlignment="Center" Style="{ThemeResource CaptionTextBlockStyle}" HorizontalAlignment="Center" FontWeight="SemiBold" />
                            </StackPanel>
                        </HyperlinkButton>
                    </StackPanel>
                    
                </StackPanel>
            </Grid>
            <Grid x:Name="gridSpacer" Height="40" />
            <Grid x:Name="gridUpgradeOffer" ColumnSpacing="10" Margin="0,10,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <FontIcon x:Name="fontIconUpgrade" Glyph="&#xE719;" VerticalAlignment="Top" FontSize="32" />
                <StackPanel Grid.Column="1">
                    <TextBlock x:Uid="TextBlockLegacyUpgradeOffer" Text="XX Upgrade Offer" Style="{ThemeResource SubtitleTextBlockStyle}" Margin="0,0,0,10" />
                    <TextBlock Style="{ThemeResource BodyTextBlockStyle}" Margin="0,0,0,15">
                <Run x:Uid="RunLegacyUpgradeOfferPartOne">XX We would like to offer you a</Run> <Run x:Uid="RunLegacyUpgradeOfferPartTwo" FontWeight="Bold">XX 25% discount</Run> <Run x:Uid="RunLegacyUpgradeOfferPartThree">XX on the purchase of Droid Transfer 2 should you decide to upgrade. Enter your promotional code shown below at checkout to apply the upgrade discount.</Run>
                    </TextBlock>
                    <TextBlock x:Uid="TextBlockLegacyYourCode" Style="{ThemeResource BodyStrongTextBlockStyle}" Text="XX Your 25% off promotional code:" VerticalAlignment="Center" Margin="0,0,0,10" />
                    <StackPanel Orientation="Horizontal" Spacing="10" Margin="0,0,0,20">
                        <Border Background="{ThemeResource TextFillColorInverse}" BorderBrush="{ThemeResource TextFillColorPrimary}" BorderThickness="2" CornerRadius="16" Padding="12,4,12,4">
                            <TextBlock x:Name="textBlockCouponCode" Style="{ThemeResource SubtitleTextBlockStyle}" Text="BBCB75" IsTextSelectionEnabled="True" HorizontalAlignment="Center" TextAlignment="Center" VerticalAlignment="Center" />
                        </Border>
                        <HyperlinkButton Background="Transparent" BorderThickness="0" Padding="4" Foreground="{ThemeResource AccentTextFillColorPrimaryBrush}" Click="_buttonCopyToClipboard_Click">
                            <StackPanel Orientation="Horizontal" Spacing="5">
                                <FontIcon Glyph="&#xE8C8;" VerticalAlignment="Center" />
                                <TextBlock x:Uid="TextBlockLegacyCopyToClipboard" x:Name="textBlockCopyToClipboard" Text="XX Click here to copy to clipboard." VerticalAlignment="Center" Style="{ThemeResource CaptionTextBlockStyle}" HorizontalAlignment="Center" FontWeight="SemiBold" />
                            </StackPanel>
                        </HyperlinkButton>
                    </StackPanel>
                    <Button x:Uid="ButtonLegacyPurchaseUpgrade" Style="{ThemeResource AccentButtonStyle}" Content="XX Purchase Droid Transfer 2" Click="_buttonPurchase_Click" />
                </StackPanel>
            </Grid>
        </StackPanel>
    </Grid>
</UserControl>
