118 lines
4.7 KiB
XML
118 lines
4.7 KiB
XML
<Page x:Class="SkyTeam.SettingsPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
|
Title="SettingsPage">
|
|
|
|
<Grid x:Name="RootGrid"
|
|
Margin="20"
|
|
Background="White">
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Grid.Row="0"
|
|
Orientation="Horizontal"
|
|
VerticalAlignment="Center"
|
|
Margin="0,0,0,15">
|
|
<iconPacks:PackIconMaterial Kind="Cog"
|
|
Width="28"
|
|
Height="28"
|
|
Margin="0,0,10,0"/>
|
|
<StackPanel>
|
|
<TextBlock Text="Einstellungen"
|
|
FontSize="22"
|
|
FontWeight="Bold"
|
|
Foreground="Black"/>
|
|
<TextBlock Text="Passen Sie Ihr Sky Team Erlebnis an"
|
|
FontSize="12"
|
|
Foreground="Gray"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
<Border Grid.Row="1"
|
|
Padding="10"
|
|
Margin="0,0,0,15"
|
|
BorderBrush="#DDD"
|
|
BorderThickness="1"
|
|
CornerRadius="4">
|
|
<StackPanel Orientation="Horizontal"
|
|
VerticalAlignment="Center">
|
|
<iconPacks:PackIconMaterial Kind="WeatherNight"
|
|
Width="22"
|
|
Height="22"
|
|
Margin="0,0,10,0"/>
|
|
<StackPanel>
|
|
<TextBlock Text="Dark Mode"
|
|
FontSize="14"
|
|
FontWeight="Bold"
|
|
Foreground="Black"/>
|
|
<TextBlock Text="Aktivieren Sie den dunklen Modus für die Anwendung."
|
|
FontSize="12"
|
|
Foreground="Gray"/>
|
|
</StackPanel>
|
|
|
|
<ToggleButton x:Name="DarkModeToggle"
|
|
Width="80"
|
|
Height="26"
|
|
Margin="20,0,0,0"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
Content="Aus"
|
|
Checked="DarkModeToggle_Checked"
|
|
Unchecked="DarkModeToggle_Unchecked"/>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
|
|
<Border Grid.Row="2"
|
|
Padding="10"
|
|
BorderBrush="#FFB71C1C"
|
|
BorderThickness="1"
|
|
CornerRadius="4">
|
|
<StackPanel>
|
|
<StackPanel Orientation="Horizontal"
|
|
Margin="0,0,0,8">
|
|
<iconPacks:PackIconMaterial Kind="AlertCircle"
|
|
Width="22"
|
|
Height="22"
|
|
Foreground="#FFB71C1C"
|
|
Margin="0,0,10,0"/>
|
|
<TextBlock Text="Konto löschen"
|
|
FontSize="14"
|
|
FontWeight="Bold"
|
|
Foreground="#FFB71C1C"/>
|
|
</StackPanel>
|
|
|
|
<TextBlock Text="Achtung: Diese Aktion kann nicht rückgängig gemacht werden."
|
|
FontSize="12"
|
|
Foreground="Gray"
|
|
Margin="0,0,0,8"/>
|
|
|
|
<Button x:Name="DeleteAccountButton"
|
|
Width="160"
|
|
Height="32"
|
|
HorizontalAlignment="Left"
|
|
Background="#FFB71C1C"
|
|
Foreground="White"
|
|
Click="DeleteAccountButton_Click">
|
|
<StackPanel Orientation="Horizontal"
|
|
HorizontalAlignment="Center">
|
|
<iconPacks:PackIconMaterial Kind="AccountRemove"
|
|
Width="18"
|
|
Height="18"
|
|
Margin="0,0,6,0"/>
|
|
<TextBlock Text="Konto löschen"/>
|
|
</StackPanel>
|
|
</Button>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
</Grid>
|
|
</Page>
|