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.
104 lines
5.6 KiB
104 lines
5.6 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.PageInfoBestiaire"
|
|
Title="PageInfoBestiaire"
|
|
BackgroundColor="#e2edf1">
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="2*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="300" />
|
|
<ColumnDefinition Width="90*" />
|
|
</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" Clicked="Hyperlink_Accueil"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Carte" Clicked="Hyperlink_Carte"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Personnages" Clicked="Hyperlink_Perso"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Fruits du démon" Clicked="Hyperlink_FDD"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Bateaux" Clicked="Hyperlink_Bateau"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Îles" Clicked="Hyperlink_Ile"/>
|
|
<Button Style="{StaticResource buttonMenu2}" Text="Bestiaire" Clicked="Hyperlink_Bestiaire"/>
|
|
<Button Style="{StaticResource buttonMenu}" Text="Équipages" Clicked="Hyperlink_Equip"/>
|
|
</VerticalStackLayout>
|
|
<ScrollView Grid.Row="0" Grid.Column="1" Orientation="Vertical" VerticalScrollBarVisibility="Always">
|
|
<VerticalStackLayout Spacing="40">
|
|
<CollectionView x:Name="listeBest">
|
|
<CollectionView.ItemTemplate>
|
|
<DataTemplate>
|
|
|
|
<VerticalStackLayout Spacing="10" Padding="40">
|
|
|
|
<Grid ColumnSpacing="20">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="40*"/>
|
|
<ColumnDefinition Width="40*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<VerticalStackLayout Grid.Column="0" Spacing="4">
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<Label Text="Sommaire" Style="{StaticResource titreInfo}"/>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<Label Text="1 - Description" TextColor="#72a3b3"/>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<Label Text="2 - Caracteristiques" TextColor="#72a3b3"/>
|
|
</Frame>
|
|
|
|
</VerticalStackLayout>
|
|
<VerticalStackLayout Grid.Column="1" Spacing="4">
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<Label Style="{StaticResource titreInfo}" Text="{Binding Nom}"/>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}" >
|
|
<Image
|
|
Source="{Binding Image}"
|
|
HeightRequest="200"
|
|
WidthRequest="300"
|
|
|
|
|
|
/>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<StackLayout HorizontalOptions="Center" Orientation="Horizontal" Spacing="5">
|
|
<Label Text="Origine :" TextColor="#72a3b3" FontAttributes="Bold"/>
|
|
<Label Text="{Binding Origine}" TextColor="#72a3b3"/>
|
|
</StackLayout>
|
|
</Frame>
|
|
</VerticalStackLayout>
|
|
|
|
|
|
|
|
</Grid>
|
|
<Label Text="Description :" TextColor="#72a3b3" FontSize="20" FontAttributes="Bold"/>
|
|
<Line X1="0" Y1="0" X2="3000" Y2="0" StrokeThickness="2" Stroke="#72a3b3" />
|
|
<Label Text="{Binding Description}" TextColor="#72a3b3" />
|
|
<Label Text="Caracteristiques :" TextColor="#72a3b3" FontSize="20" FontAttributes="Bold"/>
|
|
<Line X1="0" Y1="0" X2="3000" Y2="0" StrokeThickness="2" Stroke="#72a3b3" />
|
|
<Label Text="{Binding Caracteristique}" TextColor="#72a3b3" />
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
|
|
|
|
|
</DataTemplate>
|
|
</CollectionView.ItemTemplate>
|
|
</CollectionView>
|
|
|
|
|
|
</VerticalStackLayout>
|
|
</ScrollView>
|
|
</Grid>
|
|
</ContentPage> |