mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
69 lines
4.1 KiB
XML
69 lines
4.1 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"
|
|
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
|
xmlns:fi="using:FluentIcons.Avalonia.Fluent"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="1000"
|
|
x:Class="LanMountainDesktop.Views.SettingsPages.PluginSettingsPage">
|
|
|
|
<StackPanel x:Name="PluginSettingsPanel" Spacing="16">
|
|
<TextBlock x:Name="PluginSettingsPanelTitleTextBlock"
|
|
FontSize="24"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource AdaptiveTextPrimaryBrush}"
|
|
Text="Plugins" />
|
|
|
|
<Border Classes="settings-expander-shell">
|
|
<ui:SettingsExpander x:Name="PluginSystemSettingsExpander"
|
|
Header="Plugin Runtime"
|
|
Description="Manage plugin loading and backend isolation."
|
|
IsExpanded="True">
|
|
<ui:SettingsExpander.IconSource>
|
|
<ui:FontIconSource Glyph="" FontFamily="{StaticResource SymbolThemeFontFamily}" />
|
|
</ui:SettingsExpander.IconSource>
|
|
<ui:SettingsExpander.Footer>
|
|
<StackPanel Spacing="10">
|
|
<TextBlock x:Name="PluginSystemDescriptionTextBlock"
|
|
Foreground="{DynamicResource AdaptiveTextSecondaryBrush}"
|
|
Text="This page will host installed plugin management, permission review, and sandboxed backend runtime controls." />
|
|
<Border Background="{DynamicResource AdaptiveSurfaceRaisedBrush}"
|
|
CornerRadius="{DynamicResource DesignCornerRadiusSm}"
|
|
Padding="14">
|
|
<TextBlock x:Name="PluginSystemStatusTextBlock"
|
|
Foreground="{DynamicResource AdaptiveTextSecondaryBrush}"
|
|
TextWrapping="Wrap"
|
|
Text="Plugin management UI is not connected yet. Next step is wiring the loader, permissions, and worker isolation state into this panel." />
|
|
</Border>
|
|
<StackPanel x:Name="PluginRuntimeSummaryPanel" Spacing="6" />
|
|
</StackPanel>
|
|
</ui:SettingsExpander.Footer>
|
|
</ui:SettingsExpander>
|
|
</Border>
|
|
|
|
<Border Classes="settings-expander-shell">
|
|
<ui:SettingsExpander x:Name="InstalledPluginsSettingsExpander"
|
|
Header="Installed Plugins"
|
|
Description="Enable plugins here. Detailed settings appear as separate settings pages."
|
|
IsExpanded="True">
|
|
<ui:SettingsExpander.IconSource>
|
|
<ui:FontIconSource Glyph="" FontFamily="{StaticResource SymbolThemeFontFamily}" />
|
|
</ui:SettingsExpander.IconSource>
|
|
<ui:SettingsExpander.Footer>
|
|
<StackPanel Spacing="10">
|
|
<TextBlock x:Name="PluginRestartHintTextBlock"
|
|
Foreground="{DynamicResource AdaptiveTextSecondaryBrush}"
|
|
TextWrapping="Wrap"
|
|
Text="Plugin enable state changes take effect after restarting the app." />
|
|
<TextBlock x:Name="PluginCatalogEmptyTextBlock"
|
|
Foreground="{DynamicResource AdaptiveTextSecondaryBrush}"
|
|
Text="No plugins found."
|
|
IsVisible="False" />
|
|
<StackPanel x:Name="PluginCatalogItemsHost" Spacing="12" />
|
|
</StackPanel>
|
|
</ui:SettingsExpander.Footer>
|
|
</ui:SettingsExpander>
|
|
</Border>
|
|
</StackPanel>
|
|
</UserControl>
|