Merge pull request 'pageProfils' (#18) from pageProfils into master

Reviewed-on: #18
Reviewed-by: Lucas DUFLOT <lucas.duflot@etu.uca.fr>
pull/90/head
Lucas DUFLOT 1 year ago
commit 96787e33a2

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

@ -0,0 +1,37 @@
<?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="Trek_12.Views.pageProfils"
xmlns:views="clr-namespace:Trek_12.Views"
Title="pageProfils">
<ContentPage.Content>
<Grid RowDefinitions="2*,3*,*">
<Image Source="bg_profils.jpg" Grid.RowSpan="3" Aspect="AspectFill"/>
<Label Text="Profils" TextColor="black" HorizontalTextAlignment="Center" FontSize="Header" Margin="30"/>
<ScrollView Grid.Row="1">
<Grid RowDefinitions="*,*,*,*,*,*">
<views:viewsProfils />
<views:viewsProfils Grid.Row="1" />
<views:viewsProfils Grid.Row="2"/>
<views:viewsProfils Grid.Row="3"/>
<views:viewsProfils Grid.Row="4"/>
<views:viewsProfils Grid.Row="5"/>
</Grid>
</ScrollView>
<HorizontalStackLayout Grid.Row="2" HorizontalOptions="Center" Spacing="50">
<Button Text="Modifier" WidthRequest="300" HeightRequest="60" CornerRadius="4"/>
<Button Text="Créer" WidthRequest="300" HeightRequest="60" CornerRadius="4"/>
<Button Text="Supprimer" WidthRequest="300" HeightRequest="60" CornerRadius="4"/>
</HorizontalStackLayout>
</Grid>
</ContentPage.Content>
</ContentPage>

@ -0,0 +1,9 @@
namespace Trek_12.Views;
public partial class pageProfils : ContentPage
{
public pageProfils()
{
InitializeComponent();
}
}

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Trek_12.Views.viewsProfils"
xmlns:views="clr-namespace:Trek_12.Views">
<VerticalStackLayout>
<Grid ColumnDefinitions="*,*,*,*" >
<Frame Margin="10"
Grid.Column="1"
BorderColor="Black"
CornerRadius="50"
HeightRequest="60"
WidthRequest="60"
IsClippedToBounds="True"
HasShadow="True"
HorizontalOptions="CenterAndExpand">
<Image Source="profile.jpg"
Aspect="AspectFill"
Margin="-20"/>
</Frame>
<Label Text="Profile n°*" Grid.Column="2" TextColor="Black" FontSize="Large" HorizontalTextAlignment="Center" Margin="100"/>
</Grid>
</VerticalStackLayout>
</ContentView>

@ -0,0 +1,9 @@
namespace Trek_12.Views;
public partial class viewsProfils : ContentView
{
public viewsProfils()
{
InitializeComponent();
}
}
Loading…
Cancel
Save