mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 00:54:26 +08:00
56 lines
2.5 KiB
XML
56 lines
2.5 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
x:Class="LanMountainDesktop.Views.ComponentEditors.ClassScheduleComponentEditor">
|
|
<StackPanel Spacing="16">
|
|
<Border Classes="component-editor-hero-card"
|
|
Padding="24">
|
|
<StackPanel Spacing="8">
|
|
<TextBlock x:Name="HeadlineTextBlock"
|
|
Classes="component-editor-headline"
|
|
TextWrapping="Wrap" />
|
|
<TextBlock x:Name="DescriptionTextBlock"
|
|
Classes="component-editor-secondary-text"
|
|
TextWrapping="Wrap" />
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<Border Classes="component-editor-card"
|
|
Padding="20">
|
|
<StackPanel Spacing="12">
|
|
<TextBlock x:Name="ColorSchemeHeaderTextBlock"
|
|
Classes="component-editor-section-title" />
|
|
<ComboBox x:Name="ColorSchemeComboBox"
|
|
Classes="component-editor-select"
|
|
HorizontalAlignment="Stretch"
|
|
SelectionChanged="OnColorSchemeSelectionChanged">
|
|
<ComboBoxItem x:Name="FollowSystemColorSchemeItem"
|
|
Classes="component-editor-select-item"
|
|
Tag="follow_system" />
|
|
<ComboBoxItem x:Name="UseNativeColorSchemeItem"
|
|
Classes="component-editor-select-item"
|
|
Tag="native" />
|
|
</ComboBox>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<Border Classes="component-editor-card"
|
|
Padding="20">
|
|
<StackPanel Spacing="12">
|
|
<Button x:Name="AddScheduleButton"
|
|
HorizontalAlignment="Left"
|
|
Classes="accent"
|
|
Padding="16,10"
|
|
Click="OnAddScheduleClick" />
|
|
<TextBlock x:Name="EmptyStateTextBlock"
|
|
Classes="component-editor-secondary-text"
|
|
TextWrapping="Wrap" />
|
|
<StackPanel x:Name="ScheduleItemsPanel"
|
|
Spacing="10" />
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
</UserControl>
|