2024-07-14 09:30:31 -07:00
|
|
|
<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"
|
|
|
|
xmlns:vm="using:SourceGit.ViewModels"
|
|
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
|
|
x:Class="SourceGit.Views.WelcomeToolbar"
|
|
|
|
x:DataType="vm:Welcome">
|
2024-07-15 05:28:00 -07:00
|
|
|
<Grid ColumnDefinitions="Auto,*,Auto" Margin="4,0">
|
|
|
|
<StackPanel Grid.Column="0" Orientation="Horizontal">
|
|
|
|
<Button Classes="icon_button" Width="32" Command="{Binding Clone}" ToolTip.Tip="{DynamicResource Text.Welcome.Clone}">
|
2024-08-01 00:02:53 -07:00
|
|
|
<Path Width="16" Height="16" Data="{StaticResource Icons.Clone}" Margin="0,4,0,0"/>
|
2024-07-15 05:28:00 -07:00
|
|
|
</Button>
|
2024-07-14 09:30:31 -07:00
|
|
|
|
2024-07-15 05:28:00 -07:00
|
|
|
<Button Classes="icon_button" Width="32" Click="OpenLocalRepository" ToolTip.Tip="{DynamicResource Text.Welcome.OpenOrInit}">
|
|
|
|
<Path Width="14" Height="14" Data="{StaticResource Icons.Folder.Open}" Margin="0,2,0,0"/>
|
|
|
|
</Button>
|
2024-07-14 09:30:31 -07:00
|
|
|
|
2024-07-15 05:28:00 -07:00
|
|
|
<Button Classes="icon_button" Width="32" Command="{Binding OpenTerminal}" ToolTip.Tip="{DynamicResource Text.Welcome.OpenTerminal}">
|
2024-07-24 04:22:45 -07:00
|
|
|
<Path Width="13" Height="13" Data="{StaticResource Icons.Terminal}"/>
|
2024-07-15 05:28:00 -07:00
|
|
|
</Button>
|
|
|
|
</StackPanel>
|
2024-07-14 09:30:31 -07:00
|
|
|
|
2024-08-30 01:14:10 -07:00
|
|
|
<StackPanel Grid.Column="2" Orientation="Horizontal">
|
|
|
|
<Button Classes="icon_button" Width="32" Command="{Binding AddRootNode}" ToolTip.Tip="{DynamicResource Text.Welcome.AddRootFolder}">
|
|
|
|
<Path Width="14" Height="14" Margin="0,2,0,0" Data="{StaticResource Icons.Folder.Add}"/>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
<Button Classes="icon_button" Width="32" Command="{Binding ScanDefaultCloneDir}" ToolTip.Tip="{DynamicResource Text.Welcome.ScanDefaultCloneDir}">
|
|
|
|
<Path Width="14" Height="14" Data="{StaticResource Icons.Scan}"/>
|
|
|
|
</Button>
|
|
|
|
</StackPanel>
|
2024-07-15 05:28:00 -07:00
|
|
|
</Grid>
|
2024-07-14 09:30:31 -07:00
|
|
|
</UserControl>
|
|
|
|
|