HegreHotel/Views/Client/ModifierClientPage.xaml

48 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="HegreHotel.Views.Client.ModifierClientPage"
Title="Modifier le Client">
<ScrollView>
<VerticalStackLayout Padding="20" Spacing="15">
<!-- Champ Nom -->
<Label Text="Nom du client" FontAttributes="Bold" FontSize="16"/>
<Frame Padding="10" CornerRadius="10" BackgroundColor="White" BorderColor="#E5E7EB">
<Entry x:Name="EntryNom" Placeholder="Entrez le nom du client"/>
</Frame>
<!-- Champ Prénom -->
<Label Text="Prénom" FontAttributes="Bold" FontSize="16"/>
<Frame Padding="10" CornerRadius="10" BackgroundColor="White" BorderColor="#E5E7EB">
<Entry x:Name="EntryPrenom" Placeholder="Entrez le prénom"/>
</Frame>
<!-- Champ Email -->
<Label Text="Email" FontAttributes="Bold" FontSize="16"/>
<Frame Padding="10" CornerRadius="10" BackgroundColor="White" BorderColor="#E5E7EB">
<Entry x:Name="EntryEmail" Placeholder="Entrez l'email" Keyboard="Email"/>
</Frame>
<!-- Champ Téléphone -->
<Label Text="Téléphone" FontAttributes="Bold" FontSize="16"/>
<Frame Padding="10" CornerRadius="10" BackgroundColor="White" BorderColor="#E5E7EB">
<Entry x:Name="EntryTelephone" Placeholder="Entrez le téléphone" Keyboard="Telephone"/>
</Frame>
<!-- Bouton Enregistrer -->
<Button Text="Enregistrer les modifications"
Clicked="OnEnregistrerClicked"
BackgroundColor="#007AFF"
TextColor="White"
CornerRadius="10"
Padding="12"
FontAttributes="Bold"
HorizontalOptions="Center"/>
</VerticalStackLayout>
</ScrollView>
</ContentPage>