|
|
@ -1,42 +1,52 @@ |
|
|
|
<ui:FluentWindow x:Class="StabilityMatrix.MainWindow" |
|
|
|
<ui:FluentWindow |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
Background="{DynamicResource ApplicationBackgroundBrush}" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
ExtendsContentIntoTitleBar="True" |
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
|
Foreground="{DynamicResource TextFillColorPrimaryBrush}" |
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
Height="700" |
|
|
|
xmlns:local="clr-namespace:StabilityMatrix" |
|
|
|
Icon="Assets/Icon.ico" |
|
|
|
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" |
|
|
|
Loaded="MainWindow_OnLoaded" |
|
|
|
mc:Ignorable="d" |
|
|
|
Title="Stability Matrix" |
|
|
|
Icon="Assets/Icon.ico" |
|
|
|
Width="1100" |
|
|
|
Background="{DynamicResource ApplicationBackgroundBrush}" |
|
|
|
WindowBackdropType="Mica" |
|
|
|
Foreground="{DynamicResource TextFillColorPrimaryBrush}" |
|
|
|
d:DataContext="{d:DesignInstance Type=viewModels:MainWindowViewModel, |
|
|
|
ExtendsContentIntoTitleBar="True" |
|
|
|
IsDesignTimeCreatable=True}" |
|
|
|
WindowBackdropType="Mica" |
|
|
|
mc:Ignorable="d" |
|
|
|
Loaded="MainWindow_OnLoaded" |
|
|
|
x:Class="StabilityMatrix.MainWindow" |
|
|
|
Title="Stability Matrix" Height="700" Width="1100"> |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
|
|
|
|
|
xmlns:local="clr-namespace:StabilityMatrix" |
|
|
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
|
|
|
|
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" |
|
|
|
|
|
|
|
xmlns:viewModels="clr-namespace:StabilityMatrix.ViewModels" |
|
|
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
|
|
<Grid> |
|
|
|
<Grid> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
<RowDefinition Height="*" /> |
|
|
|
<RowDefinition Height="*" /> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
|
|
|
|
<ui:TitleBar Foreground="White" Background="#191919"> |
|
|
|
<ui:TitleBar Background="#191919" Foreground="White"> |
|
|
|
<ui:TitleBar.Header> |
|
|
|
<ui:TitleBar.Header> |
|
|
|
<TextBlock Text="Stability Matrix" Margin="16,8" /> |
|
|
|
<TextBlock Margin="16,8" Text="Stability Matrix" /> |
|
|
|
</ui:TitleBar.Header> |
|
|
|
</ui:TitleBar.Header> |
|
|
|
</ui:TitleBar> |
|
|
|
</ui:TitleBar> |
|
|
|
<Grid Grid.Row="1" Visibility="{Binding AdvancedModeVisibility, FallbackValue=Visible}"> |
|
|
|
<Grid Grid.Row="1" Visibility="{Binding AdvancedModeVisibility, FallbackValue=Visible}"> |
|
|
|
<ui:NavigationView x:Name="RootNavigation" |
|
|
|
<ui:NavigationView |
|
|
|
IsBackButtonVisible="Collapsed" |
|
|
|
IsBackButtonVisible="Collapsed" |
|
|
|
PaneOpened="RootNavigation_OnPaneOpened" |
|
|
|
PaneClosed="RootNavigation_OnPaneClosed" |
|
|
|
PaneClosed="RootNavigation_OnPaneClosed"> |
|
|
|
PaneOpened="RootNavigation_OnPaneOpened" |
|
|
|
|
|
|
|
x:Name="RootNavigation"> |
|
|
|
<ui:NavigationView.Header> |
|
|
|
<ui:NavigationView.Header> |
|
|
|
<ui:BreadcrumbBar |
|
|
|
<ui:BreadcrumbBar |
|
|
|
Margin="42,32,0,16" |
|
|
|
|
|
|
|
FontSize="28" |
|
|
|
FontSize="28" |
|
|
|
FontWeight="DemiBold" /> |
|
|
|
FontWeight="DemiBold" |
|
|
|
|
|
|
|
Margin="42,32,0,16" /> |
|
|
|
</ui:NavigationView.Header> |
|
|
|
</ui:NavigationView.Header> |
|
|
|
<ui:NavigationView.MenuItems> |
|
|
|
<ui:NavigationView.MenuItems> |
|
|
|
<ui:NavigationViewItem Content="Launch" IsActive="true" TargetPageType="{x:Type local:LaunchPage}"> |
|
|
|
<ui:NavigationViewItem |
|
|
|
|
|
|
|
Content="Launch" |
|
|
|
|
|
|
|
IsActive="true" |
|
|
|
|
|
|
|
TargetPageType="{x:Type local:LaunchPage}"> |
|
|
|
<ui:NavigationViewItem.Icon> |
|
|
|
<ui:NavigationViewItem.Icon> |
|
|
|
<ui:SymbolIcon Symbol="Rocket24" /> |
|
|
|
<ui:SymbolIcon Symbol="Rocket24" /> |
|
|
|
</ui:NavigationViewItem.Icon> |
|
|
|
</ui:NavigationViewItem.Icon> |
|
|
@ -57,12 +67,20 @@ |
|
|
|
</ui:NavigationView> |
|
|
|
</ui:NavigationView> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Row="1" Visibility="{Binding SimpleModeVisibility, FallbackValue=Hidden}"> |
|
|
|
<Grid Grid.Row="1" Visibility="{Binding SimpleModeVisibility, FallbackValue=Hidden}"> |
|
|
|
<ui:Button Content="Install" HorizontalAlignment="Center" FontSize="36" Padding="16"/> |
|
|
|
<ui:Button |
|
|
|
<Button Content="Advanced Options" HorizontalAlignment="Center" |
|
|
|
Content="Install" |
|
|
|
Background="Transparent" |
|
|
|
FontSize="36" |
|
|
|
Command="{Binding GoAdvancedModeCommand}" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
VerticalAlignment="Bottom" Margin="16" FontSize="14"/> |
|
|
|
Padding="16" /> |
|
|
|
|
|
|
|
<Button |
|
|
|
|
|
|
|
Background="Transparent" |
|
|
|
|
|
|
|
Command="{Binding GoAdvancedModeCommand}" |
|
|
|
|
|
|
|
Content="Advanced Options" |
|
|
|
|
|
|
|
FontSize="14" |
|
|
|
|
|
|
|
HorizontalAlignment="Center" |
|
|
|
|
|
|
|
Margin="16" |
|
|
|
|
|
|
|
VerticalAlignment="Bottom" /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<ContentPresenter x:Name="RootContentDialog" Grid.Row="1" /> |
|
|
|
<ContentPresenter Grid.Row="1" x:Name="RootContentDialog" /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</ui:FluentWindow> |
|
|
|
</ui:FluentWindow> |
|
|
|