Files
cfs-Tracker/Views/Options.xaml
T
2026-03-19 23:11:13 +01:00

56 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
x:Class="cfs_tracker.Views.OptionsPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
Title="Optionen">
<ScrollView>
<VerticalStackLayout Padding="16" Spacing="16">
<Label
Text="Optionen"
FontSize="26"
FontAttributes="Bold" />
<Border
Padding="14"
BackgroundColor="#FFF4F4"
Stroke="#D88"
StrokeThickness="1"
StrokeShape="RoundRectangle 12">
<VerticalStackLayout Spacing="12">
<Label
Text="Datenbank löschen"
FontSize="20"
FontAttributes="Bold" />
<Label
Text="Dadurch werden alle gespeicherten Einträge unwiderruflich entfernt."
FontSize="14" />
<Label
Text="Zur Bestätigung bitte das Wort 'löschen' eingeben."
FontSize="14"
FontAttributes="Bold" />
<Entry
Placeholder="löschen"
Text="{Binding DeleteConfirmationText}" />
<Button
Text="Alle Daten löschen"
BackgroundColor="#B00020"
TextColor="White"
Command="{Binding DeleteAllDataCommand}" />
<Label
Text="{Binding StatusText}"
FontSize="13" />
</VerticalStackLayout>
</Border>
</VerticalStackLayout>
</ScrollView>
</ContentPage>