|
|
@ -93,7 +93,7 @@
|
|
|
|
Stroke="{StaticResource Gray}"
|
|
|
|
Stroke="{StaticResource Gray}"
|
|
|
|
StrokeShape="RoundRectangle 3"
|
|
|
|
StrokeShape="RoundRectangle 3"
|
|
|
|
StrokeThickness="3">
|
|
|
|
StrokeThickness="3">
|
|
|
|
<Image Source="couverture_la_horde_du_contrevent.png"
|
|
|
|
<Image Source="{Binding ImageSmall}"
|
|
|
|
Aspect="AspectFill"
|
|
|
|
Aspect="AspectFill"
|
|
|
|
Grid.Column="0"
|
|
|
|
Grid.Column="0"
|
|
|
|
Grid.RowSpan="5"/>
|
|
|
|
Grid.RowSpan="5"/>
|
|
|
@ -109,11 +109,20 @@
|
|
|
|
Style="{StaticResource MasterTitleBookText}"
|
|
|
|
Style="{StaticResource MasterTitleBookText}"
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Row="0"/>
|
|
|
|
Grid.Row="0"/>
|
|
|
|
<Label Text="Author"
|
|
|
|
<CollectionView ItemsSource="{Binding Authors}"
|
|
|
|
Style="{StaticResource MasterAuthorBookText}"
|
|
|
|
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Row="1"/>
|
|
|
|
Grid.Row="1">
|
|
|
|
<Label Text="State"
|
|
|
|
<CollectionView.ItemsLayout>
|
|
|
|
|
|
|
|
<LinearItemsLayout Orientation="Horizontal" />
|
|
|
|
|
|
|
|
</CollectionView.ItemsLayout>
|
|
|
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
|
|
|
<DataTemplate x:DataType="viewModel:AuthorVM">
|
|
|
|
|
|
|
|
<Label Text="{Binding Name}"
|
|
|
|
|
|
|
|
Style="{StaticResource MasterAuthorBookText}"/>
|
|
|
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
|
|
|
|
</CollectionView>
|
|
|
|
|
|
|
|
<Label Text="{Binding Status}"
|
|
|
|
Style="{StaticResource MasterStateBookText}"
|
|
|
|
Style="{StaticResource MasterStateBookText}"
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Row="2"/>
|
|
|
|
Grid.Row="2"/>
|
|
|
@ -138,82 +147,27 @@
|
|
|
|
Style="{StaticResource HeaderCollectionViewText}"
|
|
|
|
Style="{StaticResource HeaderCollectionViewText}"
|
|
|
|
Grid.Column="1"/>
|
|
|
|
Grid.Column="1"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
<CollectionView ItemsSource="{Binding LiuBooks}"
|
|
|
|
<Grid Grid.Row="6">
|
|
|
|
SelectionMode="Single"
|
|
|
|
|
|
|
|
SelectionChanged="OnSelectionChanged"
|
|
|
|
|
|
|
|
Grid.Row="6">
|
|
|
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
|
|
|
<VerticalStackLayout Margin="10"
|
|
|
|
|
|
|
|
Spacing="20">
|
|
|
|
|
|
|
|
<VisualStateManager.VisualStateGroups x:Name="SelectionStates">
|
|
|
|
|
|
|
|
<VisualStateGroup>
|
|
|
|
|
|
|
|
<VisualState x:Name="Selected">
|
|
|
|
|
|
|
|
<VisualState.Setters>
|
|
|
|
|
|
|
|
<Setter Property="BackgroundColor" Value="Transparent" />
|
|
|
|
|
|
|
|
</VisualState.Setters>
|
|
|
|
|
|
|
|
</VisualState>
|
|
|
|
|
|
|
|
</VisualStateGroup>
|
|
|
|
|
|
|
|
</VisualStateManager.VisualStateGroups>
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
<ColumnDefinition Width="10"/>
|
|
|
|
<ColumnDefinition Width="5"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="5"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
<ImageButton Source="chevron_right.png"
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
Rotation="180"
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
Command="{Binding TousVM.Manager.PreviousCommand}"
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
Grid.Column="1"/>
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
<Label Text="{Binding TousVM.Manager.Index, TousVM.Manager.NbPages, StringFormat='{0}/{1}'}"
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
Grid.Column="3"/>
|
|
|
|
<Grid Grid.Column="0"
|
|
|
|
<ImageButton Source="chevron_right.png"
|
|
|
|
Grid.RowSpan="5">
|
|
|
|
Command="{Binding TousVM.Manager.NextCommand}"
|
|
|
|
<Border Padding="-5,-5,-5,1"
|
|
|
|
Grid.Column="5"/>
|
|
|
|
Margin="10,0,0,0"
|
|
|
|
|
|
|
|
HeightRequest="100"
|
|
|
|
|
|
|
|
WidthRequest="62"
|
|
|
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
|
|
|
Stroke="{StaticResource Gray}"
|
|
|
|
|
|
|
|
StrokeShape="RoundRectangle 3"
|
|
|
|
|
|
|
|
StrokeThickness="3">
|
|
|
|
|
|
|
|
<Border HorizontalOptions="Center"
|
|
|
|
|
|
|
|
Stroke="{StaticResource Gray}"
|
|
|
|
|
|
|
|
StrokeShape="RoundRectangle 3"
|
|
|
|
|
|
|
|
StrokeThickness="3">
|
|
|
|
|
|
|
|
<Image Source="couverture_la_horde_du_contrevent.png"
|
|
|
|
|
|
|
|
Aspect="AspectFill"
|
|
|
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
|
|
|
Grid.RowSpan="5"/>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<Image Source="bookmark_red.png"
|
|
|
|
|
|
|
|
HeightRequest="10"
|
|
|
|
|
|
|
|
WidthRequest="10"
|
|
|
|
|
|
|
|
Margin="0,97,20,0"
|
|
|
|
|
|
|
|
VerticalOptions="End"/>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Label Text="{Binding Title}"
|
|
|
|
|
|
|
|
Style="{StaticResource MasterTitleBookText}"
|
|
|
|
|
|
|
|
Grid.Column="2"
|
|
|
|
|
|
|
|
Grid.Row="0"/>
|
|
|
|
|
|
|
|
<Label Text="{Binding Author}"
|
|
|
|
|
|
|
|
Style="{StaticResource MasterAuthorBookText}"
|
|
|
|
|
|
|
|
Grid.Column="2"
|
|
|
|
|
|
|
|
Grid.Row="1"/>
|
|
|
|
|
|
|
|
<Label Text="{Binding State}"
|
|
|
|
|
|
|
|
Style="{StaticResource MasterStateBookText}"
|
|
|
|
|
|
|
|
Grid.Column="2"
|
|
|
|
|
|
|
|
Grid.Row="2"/>
|
|
|
|
|
|
|
|
<contentView:StarNotationView Grid.Column="2"
|
|
|
|
|
|
|
|
Grid.Row="4"/>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
<contentView:SeparatorCutStartView/>
|
|
|
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
|
|
|
|
</CollectionView>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</ScrollView>
|
|
|
|
</ScrollView>
|
|
|
|
<Grid HorizontalOptions="End"
|
|
|
|
<Grid HorizontalOptions="End"
|
|
|
|