You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ConsEco/Sources/IHM/Mobile/MainPage.xaml

83 lines
3.0 KiB

<?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="IHM.Mobile.MainPage">
<ScrollView>
<VerticalStackLayout
Spacing="25"
Padding="30,0"
VerticalOptions="Start">
<Label
Margin="0,20,0,30"
HorizontalOptions="Center"
FontAttributes="Bold"
Text="Welcome To Cons'Eco"
FontSize="30"/>
2 years ago
<Image Source="{AppThemeBinding Light=logo_sans_fond_black.png, Dark=logo_sans_fond.png}"
HorizontalOptions="Center" HeightRequest="200"/>
2 years ago
<Border StrokeShape="RoundRectangle 20" BackgroundColor="White" Padding="7">
<Entry BackgroundColor="{StaticResource White}"
TextColor="{StaticResource Black}"
VerticalTextAlignment="Center"
FontSize="15"
Placeholder="Addresse mail"
x:Name="EntryMail"/>
</Border>
<Border StrokeShape="RoundRectangle 20" BackgroundColor="White" Padding="7">
<Entry BackgroundColor="{StaticResource White}"
TextColor="{StaticResource Black}"
VerticalTextAlignment="Center"
FontSize="15"
Placeholder="Mot de passe"
IsPassword="True"
x:Name="EntryPassworld"/>
2 years ago
</Border>
2 years ago
<Button
x:Name="ConnexionButton"
Text="Se connecter"
Clicked="ConnectionOnClicked"
HorizontalOptions="Center" />
2 years ago
<Label
Text="Mot de passe oublié ?"
TextColor="{StaticResource Primary}"
Margin="5,0,0,0"
TextDecorations="Underline"
HorizontalOptions="Center">
2 years ago
<Label.GestureRecognizers>
<TapGestureRecognizer Command="{Binding TapCommand}"
CommandParameter="ForgetPassword"/>
2 years ago
</Label.GestureRecognizers>
</Label>
<HorizontalStackLayout HorizontalOptions="Center">
<Label
Text="Pas de compte ?"
/>
<Label
Text="S'inscrire"
TextColor="{StaticResource Primary}"
Margin="5,0,0,0"
TextDecorations="Underline">
<Label.GestureRecognizers>
<TapGestureRecognizer Command="{Binding TapCommand}"
CommandParameter="Inscription"/>
</Label.GestureRecognizers>
</Label>
</HorizontalStackLayout>
2 years ago
</VerticalStackLayout>
</ScrollView>
</ContentPage>