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.
139 lines
6.0 KiB
139 lines
6.0 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"
|
|
x:Class="Ohara.PagePersonnage"
|
|
BackgroundColor="#e2edf1">
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="2*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="300" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<VerticalStackLayout BackgroundColor="#72a3b3" Grid.Row="0" Grid.Column="0" Spacing="10">
|
|
|
|
<Image Source="ohara2.png" HeightRequest="300" HorizontalOptions="Center" >
|
|
<Image.Clip>
|
|
<EllipseGeometry Center="150,90" RadiusX="80" RadiusY="80"/>
|
|
</Image.Clip>
|
|
</Image>
|
|
|
|
|
|
<Button Style="{StaticResource buttonMenu}" Text="Accueil"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Carte"/>
|
|
<Button Style="{StaticResource buttonMenu2}" Text="Personnages"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Fruits du démon"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Bateaux"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Îles"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Bestiaire"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Équipages"/>
|
|
</VerticalStackLayout>
|
|
|
|
|
|
|
|
|
|
<VerticalStackLayout Grid.Row="0" Grid.Column="1" Spacing="40">
|
|
<Grid BackgroundColor="#72a3b3" Padding="10" ColumnSpacing="50" >
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="10*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions >
|
|
<ColumnDefinition Width="20*"/>
|
|
<ColumnDefinition Width="25*"/>
|
|
<ColumnDefinition Width="10*"/>
|
|
<ColumnDefinition Width="10*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<SearchBar Placeholder="Rechercher..." BackgroundColor="#bfe5ef" Grid.Column="0"/>
|
|
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef" Grid.Column="2">
|
|
<Label Text="Filtrer" HorizontalTextAlignment="Center" />
|
|
</Frame>
|
|
|
|
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef" Grid.Column="3">
|
|
<Label Text="Trier" HorizontalTextAlignment="Center" />
|
|
</Frame>
|
|
</Grid>
|
|
|
|
|
|
<CollectionView x:Name="listePerso" ItemsUpdatingScrollMode="KeepScrollOffset" VerticalScrollBarVisibility="Always" >
|
|
<CollectionView.ItemTemplate>
|
|
<DataTemplate>
|
|
|
|
<Grid Padding="50" ColumnSpacing="10">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="400"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="600"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Image
|
|
Source="{Binding Image}"
|
|
HeightRequest="800"
|
|
WidthRequest="450"
|
|
/>
|
|
|
|
|
|
|
|
<Frame CornerRadius="20"
|
|
BorderColor="#72a3b3"
|
|
BackgroundColor="#72a3b3"
|
|
Margin="20, 50" Padding="20"
|
|
WidthRequest="275"
|
|
HeightRequest="150"
|
|
Grid.Row="0"
|
|
VerticalOptions="End">
|
|
|
|
|
|
<StackLayout Orientation="Vertical" Spacing="20">
|
|
<Label
|
|
Text="{Binding Nom}"
|
|
FontAttributes="Bold"
|
|
FontSize="22"
|
|
TextColor="White"
|
|
HorizontalOptions="Center"
|
|
|
|
/>
|
|
|
|
<Label
|
|
Text="________________________"
|
|
FontAttributes="Bold"
|
|
FontSize="20"
|
|
TextColor="White"
|
|
HorizontalOptions="Center"
|
|
/>
|
|
|
|
<Label
|
|
Text="Cliquez ici pour voir en détail"
|
|
FontAttributes="Bold,Italic"
|
|
FontSize="15"
|
|
TextColor="White"
|
|
TextDecorations="Underline"
|
|
HorizontalOptions="Center"/>
|
|
|
|
</StackLayout>
|
|
</Frame>
|
|
</Grid>
|
|
</DataTemplate>
|
|
</CollectionView.ItemTemplate>
|
|
</CollectionView>
|
|
</VerticalStackLayout>
|
|
|
|
|
|
|
|
<!--<Rectangle WidthRequest="200" HeightRequest="300" HorizontalOptions="Start" BackgroundColor="#72a3b3">
|
|
<Rectangle.Fill>
|
|
<LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
|
|
<GradientStop Color="#cdffd8" Offset="0.0" />-->
|
|
<!--<GradientStop Color="#94b9ff" Offset="1.0" /></LinearGradientBrush></Rectangle.Fill></Rectangle>-->
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</ContentPage>
|