mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
style(Dashboard): arrange button in toolbar
This commit is contained in:
parent
67df225ba0
commit
41a66c67b5
1 changed files with 21 additions and 23 deletions
|
@ -39,13 +39,29 @@
|
||||||
|
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto"/>
|
|
||||||
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="*"/>
|
||||||
<ColumnDefinition Width="Auto"/>
|
<ColumnDefinition Width="Auto"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<!-- Common Git Options -->
|
<!-- Browser -->
|
||||||
<StackPanel Grid.Column="0" Orientation="Horizontal" Margin="6,0">
|
<StackPanel Grid.Column="0" Orientation="Horizontal" Margin="6,0">
|
||||||
|
<Button Click="OpenExplorer" Margin="4,0,0,0" ToolTip="Open In File Browser">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Folder.Open}"/>
|
||||||
|
<Label Content="Explore"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Button>
|
||||||
|
<Button Click="OpenConfigure" Margin="4,0,0,0" ToolTip="Configure This Repository">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Setting}"/>
|
||||||
|
<Label Content="Configure"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Button>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<!-- Common Git Options -->
|
||||||
|
<StackPanel Grid.Column="1" Orientation="Horizontal" Margin="6,0">
|
||||||
<Button Click="OpenFetch" Margin="4,0">
|
<Button Click="OpenFetch" Margin="4,0">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Fetch}"/>
|
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Fetch}"/>
|
||||||
|
@ -64,19 +80,13 @@
|
||||||
<Label Content="Push"/>
|
<Label Content="Push"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Rectangle Margin="4,0,8,0" Width="1" Height="20" Fill="{StaticResource Brush.Border1}"/>
|
|
||||||
|
|
||||||
<Button Click="OpenStash" Margin="4,0">
|
<Button Click="OpenStash" Margin="4,0">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.SaveStash}"/>
|
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.SaveStash}"/>
|
||||||
<Label Content="Stash"/>
|
<Label Content="Stash"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button Click="OpenApply">
|
||||||
<Rectangle Margin="4,0,8,0" Width="1" Height="20" Fill="{StaticResource Brush.Border1}"/>
|
|
||||||
|
|
||||||
<Button Click="OpenApply" Margin="4,0">
|
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Apply}"/>
|
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Apply}"/>
|
||||||
<Label Content="Apply"/>
|
<Label Content="Apply"/>
|
||||||
|
@ -86,24 +96,12 @@
|
||||||
|
|
||||||
<!-- External Options -->
|
<!-- External Options -->
|
||||||
<StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Right">
|
<StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Right">
|
||||||
<Button Click="OpenSearch" Margin="4,0,0,0" ToolTip="Search Commit">
|
<Button Click="OpenSearch" Margin="4,0" ToolTip="Search Commit">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Search}"/>
|
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Search}"/>
|
||||||
<Label Content="Search"/>
|
<Label Content="Search"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
<Button Click="OpenConfigure" Margin="4,0,0,0" ToolTip="Configure This Repository">
|
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Setting}"/>
|
|
||||||
<Label Content="Configure"/>
|
|
||||||
</StackPanel>
|
|
||||||
</Button>
|
|
||||||
<Button Click="OpenExplorer" Margin="4,0,0,0" ToolTip="Open In File Browser">
|
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Folder.Open}"/>
|
|
||||||
<Label Content="Explore"/>
|
|
||||||
</StackPanel>
|
|
||||||
</Button>
|
|
||||||
<Button Click="OpenTerminal" Margin="4,0" ToolTip="Open Git Bash">
|
<Button Click="OpenTerminal" Margin="4,0" ToolTip="Open Git Bash">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Terminal}"/>
|
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Terminal}"/>
|
||||||
|
|
Loading…
Reference in a new issue