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.
81 lines
5.0 KiB
81 lines
5.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"
|
|
xmlns:local="clr-namespace:Ohara"
|
|
x:Class="Ohara.PageInfoIle"
|
|
BackgroundColor="#e2edf1">
|
|
|
|
|
|
<ScrollView Grid.Row="0" Grid.Column="1" Orientation="Vertical" VerticalScrollBarVisibility="Always">
|
|
<VerticalStackLayout Spacing="10" Padding="40">
|
|
<Grid ColumnSpacing="20">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="40*"/>
|
|
<ColumnDefinition Width="40*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<VerticalStackLayout Grid.Column="0" Spacing="4">
|
|
<Button x:Name="bouttonFav" Text="Ajouter aux favoris" Style="{StaticResource buttonFavsInfo}" Clicked="AjouterFav_Clicked" />
|
|
<Button x:Name="retirerFav" Text="Retirer des favoris" IsVisible="false" Style="{StaticResource buttonRetirerFavInfo}" Clicked="RetirerFav_Clicked"/>
|
|
<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>
|
|
<FlexLayout AlignItems="Start" Wrap="Wrap" Direction="Row" JustifyContent="SpaceEvenly" >
|
|
<Button Text="Supprimer" Style="{StaticResource buttonRetirerFavInfo}" Clicked="Supprimer_Clicked" FlexLayout.Basis="49.5%"/>
|
|
<Button Text="Modifier" Style="{StaticResource buttonFavsInfo}" Clicked="Modifier_Clicked" FlexLayout.Basis="49.5%"/>
|
|
</FlexLayout>
|
|
|
|
</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="Nom Romanisé :" TextColor="#72a3b3" FontAttributes="Bold"/>
|
|
<Label Text="{Binding NomRomanise}" TextColor="#72a3b3"/>
|
|
</StackLayout>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<StackLayout HorizontalOptions="Center" Orientation="Horizontal" Spacing="5">
|
|
<Label Text="Région :" TextColor="#72a3b3" FontAttributes="Bold"/>
|
|
<Label Text="{Binding Region}" TextColor="#72a3b3"/>
|
|
</StackLayout>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<StackLayout HorizontalOptions="Center" Orientation="Horizontal" Spacing="5">
|
|
<Label Text="Première apparition manga :" TextColor="#72a3b3" FontAttributes="Bold"/>
|
|
<Label Text="{Binding PremierChap}" TextColor="#72a3b3"/>
|
|
</StackLayout>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<StackLayout HorizontalOptions="Center" Orientation="Horizontal" Spacing="5">
|
|
<Label Text="Première apparition anime :" TextColor="#72a3b3" FontAttributes="Bold"/>
|
|
<Label Text="{Binding PremierEp}" 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="Géographie :" TextColor="#72a3b3" FontSize="20" FontAttributes="Bold"/>
|
|
<Line X1="0" Y1="0" X2="3000" Y2="0" StrokeThickness="2" Stroke="#72a3b3" />
|
|
<Label Text="{Binding Geographie}" TextColor="#72a3b3" />
|
|
</VerticalStackLayout>
|
|
</ScrollView>
|
|
</ContentPage> |