|
|
|
@ -6,14 +6,14 @@
|
|
|
|
|
Title="Détails du livre"
|
|
|
|
|
Shell.ForegroundColor="{StaticResource Primary}"
|
|
|
|
|
Shell.BackgroundColor="{StaticResource TopBackgroundGrey}"
|
|
|
|
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
|
|
|
|
|
x:Name="root">
|
|
|
|
|
|
|
|
|
|
<ScrollView>
|
|
|
|
|
<StackLayout>
|
|
|
|
|
<StackLayout Orientation="Horizontal" Margin="15,0,0,20">
|
|
|
|
|
<Image x:Name="bookImage" Source="buveurencre.jpg" Margin="0,0,10,0" WidthRequest="90" HeightRequest="160"/>
|
|
|
|
|
<Image Source="{Binding SelectedBook.Image}" Margin="0,0,10,0" WidthRequest="90" HeightRequest="160"/>
|
|
|
|
|
<StackLayout Orientation="Vertical">
|
|
|
|
|
<Label x:Name="titreBook" FontFamily="Pro-Display-Semibold" FontSize="17" Margin="0,15,0,0"/>
|
|
|
|
|
<Label Text="{Binding SelectedBook.Title}" FontFamily="Pro-Display-Semibold" FontSize="17" Margin="0,15,0,0"/>
|
|
|
|
|
<local:Stars NbStars="1" Margin="0,90,0,0"/>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</StackLayout>
|
|
|
|
@ -26,12 +26,12 @@
|
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
|
<StackLayout >
|
|
|
|
|
<Label Text="Auteur" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
|
<Label x:Name="bookAuteur" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
<Label Text="{Binding SelectedBook.BookFirstAuthor}" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
|
<StackLayout>
|
|
|
|
|
<Label Text="Maison d'édition" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
|
<Label x:Name="bookEdition" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
<Label Text="{Binding SelectedBook.BookFirstPublisher}" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
|
<StackLayout Margin="0,0,0,10">
|
|
|
|
@ -44,21 +44,21 @@
|
|
|
|
|
<Label Text="Détails" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
|
<StackLayout Orientation="Horizontal">
|
|
|
|
|
<Label Text="Nombre de pages" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
<Label x:Name="bookNbPages" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
|
<Label Text="{Binding SelectedBook.Nbpages}" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<StackLayout Orientation="Horizontal">
|
|
|
|
|
<Label Text="Langue" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
<Label x:Name="bookLangue" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
|
<Label Text="{Binding SelectedBook.Language}" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<StackLayout Orientation="Horizontal">
|
|
|
|
|
<Label Text="ISBN" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
<Label x:Name="bookISBN" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
|
<Label Text="{Binding SelectedBook.ISBN}" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
|
<Label Text="Statut de lecture" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
|
<StackLayout Orientation="Horizontal">
|
|
|
|
|
<Label Text="Statut" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
<Label x:Name="bookStatus" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
|
<Label Text="{Binding SelectedBook.BookStatus}" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
|
<Label Text="Bibliothèque" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
|