2021-06-06 20:47:16 -07:00
|
|
|
<controls:PopupWidget
|
|
|
|
x:Class="SourceGit.Views.Popups.SubTreePull"
|
|
|
|
x:Name="me"
|
|
|
|
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:controls="clr-namespace:SourceGit.Views.Controls"
|
|
|
|
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="150"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<TextBlock
|
|
|
|
Grid.Row="0" Grid.Column="0"
|
|
|
|
Margin="0,0,8,0"
|
2021-07-20 01:26:10 -07:00
|
|
|
Text="{DynamicResource Text.SubTreePullOrPush.Prefix}"
|
2021-06-06 20:47:16 -07:00
|
|
|
HorizontalAlignment="Right"/>
|
|
|
|
<StackPanel
|
|
|
|
Grid.Row="0" Grid.Column="1"
|
|
|
|
Orientation="Horizontal"
|
|
|
|
VerticalAlignment="Center">
|
|
|
|
<Path Width="14" Height="14" Data="{StaticResource Icon.SubTree}"/>
|
|
|
|
<TextBlock x:Name="txtPrefix" Margin="8,0,0,0"/>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<TextBlock
|
|
|
|
Grid.Row="1" Grid.Column="0"
|
|
|
|
Margin="0,0,8,0"
|
2021-07-20 01:26:10 -07:00
|
|
|
Text="{DynamicResource Text.SubTreePullOrPush.Source}"
|
2021-06-06 20:47:16 -07:00
|
|
|
HorizontalAlignment="Right"/>
|
|
|
|
<StackPanel
|
|
|
|
Grid.Row="1" Grid.Column="1"
|
|
|
|
Orientation="Horizontal"
|
|
|
|
VerticalAlignment="Center">
|
|
|
|
<Path Width="14" Height="14" Data="{StaticResource Icon.Remote}"/>
|
|
|
|
<TextBlock x:Name="txtSource" Margin="8,0,0,0"/>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<TextBlock
|
|
|
|
Grid.Row="2" Grid.Column="0"
|
|
|
|
Margin="0,0,8,0"
|
2021-07-20 01:26:10 -07:00
|
|
|
Text="{DynamicResource Text.SubTreePullOrPush.Branch}"
|
2021-06-06 20:47:16 -07:00
|
|
|
HorizontalAlignment="Right"/>
|
|
|
|
<controls:TextEdit
|
|
|
|
Grid.Row="2" Grid.Column="1"
|
|
|
|
x:Name="txtBranch"
|
|
|
|
Height="24">
|
|
|
|
<controls:TextEdit.Text>
|
|
|
|
<Binding ElementName="me" Path="Branch" UpdateSourceTrigger="PropertyChanged" Mode="TwoWay">
|
|
|
|
<Binding.ValidationRules>
|
|
|
|
<validations:Required/>
|
|
|
|
</Binding.ValidationRules>
|
|
|
|
</Binding>
|
|
|
|
</controls:TextEdit.Text>
|
|
|
|
</controls:TextEdit>
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
Grid.Row="3" Grid.Column="1"
|
|
|
|
Margin="0,4,0,0"
|
|
|
|
x:Name="chkSquash"
|
|
|
|
IsChecked="True"
|
2021-07-20 01:26:10 -07:00
|
|
|
Content="{DynamicResource Text.SubTreePullOrPush.Squash}"/>
|
2021-06-06 20:47:16 -07:00
|
|
|
</Grid>
|
|
|
|
</controls:PopupWidget>
|