<dialogs:CustomDialog x:Class="Hearthstone_Deck_Tracker.Windows.WebImportingDialog"
             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:dialogs="clr-namespace:MahApps.Metro.Controls.Dialogs;assembly=MahApps.Metro"
             xmlns:lex="http://wpflocalizeextension.codeplex.com"
             xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
             xmlns:windows="clr-namespace:Hearthstone_Deck_Tracker.Windows"
             lex:LocalizeDictionary.DesignCulture="en"
             lex:ResxLocalizationProvider.DefaultAssembly="HearthstoneDeckTracker"
             lex:ResxLocalizationProvider.DefaultDictionary="Strings"
             mc:Ignorable="d" Title="{lex:Loc WebImportingDialog_Title}" 
             d:DesignHeight="300" d:DesignWidth="300">
    <DockPanel>
        <StackPanel Margin="0,20,0,0" DockPanel.Dock="Top">
            <TextBlock Text="{lex:Loc WebImportingDialog_Label_EnterUrl}" DockPanel.Dock="Top" FontSize="14"/>
            <TextBox Text="{Binding Url, RelativeSource={RelativeSource AncestorType=windows:WebImportingDialog}}"
                DockPanel.Dock="Top" controls:TextBoxHelper.Watermark="https://hsreplay.net/decks/aoQE..."/>
            <TextBlock TextWrapping="Wrap" DockPanel.Dock="Top" Margin="0,2,0,0">
                <Hyperlink NavigateUri="https://github.com/HearthSim/Hearthstone-Deck-Tracker/wiki/Web-importing" RequestNavigate="Hyperlink_OnRequestNavigate">
                    <Run Text="{lex:Loc WebImportingDialog_Hyperlink_AllWebsites}"/>
                </Hyperlink>
            </TextBlock>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Width="210" Margin="0,30,0,20" HorizontalAlignment="Right" DockPanel.Dock="Top">
            <Button Name="BtnOk" Height="37" Width="90" Style="{DynamicResource AccentedSquareButtonStyle}" Click="BtnOk_OnClick">
                <TextBlock Text="{lex:Loc WebImportingDialog_Button_Import}"/>
            </Button>
            <Button Name="BtnCancel" Height="37" Width="90" Margin="15,0,0,0" Click="BtnCancel_OnClick">
                <TextBlock Text="{lex:Loc WebImportingDialog_Button_Cancel}"/>
            </Button>
        </StackPanel>
        <Grid/>
    </DockPanel>
</dialogs:CustomDialog>

