|
|
@ -2,6 +2,7 @@
|
|
|
|
<ContentPage
|
|
|
|
<ContentPage
|
|
|
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
|
|
|
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
|
|
|
x:Class="BookApp.Pages.DetailBook">
|
|
|
|
x:Class="BookApp.Pages.DetailBook">
|
|
|
|
<Shell.BackButtonBehavior>
|
|
|
|
<Shell.BackButtonBehavior>
|
|
|
|
<BackButtonBehavior
|
|
|
|
<BackButtonBehavior
|
|
|
@ -23,13 +24,22 @@
|
|
|
|
<BoxView HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<BoxView HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<Grid RowDefinitions="auto">
|
|
|
|
<Grid RowDefinitions="auto">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
<ColumnDefinition Width="125"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Image Grid.Column="0" Source="dotnet_bot"/>
|
|
|
|
<Image Grid.Column="0" Source="dotnet_bot"/>
|
|
|
|
<StackLayout Grid.Column="1">
|
|
|
|
<StackLayout Grid.Column="1">
|
|
|
|
<Label Text="La horde du coutrevant"/>
|
|
|
|
<Label FontAttributes="Bold" FontSize="20" Text="La horde du coutrevant"/>
|
|
|
|
<!-- Gestion Star TODO -->
|
|
|
|
<Grid RowDefinitions="auto" VerticalOptions="EndAndExpand">
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<StackLayout x:Name="StarLayout" Grid.Column="0" Orientation="Horizontal" HorizontalOptions="CenterAndExpand">
|
|
|
|
|
|
|
|
<!-- Les étoiles seront ajoutées ici via le code-behind -->
|
|
|
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
<Label x:Name="RatingLabel" Grid.Column="1" FontSize="Medium" HorizontalOptions="CenterAndExpand"/>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</StackLayout>
|
|
|
|
</StackLayout>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
<BoxView Margin="25,10,0,0" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<BoxView Margin="25,10,0,0" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
@ -91,32 +101,63 @@
|
|
|
|
<Label Grid.Column="1" HorizontalTextAlignment="End" Text="10 aout 2023"/>
|
|
|
|
<Label Grid.Column="1" HorizontalTextAlignment="End" Text="10 aout 2023"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
<BoxView Margin="25,10,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<BoxView Margin="25,10,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<Grid>
|
|
|
|
<Grid RowDefinitions="auto" Margin="25,0,20,0">
|
|
|
|
<Image Grid.Column="0" Source="..."/>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Label Text="déplacer le livre"/>
|
|
|
|
<ColumnDefinition Width="25"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Image Grid.Column="0" HeightRequest="25"
|
|
|
|
|
|
|
|
WidthRequest="25" Source="folder.svg">
|
|
|
|
|
|
|
|
<Image.Behaviors>
|
|
|
|
|
|
|
|
<toolkit:IconTintColorBehavior TintColor="Red" />
|
|
|
|
|
|
|
|
</Image.Behaviors>
|
|
|
|
|
|
|
|
</Image>
|
|
|
|
|
|
|
|
<Label Margin="10,0,0,0" VerticalOptions="Center" Grid.Column="1" TextColor="Red" Text="Déplacer le livre"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
<BoxView Margin="25,0,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<BoxView Margin="25,10,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<Grid>
|
|
|
|
<Grid RowDefinitions="auto" Margin="25,0,20,0">
|
|
|
|
<Image Grid.Column="0" Source="..."/>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Label Text="Ajouter à la liste A lire plus tard"/>
|
|
|
|
<ColumnDefinition Width="25"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Image Grid.Column="0" HeightRequest="25"
|
|
|
|
|
|
|
|
WidthRequest="25" Source="plus_circle.svg">
|
|
|
|
|
|
|
|
<Image.Behaviors>
|
|
|
|
|
|
|
|
<toolkit:IconTintColorBehavior TintColor="Red" />
|
|
|
|
|
|
|
|
</Image.Behaviors>
|
|
|
|
|
|
|
|
</Image>
|
|
|
|
|
|
|
|
<Label Margin="10,0,0,0" VerticalOptions="Center" Grid.Column="1" TextColor="Red" Text="Ajouter à la liste à lire plus tard"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
<BoxView Margin="25,0,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<BoxView Margin="25,10,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<Grid>
|
|
|
|
<Grid RowDefinitions="auto" Margin="25,0,20,0">
|
|
|
|
<Image Grid.Column="0" Source="..."/>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Label Text="changer le statu de lecture"/>
|
|
|
|
<ColumnDefinition Width="25"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Image Grid.Column="0" HeightRequest="25"
|
|
|
|
|
|
|
|
WidthRequest="25" Source="eyeglasses.svg">
|
|
|
|
|
|
|
|
<Image.Behaviors>
|
|
|
|
|
|
|
|
<toolkit:IconTintColorBehavior TintColor="Red" />
|
|
|
|
|
|
|
|
</Image.Behaviors>
|
|
|
|
|
|
|
|
</Image>
|
|
|
|
|
|
|
|
<Label Margin="10,0,0,0" VerticalOptions="Center" Grid.Column="1" TextColor="Red" Text="Changer le statut de lecture"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
<BoxView Margin="25,0,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<BoxView Margin="25,10,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End" />
|
|
|
|
<Grid>
|
|
|
|
<Grid RowDefinitions="auto" Margin="25,0,20,20">
|
|
|
|
<Image Grid.Column="0" Source="..."/>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Label Text="préter le livre"/>
|
|
|
|
<ColumnDefinition Width="25"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Image Grid.Column="0" HeightRequest="25"
|
|
|
|
|
|
|
|
WidthRequest="25" Source="person.svg">
|
|
|
|
|
|
|
|
<Image.Behaviors>
|
|
|
|
|
|
|
|
<toolkit:IconTintColorBehavior TintColor="Red" />
|
|
|
|
|
|
|
|
</Image.Behaviors>
|
|
|
|
|
|
|
|
</Image>
|
|
|
|
|
|
|
|
<Label Margin="10,0,0,0" VerticalOptions="Center" Grid.Column="1" TextColor="Red" Text="Prêter le livre"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<BoxView HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="EndAndExpand" />
|
|
|
|
<!-- Gestion Star TODO -->
|
|
|
|
<!-- Gestion Star TODO -->
|
|
|
|
<StackLayout>
|
|
|
|
|
|
|
|
<StackLayout x:Name="StarLayout" Grid.Column="0" Orientation="Horizontal" HorizontalOptions="CenterAndExpand">
|
|
|
|
|
|
|
|
<!-- Les étoiles seront ajoutées ici via le code-behind -->
|
|
|
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
<Label x:Name="RatingLabel" Grid.Column="1" FontSize="Medium" HorizontalOptions="CenterAndExpand"/>
|
|
|
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
</StackLayout>
|
|
|
|
</StackLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</ScrollView>
|
|
|
|
</ContentPage.Content>
|
|
|
|
</ContentPage.Content>
|
|
|
|