|
|
@ -1,26 +1,23 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
x:Class="Trek_12.Views.PageProfils"
|
|
|
|
x:Class="Trek_12.Views.PageProfiles"
|
|
|
|
xmlns:views="clr-namespace:Trek_12.Views.Components"
|
|
|
|
xmlns:views="clr-namespace:Trek_12.Views.Components"
|
|
|
|
xmlns:game="clr-namespace:Models.Game;assembly=Models"
|
|
|
|
Title="PageProfiles">
|
|
|
|
Title="pageProfils">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ContentPage.Resources>
|
|
|
|
|
|
|
|
<ResourceDictionary>
|
|
|
|
|
|
|
|
<game:Base64Converter x:Key="Base64Converter"/>
|
|
|
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
|
|
|
</ContentPage.Resources>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ContentPage.Content>
|
|
|
|
<ContentPage.Content>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid RowDefinitions="auto,3*,*">
|
|
|
|
<Grid RowDefinitions="2*,3*,*">
|
|
|
|
|
|
|
|
<Image Source="bg_profils.jpg" Grid.RowSpan="3" Aspect="AspectFill"/>
|
|
|
|
<Image Source="bg_profils.jpg" Grid.RowSpan="3" Aspect="AspectFill"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Frame BackgroundColor="WhiteSmoke" Opacity="0.5" Grid.Row="1" />
|
|
|
|
|
|
|
|
|
|
|
|
<Label Text="Profils" TextColor="black" HorizontalTextAlignment="Center" FontSize="Header" Margin="30"/>
|
|
|
|
<Label Grid.Row="0" Text="Profils" TextColor="black" HorizontalTextAlignment="Center" FontSize="Header" Margin="30"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Row="1" ColumnDefinitions="*,*,*">
|
|
|
|
|
|
|
|
<Label Text="Pseudo" TextColor="black" FontSize="Large" HorizontalTextAlignment="Center" Grid.Column="1"/>
|
|
|
|
|
|
|
|
<Label Text="Date de Création" TextColor="black" FontSize="Large" HorizontalTextAlignment="Center" Grid.Column="2"/>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
<CollectionView Grid.Row="1" ItemsSource="{Binding Players}"
|
|
|
|
<CollectionView Grid.Row="1" ItemsSource="{Binding Players}"
|
|
|
|
ItemsLayout="VerticalList"
|
|
|
|
ItemsLayout="VerticalList"
|
|
|
|
VerticalOptions="Center">
|
|
|
|
VerticalOptions="Center">
|
|
|
@ -28,7 +25,8 @@
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<views:viewsProfils
|
|
|
|
<views:viewsProfils
|
|
|
|
Pseudo="{Binding Pseudo}"
|
|
|
|
Pseudo="{Binding Pseudo}"
|
|
|
|
ProfilePicture="{Binding ProfilePicture}"/>
|
|
|
|
ProfilePicture="{Binding ProfilePicture}"
|
|
|
|
|
|
|
|
CreationDate="{Binding CreationDate}"/>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
</CollectionView>
|
|
|
|
</CollectionView>
|