parent
cf2b4b336f
commit
605a6472fe
After Width: | Height: | Size: 1.8 MiB |
@ -0,0 +1,14 @@
|
|||||||
|
<?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.bouton_R">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<Button
|
||||||
|
CornerRadius="50"
|
||||||
|
Opacity="0.5"
|
||||||
|
WidthRequest="5"
|
||||||
|
HeightRequest="5"
|
||||||
|
BorderWidth="2"
|
||||||
|
BorderColor="Black"/>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentView>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace Trek_12.Views;
|
||||||
|
|
||||||
|
public partial class bouton_R : ContentView
|
||||||
|
{
|
||||||
|
public bouton_R()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -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,25 @@
|
|||||||
|
<?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="*,*,*,*" >
|
||||||
|
<!--<views:bouton_R HorizontalOptions="End" Margin="100"/>-->
|
||||||
|
<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…
Reference in new issue