BililiveRecorder/BililiveRecorder.WPF/Pages/LogPage.xaml

67 lines
3.4 KiB
Plaintext
Raw Normal View History

2020-11-27 18:51:02 +08:00
<ui:Page
x:Class="BililiveRecorder.WPF.Pages.LogPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:ui="http://schemas.modernwpf.com/2019"
2021-01-03 18:37:47 +08:00
xmlns:l="https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension"
l:LocalizeDictionary.DesignCulture=""
l:ResxLocalizationProvider.DefaultAssembly="BililiveRecorder.WPF"
l:ResxLocalizationProvider.DefaultDictionary="Strings"
2020-11-27 18:51:02 +08:00
xmlns:wpf="clr-namespace:BililiveRecorder.WPF"
xmlns:local="clr-namespace:BililiveRecorder.WPF.Pages"
2021-02-23 18:03:37 +08:00
xmlns:control="clr-namespace:BililiveRecorder.WPF.Controls"
2020-11-27 18:51:02 +08:00
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
2021-01-05 19:08:57 +08:00
>
2020-11-27 18:51:02 +08:00
<Grid Margin="5">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<ui:ThemeShadowChrome Margin="5">
2020-11-28 13:02:57 +08:00
<Border Background="{DynamicResource SystemControlBackgroundAltHighBrush}"
2020-11-28 05:39:56 +08:00
BorderBrush="{DynamicResource SystemControlBackgroundAccentBrush}"
BorderThickness="1" CornerRadius="5">
2020-11-27 18:51:02 +08:00
<StackPanel Margin="10" Orientation="Vertical">
<StackPanel.Resources>
<Style TargetType="TextBlock">
<Setter Property="FontSize" Value="15"/>
<Setter Property="TextAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style TargetType="ui:HyperlinkButton">
<Setter Property="Padding" Value="0"/>
</Style>
<Style TargetType="StackPanel">
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Orientation" Value="Horizontal"/>
</Style>
</StackPanel.Resources>
<StackPanel>
2021-01-05 19:08:57 +08:00
<TextBlock Text="{l:Loc About_Name}"/>
2020-11-27 18:51:02 +08:00
<TextBlock x:Name="VersionTextBlock"/>
</StackPanel>
<StackPanel>
2021-01-05 19:08:57 +08:00
<TextBlock Text="{l:Loc About_Website}"/>
2020-11-27 18:51:02 +08:00
<ui:HyperlinkButton Content="https://rec.danmuji.org" NavigateUri="https://rec.danmuji.org"/>
</StackPanel>
<StackPanel>
2021-01-05 19:08:57 +08:00
<TextBlock Text="{l:Loc About_Contact}"/>
2020-11-27 18:51:02 +08:00
<ui:HyperlinkButton Content="rec@danmuji.org" NavigateUri="mailto:rec@danmuji.org"/>
</StackPanel>
</StackPanel>
</Border>
</ui:ThemeShadowChrome>
<ui:ThemeShadowChrome Grid.Row="1" IsShadowEnabled="True" Depth="10" Margin="5">
2020-11-28 13:02:57 +08:00
<Border Background="{DynamicResource SystemControlBackgroundAltHighBrush}"
2020-11-28 05:39:56 +08:00
BorderBrush="{DynamicResource SystemControlBackgroundAccentBrush}"
BorderThickness="1" CornerRadius="5">
2021-02-23 18:03:37 +08:00
<control:LogPanel/>
2020-11-27 18:51:02 +08:00
</Border>
</ui:ThemeShadowChrome>
</Grid>
</ui:Page>