Add project files.

This commit is contained in:
misak
2024-02-10 14:48:59 +09:00
parent bb04c21f6e
commit 307701c6c5
30 changed files with 1096 additions and 0 deletions

View File

@@ -0,0 +1,105 @@
<Page
x:Class="DownloadManager.Views.Pages.DashboardPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DownloadManager.Views.Pages"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Title="DashboardPage"
d:DataContext="{d:DesignInstance local:DashboardPage,
IsDesignTimeCreatable=False}"
d:DesignHeight="450"
d:DesignWidth="800"
ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}"
ui:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
mc:Ignorable="d">
<Grid>
<ItemsControl>
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border Height="60" CornerRadius="5">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="60"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="75"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<ui:SymbolIcon Symbol="Document24" FontSize="40"/>
</Grid>
<Grid Grid.Column="1" Margin="0,0">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="10"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" Margin="2, 0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="50"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<TextBlock Text="File Name" FontWeight="SemiBold" VerticalAlignment="Center"/>
</Grid>
<Grid Grid.Column="1">
<TextBlock Text="Progress" FontSize="11" HorizontalAlignment="Right" VerticalAlignment="Center"/>
</Grid>
</Grid>
<Grid Grid.Row="1">
<ProgressBar Height="7"/>
</Grid>
<Grid Grid.Row="2" Margin="2, 0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="75"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<TextBlock Text="Speed" FontSize="10" Opacity="0.75"/>
</Grid>
<Grid Grid.Column="1">
<TextBlock Text="File Size" FontSize="10" Opacity="0.75"/>
</Grid>
</Grid>
</Grid>
<Grid Grid.Column="2" Margin="5,0,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<ui:Button Height="20" Margin="2" Appearance="Transparent" BorderThickness="0" HorizontalAlignment="Stretch"/>
<ui:SymbolIcon Symbol="Pause20" FontSize="15"/>
</Grid>
<Grid Grid.Column="1">
<ui:Button Height="20" Margin="2" Appearance="Transparent" BorderThickness="0" HorizontalAlignment="Stretch"/>
<ui:SymbolIcon Symbol="Dismiss20" FontSize="15"/>
</Grid>
</Grid>
</Grid>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Grid>
</Page>