mirror of
https://github.com/8damon/Blackbird-Platform
synced 2026-06-21 13:41:12 +00:00
84 lines
3.5 KiB
XML
84 lines
3.5 KiB
XML
<Window x:Class="BlackbirdInterface.LoadingWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="Loading"
|
|
Width="520"
|
|
Height="256"
|
|
ResizeMode="NoResize"
|
|
WindowStyle="None"
|
|
ShowInTaskbar="False"
|
|
Topmost="True"
|
|
WindowStartupLocation="CenterScreen"
|
|
Background="{DynamicResource WinBgBrush}">
|
|
<Window.Resources>
|
|
<Style x:Key="LoadingProgressBarStyle" TargetType="ProgressBar" BasedOn="{StaticResource {x:Type ProgressBar}}">
|
|
<Setter Property="Background" Value="#FF101513"/>
|
|
<Setter Property="Foreground" Value="#FF6FD3A8"/>
|
|
<Setter Property="BorderBrush" Value="#FF29443C"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
</Style>
|
|
</Window.Resources>
|
|
|
|
<Grid Margin="16">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel Grid.Row="0" VerticalAlignment="Top" Margin="0,0,48,0">
|
|
<TextBlock Text="Blackbird"
|
|
FontSize="18"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource WinTextBrush}"/>
|
|
<TextBlock x:Name="StatusBlock"
|
|
Text="Initializing..."
|
|
Margin="0,6,0,0"
|
|
FontSize="14"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource WinTextBrush}"/>
|
|
<TextBlock x:Name="DetailBlock"
|
|
Text="Preparing startup."
|
|
Margin="0,4,0,0"
|
|
TextWrapping="Wrap"
|
|
Foreground="{DynamicResource WinMutedTextBrush}"/>
|
|
</StackPanel>
|
|
|
|
<ProgressBar Grid.Row="1"
|
|
x:Name="LoadBar"
|
|
Style="{StaticResource LoadingProgressBarStyle}"
|
|
Height="14"
|
|
Margin="0,16,0,0"
|
|
Minimum="0"
|
|
Maximum="100"
|
|
Value="8"/>
|
|
|
|
<Grid Grid.Row="2" Margin="0,8,0,0">
|
|
<TextBlock x:Name="TimerBlock"
|
|
HorizontalAlignment="Left"
|
|
Foreground="{DynamicResource WinMutedTextBrush}"/>
|
|
<TextBlock x:Name="PercentBlock"
|
|
HorizontalAlignment="Right"
|
|
Foreground="{DynamicResource WinMutedTextBrush}"/>
|
|
</Grid>
|
|
|
|
<Border Grid.Row="3"
|
|
Margin="0,8,0,0"
|
|
Padding="8,6"
|
|
BorderThickness="1"
|
|
BorderBrush="{DynamicResource WinSubtleBorderBrush}"
|
|
Background="{DynamicResource WinPanelBrush}">
|
|
<TextBlock x:Name="StepsBlock"
|
|
FontFamily="{DynamicResource AppMonoFontFamily}"
|
|
FontSize="11"
|
|
MaxHeight="72"
|
|
Foreground="{DynamicResource WinMutedTextBrush}"
|
|
Text="Startup timeline..."
|
|
TextWrapping="Wrap"/>
|
|
</Border>
|
|
</Grid>
|
|
</Window>
|
|
|