|
|
@ -45,77 +45,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto"> |
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto"> |
|
|
|
<StackPanel Margin="8,16" Spacing="8"> |
|
|
|
<StackPanel Margin="8,16" Spacing="8"> |
|
|
|
<!-- Theme --> |
|
|
|
|
|
|
|
<Grid RowDefinitions="Auto,*,*,*"> |
|
|
|
|
|
|
|
<TextBlock |
|
|
|
|
|
|
|
Margin="0,0,0,8" |
|
|
|
|
|
|
|
FontWeight="Medium" |
|
|
|
|
|
|
|
Text="{x:Static lang:Resources.Label_Appearance}" /> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="1" |
|
|
|
|
|
|
|
Margin="8,0,8,4" |
|
|
|
|
|
|
|
Header="{x:Static lang:Resources.Label_Theme}" |
|
|
|
|
|
|
|
IconSource="WeatherMoon"> |
|
|
|
|
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
<ComboBox |
|
|
|
|
|
|
|
MinWidth="100" |
|
|
|
|
|
|
|
ItemsSource="{Binding AvailableThemes}" |
|
|
|
|
|
|
|
SelectedItem="{Binding SelectedTheme}" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
</ui:SettingsExpander> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="2" |
|
|
|
|
|
|
|
Margin="8,0,8,4" |
|
|
|
|
|
|
|
Header="{x:Static lang:Resources.Label_Language}" |
|
|
|
|
|
|
|
IconSource="Character"> |
|
|
|
|
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
<ComboBox |
|
|
|
|
|
|
|
MinWidth="100" |
|
|
|
|
|
|
|
DisplayMemberBinding="{Binding Converter={StaticResource CultureInfoDisplayConverter}}" |
|
|
|
|
|
|
|
ItemsSource="{Binding AvailableLanguages}" |
|
|
|
|
|
|
|
SelectedItem="{Binding SelectedLanguage}" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
</ui:SettingsExpander> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="3" |
|
|
|
|
|
|
|
Margin="8,0,8,4" |
|
|
|
|
|
|
|
ActionIconSource="ChevronRight" |
|
|
|
|
|
|
|
Command="{Binding NavigateToSubPageCommand}" |
|
|
|
|
|
|
|
CommandParameter="{x:Type vmSettings:InferenceSettingsViewModel}" |
|
|
|
|
|
|
|
Header="Inference (Test)" |
|
|
|
|
|
|
|
IconSource="Code" |
|
|
|
|
|
|
|
IsClickEnabled="True" |
|
|
|
|
|
|
|
IsVisible="{Binding SharedState.IsDebugMode}" /> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Checkpoints Manager Options --> |
|
|
|
|
|
|
|
<Grid RowDefinitions="auto,*,Auto"> |
|
|
|
|
|
|
|
<TextBlock |
|
|
|
|
|
|
|
Margin="0,0,0,8" |
|
|
|
|
|
|
|
FontWeight="Medium" |
|
|
|
|
|
|
|
Text="{x:Static lang:Resources.Label_CheckpointManager}" /> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="1" |
|
|
|
|
|
|
|
Margin="8,0" |
|
|
|
|
|
|
|
Description="{x:Static lang:Resources.Label_RemoveSymlinksOnShutdown_Details}" |
|
|
|
|
|
|
|
Header="{x:Static lang:Resources.Label_RemoveSymlinksOnShutdown}" |
|
|
|
|
|
|
|
IconSource="Folder"> |
|
|
|
|
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
<CheckBox IsChecked="{Binding RemoveSymlinksOnShutdown}" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
</ui:SettingsExpander> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="2" |
|
|
|
|
|
|
|
Margin="8,4" |
|
|
|
|
|
|
|
Description="{x:Static lang:Resources.Label_ResetCheckpointsCache_Details}" |
|
|
|
|
|
|
|
Header="{x:Static lang:Resources.Label_ResetCheckpointsCache}" |
|
|
|
|
|
|
|
IconSource="Refresh"> |
|
|
|
|
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
<Button Command="{Binding ResetCheckpointCache}" Content="{x:Static lang:Resources.Label_ResetCheckpointsCache}" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
</ui:SettingsExpander> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- General --> |
|
|
|
<!-- General --> |
|
|
|
<sg:SpacedGrid RowDefinitions="Auto,*,*,*" RowSpacing="4"> |
|
|
|
<sg:SpacedGrid RowDefinitions="Auto,*,*,*" RowSpacing="4"> |
|
|
|
<TextBlock |
|
|
|
<TextBlock |
|
|
@ -168,6 +97,68 @@ |
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</sg:SpacedGrid> |
|
|
|
</sg:SpacedGrid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Integrations --> |
|
|
|
|
|
|
|
<sg:SpacedGrid RowDefinitions="Auto,*,*" RowSpacing="4"> |
|
|
|
|
|
|
|
<TextBlock |
|
|
|
|
|
|
|
Margin="0,0,0,4" |
|
|
|
|
|
|
|
FontWeight="Medium" |
|
|
|
|
|
|
|
Text="{x:Static lang:Resources.Label_Integrations}" /> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="1" |
|
|
|
|
|
|
|
Margin="8,0" |
|
|
|
|
|
|
|
ActionIconSource="ChevronRight" |
|
|
|
|
|
|
|
Command="{Binding NavigateToSubPageCommand}" |
|
|
|
|
|
|
|
CommandParameter="{x:Type vmSettings:AccountSettingsViewModel}" |
|
|
|
|
|
|
|
Header="{x:Static lang:Resources.Label_Accounts}" |
|
|
|
|
|
|
|
IsClickEnabled="True"> |
|
|
|
|
|
|
|
<ui:SettingsExpander.IconSource> |
|
|
|
|
|
|
|
<fluentIcons:SymbolIconSource |
|
|
|
|
|
|
|
FontSize="10" |
|
|
|
|
|
|
|
IsFilled="True" |
|
|
|
|
|
|
|
Symbol="Person" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.IconSource> |
|
|
|
|
|
|
|
</ui:SettingsExpander> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="2" |
|
|
|
|
|
|
|
Margin="8,0,8,4" |
|
|
|
|
|
|
|
Header="{x:Static lang:Resources.Label_DiscordRichPresence}"> |
|
|
|
|
|
|
|
<ui:SettingsExpander.IconSource> |
|
|
|
|
|
|
|
<controls:FASymbolIconSource Symbol="fa-brands fa-discord" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.IconSource> |
|
|
|
|
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
<ToggleSwitch IsChecked="{Binding IsDiscordRichPresenceEnabled}" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
</ui:SettingsExpander> |
|
|
|
|
|
|
|
</sg:SpacedGrid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Checkpoints Manager Options --> |
|
|
|
|
|
|
|
<Grid RowDefinitions="auto,*,Auto"> |
|
|
|
|
|
|
|
<TextBlock |
|
|
|
|
|
|
|
Margin="0,0,0,8" |
|
|
|
|
|
|
|
FontWeight="Medium" |
|
|
|
|
|
|
|
Text="{x:Static lang:Resources.Label_CheckpointManager}" /> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="1" |
|
|
|
|
|
|
|
Margin="8,0" |
|
|
|
|
|
|
|
Description="{x:Static lang:Resources.Label_RemoveSymlinksOnShutdown_Details}" |
|
|
|
|
|
|
|
Header="{x:Static lang:Resources.Label_RemoveSymlinksOnShutdown}" |
|
|
|
|
|
|
|
IconSource="Folder"> |
|
|
|
|
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
<CheckBox IsChecked="{Binding RemoveSymlinksOnShutdown}" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
</ui:SettingsExpander> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="2" |
|
|
|
|
|
|
|
Margin="8,4" |
|
|
|
|
|
|
|
Description="{x:Static lang:Resources.Label_ResetCheckpointsCache_Details}" |
|
|
|
|
|
|
|
Header="{x:Static lang:Resources.Label_ResetCheckpointsCache}" |
|
|
|
|
|
|
|
IconSource="Refresh"> |
|
|
|
|
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
<Button Command="{Binding ResetCheckpointCache}" Content="{x:Static lang:Resources.Label_ResetCheckpointsCache}" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
|
|
|
|
</ui:SettingsExpander> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Environment Options --> |
|
|
|
<!-- Environment Options --> |
|
|
|
<Grid RowDefinitions="Auto, Auto, Auto"> |
|
|
|
<Grid RowDefinitions="Auto, Auto, Auto"> |
|
|
|
<TextBlock |
|
|
|
<TextBlock |
|
|
@ -205,39 +196,48 @@ |
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Integrations --> |
|
|
|
<!-- Theme --> |
|
|
|
<sg:SpacedGrid RowDefinitions="Auto,*,*" RowSpacing="4"> |
|
|
|
<Grid RowDefinitions="Auto,*,*,*"> |
|
|
|
<TextBlock |
|
|
|
<TextBlock |
|
|
|
Margin="0,0,0,4" |
|
|
|
Margin="0,0,0,8" |
|
|
|
FontWeight="Medium" |
|
|
|
FontWeight="Medium" |
|
|
|
Text="{x:Static lang:Resources.Label_Integrations}" /> |
|
|
|
Text="{x:Static lang:Resources.Label_Appearance}" /> |
|
|
|
<ui:SettingsExpander |
|
|
|
<ui:SettingsExpander |
|
|
|
Grid.Row="1" |
|
|
|
Grid.Row="1" |
|
|
|
Margin="8,0" |
|
|
|
Margin="8,0,8,4" |
|
|
|
ActionIconSource="ChevronRight" |
|
|
|
Header="{x:Static lang:Resources.Label_Theme}" |
|
|
|
Command="{Binding NavigateToSubPageCommand}" |
|
|
|
IconSource="WeatherMoon"> |
|
|
|
CommandParameter="{x:Type vmSettings:AccountSettingsViewModel}" |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
Header="{x:Static lang:Resources.Label_Accounts}" |
|
|
|
<ComboBox |
|
|
|
IsClickEnabled="True"> |
|
|
|
MinWidth="100" |
|
|
|
<ui:SettingsExpander.IconSource> |
|
|
|
ItemsSource="{Binding AvailableThemes}" |
|
|
|
<fluentIcons:SymbolIconSource |
|
|
|
SelectedItem="{Binding SelectedTheme}" /> |
|
|
|
FontSize="10" |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
IsFilled="True" |
|
|
|
|
|
|
|
Symbol="Person" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.IconSource> |
|
|
|
|
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
|
<ui:SettingsExpander |
|
|
|
<ui:SettingsExpander |
|
|
|
Grid.Row="2" |
|
|
|
Grid.Row="2" |
|
|
|
Margin="8,0,8,4" |
|
|
|
Margin="8,0,8,4" |
|
|
|
Header="{x:Static lang:Resources.Label_DiscordRichPresence}"> |
|
|
|
Header="{x:Static lang:Resources.Label_Language}" |
|
|
|
<ui:SettingsExpander.IconSource> |
|
|
|
IconSource="Character"> |
|
|
|
<controls:FASymbolIconSource Symbol="fa-brands fa-discord" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.IconSource> |
|
|
|
|
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ToggleSwitch IsChecked="{Binding IsDiscordRichPresenceEnabled}" /> |
|
|
|
<ComboBox |
|
|
|
|
|
|
|
MinWidth="100" |
|
|
|
|
|
|
|
DisplayMemberBinding="{Binding Converter={StaticResource CultureInfoDisplayConverter}}" |
|
|
|
|
|
|
|
ItemsSource="{Binding AvailableLanguages}" |
|
|
|
|
|
|
|
SelectedItem="{Binding SelectedLanguage}" /> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</sg:SpacedGrid> |
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="3" |
|
|
|
|
|
|
|
Margin="8,0,8,4" |
|
|
|
|
|
|
|
ActionIconSource="ChevronRight" |
|
|
|
|
|
|
|
Command="{Binding NavigateToSubPageCommand}" |
|
|
|
|
|
|
|
CommandParameter="{x:Type vmSettings:InferenceSettingsViewModel}" |
|
|
|
|
|
|
|
Header="Inference (Test)" |
|
|
|
|
|
|
|
IconSource="Code" |
|
|
|
|
|
|
|
IsClickEnabled="True" |
|
|
|
|
|
|
|
IsVisible="{Binding SharedState.IsDebugMode}" /> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<!-- System Options --> |
|
|
|
<!-- System Options --> |
|
|
|
<sg:SpacedGrid RowDefinitions="Auto,Auto,Auto,Auto,Auto" RowSpacing="4"> |
|
|
|
<sg:SpacedGrid RowDefinitions="Auto,Auto,Auto,Auto,Auto" RowSpacing="4"> |
|
|
|