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.
111 lines
5.5 KiB
111 lines
5.5 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"
|
|
xmlns:local="clr-namespace:Views"
|
|
xmlns:model="clr-namespace:Model;assembly=Model"
|
|
x:Class="Views.MyProfil"
|
|
Title="MyProfil">
|
|
|
|
<local:ContainerBase
|
|
IsNotConnected="False"
|
|
NeedReturn="True">
|
|
|
|
<local:ContainerBase.MyFlyoutContent>
|
|
|
|
<Grid RowDefinitions="250, *, *" VerticalOptions="Fill">
|
|
<VerticalStackLayout Grid.Row="1">
|
|
<Button Text="Mes informations" ImageSource="person_default.png" Style="{StaticResource button1}" Grid.Row="1"/>
|
|
<Button Text="Modifier" ImageSource="settings_icon.png" Style="{StaticResource button1}" Grid.Row="2"/>
|
|
</VerticalStackLayout>
|
|
</Grid>
|
|
|
|
</local:ContainerBase.MyFlyoutContent>
|
|
|
|
<local:ContainerBase.MyContent>
|
|
|
|
<ScrollView>
|
|
<StackLayout BindingContext="User"><!--Attention debut de binding-->
|
|
<Label Text="Mon profil" TextColor="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource Gray100}}"
|
|
FontAttributes="Bold"
|
|
FontSize="24" Padding="15, 15, 20, 5"/>
|
|
<HorizontalStackLayout>
|
|
<VerticalStackLayout >
|
|
<Label Text="Informations personnelles :" TextColor="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource Gray100}}"
|
|
FontSize="20" Padding="15"/>
|
|
<Label Text="Nom :"
|
|
Padding="50,0,0,0"
|
|
FontSize="18"/>
|
|
<Entry BackgroundColor="#D1E8E2"
|
|
Margin="50,10,0,20"/>
|
|
<Label Text="Prénom :"
|
|
Padding="50,0,0,0"
|
|
FontSize="18"/>
|
|
<Entry BackgroundColor="#D1E8E2"
|
|
Margin="50,10,0,20"/>
|
|
<Label Text="Mail :"
|
|
Padding="50,0,0,0"
|
|
FontSize="18"/>
|
|
<Entry BackgroundColor="#D1E8E2"
|
|
Margin="50,10,0,20"/>
|
|
<Label Text="Pseudo :"
|
|
Padding="50,0,0,0"
|
|
FontSize="18"/>
|
|
<Entry BackgroundColor="#D1E8E2"
|
|
Margin="50,10,0,50"/>
|
|
<Button BackgroundColor="#bdf5bd"
|
|
Text="Valider"
|
|
Margin="40,0,0,0"
|
|
TextColor="Black"
|
|
MaximumWidthRequest="100"/>
|
|
|
|
|
|
|
|
</VerticalStackLayout>
|
|
<VerticalStackLayout Padding="100,0,0,0">
|
|
<Label Text="Priorités du compte : " TextColor="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource Gray100}}"
|
|
FontSize="20" Padding="15"/>
|
|
<Grid BackgroundColor="#D1E8E2"
|
|
MinimumHeightRequest="300"
|
|
Padding="20">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Label Text="Recettes économiques" Grid.Row="0" Padding="5,0,0,0"/>
|
|
<BoxView Color="Black" HeightRequest="1" Margin="10,10,10,10" Grid.Row="1" />
|
|
<Label Text="Recettes rapides" Grid.Row="2"/>
|
|
<BoxView Color="Black" HeightRequest="1" Margin="10,10,10,10" Grid.Row="3" />
|
|
<Label Text="Recettes simples" Grid.Row="4"/>
|
|
<BoxView Color="Black" HeightRequest="1" Margin="10,10,10,10" Grid.Row="5" />
|
|
<Label Text="Recettes légères" Grid.Row="6"/>
|
|
<BoxView Color="Black" HeightRequest="1" Margin="10,10,10,10" Grid.Row="7" />
|
|
<Label Text="Recettes gourmandes" Grid.Row="8"/>
|
|
</Grid>
|
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
|
|
|
</StackLayout>
|
|
</ScrollView>
|
|
|
|
</local:ContainerBase.MyContent>
|
|
|
|
</local:ContainerBase>
|
|
|
|
</ContentPage>
|