UI_Windows
Nicolas MAYE 2 years ago
commit fb72e6fe51

@ -5,6 +5,19 @@
x:Class="IHM.App"> x:Class="IHM.App">
<Application.Resources> <Application.Resources>
<ResourceDictionary> <ResourceDictionary>
<Style TargetType="Border" x:Key="bordureBlanche">
<Setter Property="StrokeShape" Value="RoundRectangle 40"/>
<Setter Property="BackgroundColor" Value="White"/>
</Style>
<Style TargetType="Entry" x:Key="zoneDeTexte">
<Setter Property="TextColor" Value="Black"/>
<Setter Property="BackgroundColor" Value="White"/>
<Setter Property="VerticalTextAlignment" Value="Center"/>
<Setter Property="FontSize" Value="15"/>
</Style>
<ResourceDictionary.MergedDictionaries> <ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Resources/Styles/Colors.xaml" /> <ResourceDictionary Source="Resources/Styles/Colors.xaml" />
<ResourceDictionary Source="Resources/Styles/Styles.xaml" /> <ResourceDictionary Source="Resources/Styles/Styles.xaml" />

@ -13,12 +13,7 @@ namespace IHM
{ {
InitializeComponent(); InitializeComponent();
Routing.RegisterRoute("ForgetPassword", typeof(ForgetPassword)); Routing.RegisterRoute("ForgetPassword", typeof(ForgetPassword));
} }
} }
} }

@ -3,18 +3,14 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.ForgetPassword" x:Class="IHM.Desktop.ForgetPassword"
Title="ForgetPassword"> Title="ForgetPassword">
<VerticalStackLayout
Margin="20" <VerticalStackLayout BackgroundColor="{StaticResource Primary}" Margin="20" Padding="30">
Padding="30">
<Label <Label
Text="Rentrée votre adresse email :" Text="Rentrez votre adresse email :"
HorizontalOptions="Center" /> HorizontalOptions="Center" />
<Border StrokeShape="RoundRectangle 40" BackgroundColor="White" Padding="7" Margin="40"> <Border Style="{StaticResource bordureBlanche}">
<Entry BackgroundColor="White" <Entry Style="{StaticResource zoneDeTexte}"
TextColor="Black"
VerticalTextAlignment="Center"
FontSize="15"
Placeholder="Email" Placeholder="Email"
x:Name="EntryMail"/> x:Name="EntryMail"/>
</Border> </Border>
@ -30,11 +26,8 @@
<Label Text="Veuillez rentrer le code à 6 chiffres reçus par mail" <Label Text="Veuillez rentrer le code à 6 chiffres reçus par mail"
HorizontalOptions="Center"/> HorizontalOptions="Center"/>
<Border StrokeShape="RoundRectangle 40" BackgroundColor="White" Padding="7" Margin="40"> <Border Style="{StaticResource bordureBlanche}" Padding="7" Margin="40">
<Entry BackgroundColor="White" <Entry Style="{StaticResource zoneDeTexte}"
TextColor="Black"
VerticalTextAlignment="Center"
FontSize="15"
Placeholder="6 Chiffres" Placeholder="6 Chiffres"
Keyboard="Numeric" Keyboard="Numeric"
x:Name="EntryCodeRecept"/> x:Name="EntryCodeRecept"/>

@ -6,16 +6,11 @@
<StackLayout BackgroundColor="{StaticResource Primary}"> <StackLayout BackgroundColor="{StaticResource Primary}">
<StackLayout <StackLayout
Spacing="25" Spacing="25"
Padding="30,0" Padding="30,0"
VerticalOptions="Start" VerticalOptions="Start">
>
<Label <Label
Margin="0,20,0,30" Margin="0,20,0,30"
@ -27,20 +22,14 @@
<Image Source="logo_sans_fond.png" HorizontalOptions="Center" HeightRequest="200" /> <Image Source="logo_sans_fond.png" HorizontalOptions="Center" HeightRequest="200" />
<Border StrokeShape="RoundRectangle 20" BackgroundColor="White" Padding="7"> <Border Style="{StaticResource bordureBlanche}" Padding="7">
<Entry BackgroundColor="{StaticResource White}" <Entry Style="{StaticResource zoneDeTexte}"
TextColor="{StaticResource Black}"
VerticalTextAlignment="Center"
FontSize="15"
Placeholder="Addresse mail" Placeholder="Addresse mail"
x:Name="EntryMail"/> x:Name="EntryMail"/>
</Border> </Border>
<Border StrokeShape="RoundRectangle 20" BackgroundColor="White" Padding="7"> <Border Style="{StaticResource bordureBlanche}" Padding="7">
<Entry BackgroundColor="{StaticResource White}" <Entry Style="{StaticResource zoneDeTexte}"
TextColor="{StaticResource Black}"
VerticalTextAlignment="Center"
FontSize="15"
Placeholder="Mot de passe" Placeholder="Mot de passe"
IsPassword="True" IsPassword="True"
x:Name="EntryPassworld"/> x:Name="EntryPassworld"/>

Loading…
Cancel
Save