2020-07-03 00:24:31 -07:00
|
|
|
<UserControl x:Class="SourceGit.UI.Pull"
|
|
|
|
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"
|
2020-07-29 22:59:12 -07:00
|
|
|
d:DesignHeight="248" d:DesignWidth="500" Height="248" Width="500">
|
2020-07-03 00:24:31 -07:00
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="16"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="28"/>
|
|
|
|
<RowDefinition Height="28"/>
|
|
|
|
<RowDefinition Height="16"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="150"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Label Grid.Row="0" Grid.ColumnSpan="2" FontWeight="DemiBold" FontSize="18" Content="Pull (Fetch & Merge)"/>
|
|
|
|
|
|
|
|
<Label Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" Content="Remote :"/>
|
|
|
|
<ComboBox Grid.Row="2" Grid.Column="1"
|
|
|
|
x:Name="combRemotes"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
SelectionChanged="RemotesSelectionChanged">
|
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<StackPanel Orientation="Horizontal" Height="20">
|
|
|
|
<Path Margin="4,0,0,0" Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Remote}"/>
|
2020-09-01 02:22:47 -07:00
|
|
|
<TextBlock Text="{Binding}" Padding="8,0,0,0" Foreground="{StaticResource Brush.FG}" VerticalAlignment="Center"/>
|
2020-07-03 00:24:31 -07:00
|
|
|
</StackPanel>
|
|
|
|
</DataTemplate>
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
</ComboBox>
|
|
|
|
|
|
|
|
<Label Grid.Row="3" Grid.Column="0" HorizontalAlignment="Right" Content="Branch :"/>
|
|
|
|
<ComboBox Grid.Row="3" Grid.Column="1"
|
|
|
|
x:Name="combBranches"
|
|
|
|
VerticalAlignment="Center">
|
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<StackPanel Orientation="Horizontal" Height="20">
|
|
|
|
<Path Margin="4,0,0,0" Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Branch}"/>
|
2020-09-01 02:22:47 -07:00
|
|
|
<TextBlock Text="{Binding}" Padding="8,0,0,0" Foreground="{StaticResource Brush.FG}" VerticalAlignment="Center"/>
|
2020-07-03 00:24:31 -07:00
|
|
|
</StackPanel>
|
|
|
|
</DataTemplate>
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
</ComboBox>
|
|
|
|
|
|
|
|
<Label Grid.Row="4" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Content="Into :"/>
|
|
|
|
<StackPanel Grid.Row="4" Grid.Column="1" Orientation="Horizontal">
|
|
|
|
<Path Width="12" Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Branch}"/>
|
2020-09-01 02:22:47 -07:00
|
|
|
<TextBlock x:Name="txtInto" Text="master" Padding="4,0,0,0" Foreground="{StaticResource Brush.FG}" VerticalAlignment="Center"/>
|
2020-07-03 00:24:31 -07:00
|
|
|
</StackPanel>
|
|
|
|
|
2020-07-29 22:59:12 -07:00
|
|
|
<CheckBox Grid.Row="5" Grid.Column="1"
|
2020-07-03 00:24:31 -07:00
|
|
|
x:Name="chkRebase"
|
|
|
|
IsChecked="True"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Content="Use rebase instead of merge"/>
|
|
|
|
|
2020-07-29 22:59:12 -07:00
|
|
|
<CheckBox Grid.Row="6" Grid.Column="1"
|
2020-07-03 00:24:31 -07:00
|
|
|
x:Name="chkAutoStash"
|
|
|
|
IsChecked="True"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Content="Stash & reapply local changes"/>
|
|
|
|
|
2020-07-29 22:59:12 -07:00
|
|
|
<Grid Grid.Row="8" Grid.ColumnSpan="2">
|
2020-07-03 00:24:31 -07:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
<ColumnDefinition Width="80"/>
|
|
|
|
<ColumnDefinition Width="8"/>
|
|
|
|
<ColumnDefinition Width="80"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Button Grid.Column="1" Click="Start" Content="SURE" Style="{StaticResource Style.Button.AccentBordered}"/>
|
|
|
|
<Button Grid.Column="3" Click="Cancel" Content="CANCEL" Style="{StaticResource Style.Button.Bordered}"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|
|
|
|
|