|
|
@ -14,7 +14,7 @@
|
|
|
|
<Image Source="{Binding Manager.SelectedBook.Image}" Margin="0,0,10,0" WidthRequest="90" HeightRequest="160"/>
|
|
|
|
<Image Source="{Binding Manager.SelectedBook.Image}" Margin="0,0,10,0" WidthRequest="90" HeightRequest="160"/>
|
|
|
|
<StackLayout Orientation="Vertical">
|
|
|
|
<StackLayout Orientation="Vertical">
|
|
|
|
<Label Text="{Binding Manager.SelectedBook.Title}" FontFamily="Pro-Display-Semibold" FontSize="17" Margin="0,15,0,0"/>
|
|
|
|
<Label Text="{Binding Manager.SelectedBook.Title}" FontFamily="Pro-Display-Semibold" FontSize="17" Margin="0,15,0,0"/>
|
|
|
|
<local:Stars NbStars="{Binding Manager.SelectedBook.IntNbPages}" Margin="0,90,0,0"/>
|
|
|
|
<local:Stars NombreEtoile="{Binding Manager.SelectedBook.StarsNumber}" Margin="0,90,0,0"/>
|
|
|
|
</StackLayout>
|
|
|
|
</StackLayout>
|
|
|
|
</StackLayout>
|
|
|
|
</StackLayout>
|
|
|
|
<StackLayout Margin="15,0,0,0">
|
|
|
|
<StackLayout Margin="15,0,0,0">
|
|
|
@ -26,12 +26,24 @@
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<StackLayout >
|
|
|
|
<StackLayout >
|
|
|
|
<Label Text="Auteur" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
<Label Text="Auteur" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
<Label Text="{Binding Manager.SelectedBook.BookFirstAuthor}" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
<CollectionView HeightRequest="30" ItemsLayout="HorizontalList" ItemsSource="{Binding Manager.SelectedBook.BookAuthors}" Margin="10,0,0,0">
|
|
|
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
|
|
|
<Label Text="{Binding Name}" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
|
|
|
|
</CollectionView>
|
|
|
|
</StackLayout>
|
|
|
|
</StackLayout>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<StackLayout>
|
|
|
|
<StackLayout>
|
|
|
|
<Label Text="Maison d'édition" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
<Label Text="Maison d'édition" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
<Label Text="{Binding Manager.SelectedBook.BookFirstPublisher}" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
<CollectionView HeightRequest="30" ItemsLayout="HorizontalList" ItemsSource="{Binding Manager.SelectedBook.BookPublishers}" Margin="10,0,0,0">
|
|
|
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
|
|
|
<Label Text="{Binding .}" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
|
|
|
|
</CollectionView>
|
|
|
|
</StackLayout>
|
|
|
|
</StackLayout>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<StackLayout Margin="0,0,0,10">
|
|
|
|
<StackLayout Margin="0,0,0,10">
|
|
|
@ -64,14 +76,14 @@
|
|
|
|
<Label Text="Bibliothèque" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
<Label Text="Bibliothèque" Style="{StaticResource LabelStyleDetailBook3}"/>
|
|
|
|
<StackLayout Orientation="Horizontal">
|
|
|
|
<StackLayout Orientation="Horizontal">
|
|
|
|
<Label Text="Ajouté le" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
<Label Text="Ajouté le" Style="{StaticResource LabelStyleDetailBook4}"/>
|
|
|
|
<Label x:Name="bookAdd" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
<Label Text="{Binding Manager.SelectedBook.PublishDate}" Style="{StaticResource LabelStyleDetailBook2}"/>
|
|
|
|
</StackLayout>
|
|
|
|
</StackLayout>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<StackLayout Padding="50"/>
|
|
|
|
<StackLayout Padding="50"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<local:BookChange PropertyName="Déplacer le livre" ImageName="folder.png"/>
|
|
|
|
<local:BookChange PropertyName="Déplacer le livre" ImageName="folder.png"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<local:BookChange PropertyName="Ajouter à la liste à lire plus tard" ImageName="plus_round.png"/>
|
|
|
|
<local:BookChange Command="{Binding AddReadLaterList}" PropertyName="Ajouter à la liste à lire plus tard" ImageName="plus_round.png"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<local:BookChange Command="{Binding ChangeStatus}" PropertyName="Changer le statut de lecture" ImageName="eyeglasses.png"/>
|
|
|
|
<local:BookChange Command="{Binding ChangeStatus}" PropertyName="Changer le statut de lecture" ImageName="eyeglasses.png"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
|
|
|