- Fix ospp.vbs path: add root\Office16 for Click-to-Run installs - Individual key cards with per-key remove buttons - "Remove all" only shown when 2+ keys found - Collapsible "Details" section (ospp.vbs path + raw output) - All log/output fields now selectable and copyable (TextBox) - Parse license entries (name, status, error, key) from dstatus output Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
74 sor
3.7 KiB
XML
74 sor
3.7 KiB
XML
<Window x:Class="InstaSoftOfficeTool.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="InstaSoft Office Tool"
|
|
Width="800" Height="550"
|
|
ResizeMode="NoResize"
|
|
WindowStartupLocation="CenterScreen"
|
|
Background="{StaticResource BackgroundBrush}">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="64"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="60"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Header bar -->
|
|
<Border Grid.Row="0" Background="{StaticResource HeaderBarBrush}"
|
|
BorderBrush="{StaticResource BorderBrush}" BorderThickness="0,0,0,1">
|
|
<Grid Margin="24,0">
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
|
<!-- Microsoft 4-color logo -->
|
|
<Grid Width="24" Height="24" Margin="0,0,12,0">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<Rectangle Grid.Row="0" Grid.Column="0" Fill="#F35325" Margin="0,0,1,1"/>
|
|
<Rectangle Grid.Row="0" Grid.Column="1" Fill="#81BC06" Margin="1,0,0,1"/>
|
|
<Rectangle Grid.Row="1" Grid.Column="0" Fill="#05A6F0" Margin="0,1,1,0"/>
|
|
<Rectangle Grid.Row="1" Grid.Column="1" Fill="#FFBA08" Margin="1,1,0,0"/>
|
|
</Grid>
|
|
<StackPanel VerticalAlignment="Center">
|
|
<TextBlock Text="InstaSoft Office Tool" FontSize="16" FontWeight="SemiBold"
|
|
Foreground="{StaticResource TextPrimaryBrush}"/>
|
|
<TextBlock Text="Microsoft Partner" FontSize="11"
|
|
Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<TextBlock Text="v1.02" HorizontalAlignment="Right" VerticalAlignment="Center"
|
|
FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<!-- Content area -->
|
|
<Frame x:Name="ContentFrame" Grid.Row="1" NavigationUIVisibility="Hidden"
|
|
Margin="0" Background="Transparent"/>
|
|
|
|
<!-- Bottom bar: step dots + navigation -->
|
|
<Border Grid.Row="2" Background="{StaticResource HeaderBarBrush}"
|
|
BorderBrush="{StaticResource BorderBrush}" BorderThickness="0,1,0,0">
|
|
<Grid Margin="24,0">
|
|
<!-- Step indicator dots -->
|
|
<StackPanel x:Name="StepIndicator" Orientation="Horizontal"
|
|
HorizontalAlignment="Left" VerticalAlignment="Center">
|
|
</StackPanel>
|
|
|
|
<!-- Navigation buttons -->
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"
|
|
VerticalAlignment="Center">
|
|
<Button x:Name="BtnBack" Content="← Vissza" Style="{StaticResource SecondaryButton}"
|
|
Click="BtnBack_Click" Margin="0,0,8,0" Visibility="Collapsed"/>
|
|
<Button x:Name="BtnNext" Content="Tovább →" Style="{StaticResource PrimaryButton}"
|
|
Click="BtnNext_Click" Visibility="Collapsed"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Window>
|