2021-04-29 05:05:55 -07:00
|
|
|
<controls:PopupWidget
|
|
|
|
x:Class="SourceGit.Views.Popups.Revert"
|
|
|
|
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"
|
2021-04-30 08:09:59 -07:00
|
|
|
mc:Ignorable="d"
|
2021-05-12 20:02:50 -07:00
|
|
|
d:DesignWidth="500">
|
2021-04-29 05:05:55 -07:00
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
2021-08-05 18:50:43 -07:00
|
|
|
<ColumnDefinition Width="120"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
<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.Revert.Commit}"
|
2021-04-29 05:05:55 -07:00
|
|
|
HorizontalAlignment="Right"/>
|
|
|
|
<StackPanel
|
|
|
|
Grid.Row="0" Grid.Column="1"
|
|
|
|
Orientation="Horizontal"
|
|
|
|
VerticalAlignment="Center">
|
|
|
|
<Path Width="14" Height="14" Data="{StaticResource Icon.Commit}"/>
|
2021-08-05 18:50:43 -07:00
|
|
|
<Border Background="{DynamicResource Brush.Badge}" Margin="4,0,0,0" Padding="4,2" CornerRadius="4">
|
|
|
|
<TextBlock x:Name="txtSHA"/>
|
|
|
|
</Border>
|
|
|
|
<TextBlock x:Name="txtCommit" Margin="4,0,0,0"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
Grid.Row="1" Grid.Column="1"
|
|
|
|
Margin="0,4,0,0"
|
|
|
|
x:Name="chkCommit"
|
|
|
|
IsChecked="True"
|
2021-07-20 01:26:10 -07:00
|
|
|
Content="{DynamicResource Text.Revert.CommitChanges}"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
</Grid>
|
|
|
|
</controls:PopupWidget>
|