2021-04-29 05:05:55 -07:00
|
|
|
<UserControl x:Class="SourceGit.Views.Widgets.RevisionCompare"
|
|
|
|
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:widgets="clr-namespace:SourceGit.Views.Widgets"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
|
|
<Grid Margin="4,8,4,4">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="44"/>
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
2021-05-17 03:40:43 -07:00
|
|
|
<Grid Grid.Row="0">
|
2021-04-29 05:05:55 -07:00
|
|
|
<Grid.ColumnDefinitions>
|
2021-05-19 01:14:46 -07:00
|
|
|
<ColumnDefinition Width="80"/>
|
2021-05-17 03:40:43 -07:00
|
|
|
<ColumnDefinition Width="*"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
<ColumnDefinition Width="48"/>
|
2021-05-17 03:40:43 -07:00
|
|
|
<ColumnDefinition Width="*"/>
|
2021-05-19 01:14:46 -07:00
|
|
|
<ColumnDefinition Width="80"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Border
|
2021-05-17 03:40:43 -07:00
|
|
|
Grid.Column="1"
|
2021-07-20 01:26:10 -07:00
|
|
|
BorderBrush="{DynamicResource Brush.Border2}"
|
2021-04-29 05:05:55 -07:00
|
|
|
BorderThickness="1"
|
2021-07-20 01:26:10 -07:00
|
|
|
Background="{DynamicResource Brush.Contents}"
|
2021-04-29 05:05:55 -07:00
|
|
|
CornerRadius="4">
|
|
|
|
<Grid Margin="4">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<controls:Avatar Grid.Column="0" Width="32" Height="32" x:Name="avatarStart"/>
|
|
|
|
|
|
|
|
<Grid Grid.Column="1" Margin="8,0,0,0">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
2021-05-17 18:08:55 -07:00
|
|
|
<Grid Grid.Row="0" TextBlock.FontSize="9pt" TextBlock.FontFamily="Consolas">
|
2021-04-29 05:05:55 -07:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<TextBlock Grid.Column="0" x:Name="txtStartSHA" Foreground="DarkOrange"/>
|
2021-07-20 01:26:10 -07:00
|
|
|
<TextBlock Grid.Column="1" x:Name="txtStartTime" Foreground="{DynamicResource Brush.FG2}" HorizontalAlignment="Right"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
</Grid>
|
|
|
|
|
2021-05-18 19:12:25 -07:00
|
|
|
<TextBlock Grid.Row="1" x:Name="txtStartSubject" FontSize="10pt" FontFamily="Consolas,Microsoft YaHei UI" VerticalAlignment="Bottom"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<Path
|
2021-05-17 03:40:43 -07:00
|
|
|
Grid.Column="2"
|
2021-04-29 05:05:55 -07:00
|
|
|
Width="16" Height="16"
|
2021-07-20 01:26:10 -07:00
|
|
|
Fill="{DynamicResource Brush.FG2}"
|
2021-04-29 05:05:55 -07:00
|
|
|
Data="{StaticResource Icon.Down}"
|
|
|
|
RenderTransformOrigin=".5,.5">
|
|
|
|
<Path.RenderTransform>
|
|
|
|
<RotateTransform Angle="270"/>
|
|
|
|
</Path.RenderTransform>
|
|
|
|
</Path>
|
|
|
|
|
|
|
|
<Border
|
2021-05-17 03:40:43 -07:00
|
|
|
Grid.Column="3"
|
2021-07-20 01:26:10 -07:00
|
|
|
BorderBrush="{DynamicResource Brush.Border2}"
|
2021-04-29 05:05:55 -07:00
|
|
|
BorderThickness="1"
|
2021-07-20 01:26:10 -07:00
|
|
|
Background="{DynamicResource Brush.Contents}"
|
2021-04-29 05:05:55 -07:00
|
|
|
CornerRadius="4">
|
|
|
|
<Grid Margin="4">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<controls:Avatar Grid.Column="0" Width="32" Height="32" x:Name="avatarEnd"/>
|
|
|
|
|
|
|
|
<Grid Grid.Column="1" Margin="8,0,0,0">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
2021-05-17 18:08:55 -07:00
|
|
|
<Grid Grid.Row="0" TextBlock.FontSize="9pt" TextBlock.FontFamily="Consolas">
|
2021-04-29 05:05:55 -07:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<TextBlock Grid.Column="0" x:Name="txtEndSHA" Foreground="DarkOrange"/>
|
2021-07-20 01:26:10 -07:00
|
|
|
<TextBlock Grid.Column="1" x:Name="txtEndTime" Foreground="{DynamicResource Brush.FG2}" HorizontalAlignment="Right"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
</Grid>
|
|
|
|
|
2021-05-18 19:12:25 -07:00
|
|
|
<TextBlock Grid.Row="1" x:Name="txtEndSubject" FontSize="10pt" FontFamily="Consolas,Microsoft YaHei UI" VerticalAlignment="Bottom"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<widgets:CommitChanges Grid.Row="1" x:Name="changesContainer" Margin="0,8,0,0"/>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|