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.
91 lines
5.2 KiB
91 lines
5.2 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.PageInfoFdd"
|
|
Title="PageInfoFdd"
|
|
BackgroundColor="#e2edf1">
|
|
|
|
|
|
<ScrollView Orientation="Vertical" VerticalScrollBarVisibility="Always">
|
|
<VerticalStackLayout Spacing="10" Padding="40" >
|
|
|
|
<Grid ColumnSpacing="20">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="45*"/>
|
|
<ColumnDefinition Width="45*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
<VerticalStackLayout Grid.Column="0" Spacing="2" Padding="5">
|
|
<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 Force/Faiblesses" 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="2" Padding="5">
|
|
<Frame Style="{StaticResource frameInfo}" >
|
|
<Label Text="{Binding Nom}" HorizontalOptions="Center" Style="{StaticResource titreInfo}" />
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<Image
|
|
|
|
Source="{Binding Image}"
|
|
HeightRequest="250"
|
|
WidthRequest="250"/>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<HorizontalStackLayout Spacing="5" HorizontalOptions="Center">
|
|
<Label Text="Nom romanisé :" TextColor="#72a3b3" FontAttributes="Bold"/>
|
|
<Label Text="{Binding NomRomanise}" TextColor="#72a3b3"/>
|
|
</HorizontalStackLayout>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<HorizontalStackLayout Spacing="5" HorizontalOptions="Center">
|
|
<Label Text="Type :" TextColor="#72a3b3" FontAttributes="Bold"/>
|
|
<Label Text="{Binding Type}" TextColor="#72a3b3"/>
|
|
</HorizontalStackLayout>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<HorizontalStackLayout Spacing="5" HorizontalOptions="Center">
|
|
<Label Text="Premier apparition (chapitre) :" TextColor="#72a3b3" FontAttributes="Bold"/>
|
|
<Label Text="{Binding PremierChap}" TextColor="#72a3b3"/>
|
|
</HorizontalStackLayout>
|
|
</Frame>
|
|
<Frame Style="{StaticResource frameInfo}">
|
|
<HorizontalStackLayout Spacing="5" HorizontalOptions="Center">
|
|
<Label Text="Premier apparition (episode) :" TextColor="#72a3b3" FontAttributes="Bold"/>
|
|
<Label Text="{Binding PremierEp}" TextColor="#72a3b3"/>
|
|
</HorizontalStackLayout>
|
|
</Frame>
|
|
|
|
</VerticalStackLayout>
|
|
</Grid>
|
|
|
|
|
|
<Label Text="Description :" Style="{StaticResource titreInfo}"/>
|
|
<Line Stroke="#72a3b3" StrokeThickness="2" X1="0" X2="3000"/>
|
|
<Label Text="{Binding Description}" Style="{StaticResource paragrapheInfo}"/>
|
|
<Label Text="Force / Faiblesses :" Style="{StaticResource titreInfo}"/>
|
|
<Line Stroke="#72a3b3" StrokeThickness="2" X1="0" X2="3000"/>
|
|
|
|
<Label Text="Forces :" Style="{StaticResource titreInfo}" />
|
|
<Label Text="{Binding Forces}" Style="{StaticResource paragrapheInfo}"/>
|
|
|
|
<Label Text="Faiblesses :" Style="{StaticResource titreInfo}" />
|
|
<Label Text="{Binding Faiblesses}" Style="{StaticResource paragrapheInfo}"/>
|
|
|
|
|
|
</VerticalStackLayout>
|
|
</ScrollView>
|
|
</ContentPage> |