brbrbr patapim
This commit is contained in:
parent
3dc9c8c279
commit
13a076ad79
5 changed files with 388 additions and 236 deletions
|
|
@ -10,11 +10,11 @@
|
|||
<ResourceDictionary>
|
||||
<ResourceDictionary.ThemeDictionaries>
|
||||
<ResourceDictionary x:Key="Light">
|
||||
<SvgImage x:Key="Logo" Source="/Images/logo_red.svg"/>
|
||||
<SvgImage x:Key="Logo" Source="/Images/logo_red.svg" />
|
||||
</ResourceDictionary>
|
||||
|
||||
|
||||
<ResourceDictionary x:Key="Dark">
|
||||
<SvgImage x:Key="Logo" Source="/Images/logo_red.svg"/>
|
||||
<SvgImage x:Key="Logo" Source="/Images/logo_red.svg" />
|
||||
</ResourceDictionary>
|
||||
</ResourceDictionary.ThemeDictionaries>
|
||||
</ResourceDictionary>
|
||||
|
|
@ -22,49 +22,44 @@
|
|||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="96" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Main Content Area -->
|
||||
<Grid Grid.Row="0" Margin="8">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*" /> <!-- 30% -->
|
||||
<ColumnDefinition Width="7*" /> <!-- 70% -->
|
||||
</Grid.ColumnDefinitions>
|
||||
<Image Grid.Row="0"
|
||||
Margin="20"
|
||||
VerticalAlignment="Center"
|
||||
Source="{DynamicResource Logo}"
|
||||
HorizontalAlignment="Left">
|
||||
</Image>
|
||||
|
||||
<!-- Left Panel - Buttons -->
|
||||
<StackPanel Grid.Column="0" Margin="20" Spacing="15">
|
||||
<Button Name="ChooseApkButton" Content="Choose .apk"
|
||||
HorizontalAlignment="Stretch" />
|
||||
<Button Grid.Row="0" Name="NewInstallationButton" Margin="20" VerticalAlignment="Center"
|
||||
HorizontalAlignment="Right">
|
||||
+ Add new installation
|
||||
</Button>
|
||||
|
||||
<Button Name="ChooseContentButton" Content="Choose .zip"
|
||||
HorizontalAlignment="Stretch" />
|
||||
<ScrollViewer Grid.Row="1">
|
||||
<StackPanel Margin="10">
|
||||
<Expander Header="Item 1" Margin="0,5" HorizontalAlignment="Stretch">
|
||||
<TextBlock Text="Content for item 1" Margin="10" />
|
||||
</Expander>
|
||||
|
||||
<Button Name="InstallButton" Content="Install"
|
||||
HorizontalAlignment="Stretch" />
|
||||
<Expander Header="Item 2" Margin="0,5" HorizontalAlignment="Stretch">
|
||||
<TextBlock Text="Content for item 2" Margin="10" />
|
||||
</Expander>
|
||||
|
||||
<Expander Header="Item 3" Margin="0,5" HorizontalAlignment="Stretch">
|
||||
<TextBlock Text="Content for item 3" Margin="10" />
|
||||
</Expander>
|
||||
|
||||
<Expander Header="Item 4" Margin="0,5" HorizontalAlignment="Stretch">
|
||||
<TextBlock Text="Content for item 4" Margin="10" />
|
||||
</Expander>
|
||||
|
||||
<Expander Header="Item 5" Margin="0,5" HorizontalAlignment="Stretch">
|
||||
<TextBlock Text="Content for item 5" Margin="10" />
|
||||
</Expander>
|
||||
</StackPanel>
|
||||
|
||||
<Image Grid.Column="0"
|
||||
Margin="20"
|
||||
VerticalAlignment="Bottom"
|
||||
Source="{DynamicResource Logo}"
|
||||
HorizontalAlignment="Center">
|
||||
</Image>
|
||||
|
||||
<!-- Right Panel - Logs -->
|
||||
<TextBox Grid.Column="1" Name="LogsTextBox"
|
||||
IsReadOnly="True"
|
||||
AcceptsReturn="True"
|
||||
TextWrapping="Wrap"
|
||||
FontFamily="Consolas,Courier New,monospace"
|
||||
Focusable="False"
|
||||
Margin="4,0,0,0" />
|
||||
</Grid>
|
||||
|
||||
<!-- Progress Bar at Bottom -->
|
||||
<ProgressBar Grid.Row="1" Name="InstallProgressBar"
|
||||
Height="20" Minimum="0" Maximum="100" Value="0"
|
||||
Margin="8" />
|
||||
</ScrollViewer>
|
||||
</Grid>
|
||||
</Window>
|
||||
Loading…
Add table
Add a link
Reference in a new issue