2020-03-12 14:25:24 +08:00
|
|
|
<Page
|
|
|
|
x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:local="using:Microsoft.PowerToys.Settings.UI.Views"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
<ScrollViewer>
|
|
|
|
<StackPanel Orientation="Vertical" Margin="14,0,14,48">
|
|
|
|
|
2020-03-25 10:55:02 +08:00
|
|
|
<ToggleSwitch Header="Run at startup" x:Name="ToggleSwitch_RunAtStartUp" Margin="0,14,0,0" Toggled="ToggleSwitch_RunAtStartUp_Toggled" />
|
2020-03-12 14:25:24 +08:00
|
|
|
|
|
|
|
<muxc:RadioButtons Header="Theme" Margin="0, 28,0,0">
|
2020-03-25 10:55:02 +08:00
|
|
|
<RadioButton x:Name="Rodio_Theme_Dark" Content="Dark" Tag="Dark" Checked="Theme_Changed"/>
|
|
|
|
<RadioButton x:Name="Rodio_Theme_Light" Content="Light" Tag="Light" Checked="Theme_Changed"/>
|
|
|
|
<RadioButton x:Name="Rodio_Theme_Default" Content="System default" Tag="System" Checked="Theme_Changed"/>
|
2020-03-12 14:25:24 +08:00
|
|
|
</muxc:RadioButtons>
|
|
|
|
|
2020-03-25 10:55:02 +08:00
|
|
|
<!--
|
2020-03-12 14:25:24 +08:00
|
|
|
<ToggleSwitch Header="Disable telemetry" IsOn="True" Margin="0,14,0,0" />
|
|
|
|
<TextBlock Text="PowerToys currently respects the Windows data & feedback setting" Opacity="0.8" Margin="0,0,0,0" />
|
2020-03-25 10:55:02 +08:00
|
|
|
-->
|
2020-03-12 14:25:24 +08:00
|
|
|
|
2020-03-25 10:55:02 +08:00
|
|
|
<Button Background="{ThemeResource SystemAccentColor}" Content="Restart as admin" Margin="0,10,0,0" Foreground="White" Click="Restart_Elevated" />
|
|
|
|
|
|
|
|
<!--
|
2020-03-12 14:25:24 +08:00
|
|
|
<TextBlock Text="Default apps" Style="{StaticResource SubtitleTextBlockStyle}" Margin="0,34,0,8"/>
|
|
|
|
<ComboBox Header="Shell" SelectedIndex="0" MinWidth="240" Margin="0,14,0,0">
|
|
|
|
<ComboBoxItem>PowerShell</ComboBoxItem>
|
|
|
|
</ComboBox>
|
|
|
|
<ComboBox Header="Terminal" SelectedIndex="0" MinWidth="240" Margin="0,14,0,0">
|
|
|
|
<ComboBoxItem>Windows Console</ComboBoxItem>
|
|
|
|
</ComboBox>
|
2020-03-25 10:55:02 +08:00
|
|
|
-->
|
|
|
|
|
2020-03-12 14:25:24 +08:00
|
|
|
<TextBlock Text="About PowerToys" Style="{StaticResource SubtitleTextBlockStyle}" Margin="0,34,0,8"/>
|
|
|
|
<TextBlock FontWeight="Bold" Text="Version 0.15.1.0" Margin="0,14,0,0" />
|
2020-03-25 10:55:02 +08:00
|
|
|
<!--<Button Background="{ThemeResource SystemAccentColor}" Content="Check for updates" Margin="0,10,0,0" Foreground="White" />
|
|
|
|
TO DO: The styling of this button should be improved so the hover/pressed states are representing the SystemAccentColor -->
|
2020-03-12 14:25:24 +08:00
|
|
|
|
2020-03-25 10:55:02 +08:00
|
|
|
<HyperlinkButton Content="Report a bug" Margin="0,14,0,0" NavigateUri="https://github.com/microsoft/PowerToys/issues" />
|
|
|
|
<HyperlinkButton Content="Request a feature" NavigateUri="https://github.com/microsoft/PowerToys/issues"/>
|
|
|
|
<HyperlinkButton Content="Privacy statement" NavigateUri=" http://go.microsoft.com/fwlink/?LinkId=521839" />
|
2020-03-12 14:25:24 +08:00
|
|
|
</StackPanel>
|
|
|
|
</ScrollViewer>
|
|
|
|
</Grid>
|
|
|
|
</Page>
|