51 lines
2.5 KiB
XML
51 lines
2.5 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="Flawless.Client.Views.RepositoryPage.RepoWorkspacePageView">
|
|
<DockPanel>
|
|
<StackPanel DockPanel.Dock="Bottom" Spacing="6" Margin="8">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="Commit Message"/>
|
|
</StackPanel>
|
|
<TextBox Height="80"/>
|
|
<StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
|
|
|
|
</StackPanel>
|
|
<Grid ColumnDefinitions="Auto, *, Auto">
|
|
<StackPanel Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Left">
|
|
<Button Content="Sync"></Button>
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Right" Spacing="8">
|
|
<SplitButton Content="Commit">
|
|
<SplitButton.Flyout>
|
|
<MenuFlyout Placement="Top">
|
|
<MenuItem Header="Lock"/>
|
|
</MenuFlyout>
|
|
</SplitButton.Flyout>
|
|
</SplitButton>
|
|
</StackPanel>
|
|
</Grid>
|
|
</StackPanel>
|
|
<Border Classes="Shadow" Theme="{StaticResource CardBorder}">
|
|
<Grid ColumnDefinitions="*, 8, *">
|
|
<StackPanel Grid.Column="0" Orientation="Vertical" Spacing="8">
|
|
<Grid RowDefinitions="Auto, Auto">
|
|
<Label Grid.Row="0" FontSize="12" Content="Changes" HorizontalAlignment="Left"/>
|
|
<TreeDataGrid Grid.Row="1">
|
|
</TreeDataGrid>
|
|
</Grid>
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="2" Orientation="Vertical" Spacing="8">
|
|
<Grid RowDefinitions="Auto, Auto">
|
|
<Label Grid.Row="0" FontSize="12" Content="Ready" HorizontalAlignment="Right"/>
|
|
<TreeDataGrid Grid.Row="1">
|
|
</TreeDataGrid>
|
|
</Grid>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Border>
|
|
</DockPanel>
|
|
</UserControl>
|