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.
60 lines
2.8 KiB
60 lines
2.8 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:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
|
xmlns:view="clr-namespace:LivreLand.View"
|
|
xmlns:contentView="clr-namespace:LivreLand.View.ContentViews"
|
|
xmlns:viewModel="clr-namespace:ViewModels;assembly=ViewModels"
|
|
x:Class="LivreLand.View.FiltrageNoteView"
|
|
Title="FiltrageNoteView">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="auto"/>
|
|
<RowDefinition Height="10"/>
|
|
<RowDefinition Height="auto"/>
|
|
<RowDefinition Height="10"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<view:HeaderPage Grid.Row="0"
|
|
HeaderTitle="Note"
|
|
HeaderBackButtonText="Mes livres"
|
|
HeaderPlusButtonVisible="False"
|
|
HeaderSwitchButtonVisible="True"/>
|
|
|
|
<VerticalStackLayout BackgroundColor="{DynamicResource Light}"
|
|
Spacing="10"
|
|
Grid.Row="2">
|
|
<contentView:SeparatorEntireView/>
|
|
|
|
<contentView:SearchBarView Grid.Row="2"/>
|
|
</VerticalStackLayout>
|
|
|
|
<ScrollView Grid.Row="4">
|
|
<VerticalStackLayout Grid.Row="2">
|
|
<contentView:SeparatorEntireView/>
|
|
|
|
<CollectionView ItemsSource="{Binding FiltrageNoteVM.Manager.AllRatings}"
|
|
SelectionChangedCommand="{Binding FiltrageNoteVM.Navigator.NavigationCommand}"
|
|
SelectionChangedCommandParameter="/tous">
|
|
<CollectionView.ItemTemplate>
|
|
<DataTemplate x:DataType="viewModel:RatingsVM">
|
|
<VerticalStackLayout>
|
|
<contentView:HomeButtonView ButtonTitle="{Binding Average}"
|
|
ButtonIcon="book.png"
|
|
ButtonNumber="{Binding NbBooksWritten}"
|
|
ButtonRedIconVisible="True"
|
|
ButtonBlackIconVisible="False"/>
|
|
|
|
<contentView:SeparatorBigCutStartView/>
|
|
<contentView:SeparatorBigCutStartView/>
|
|
</VerticalStackLayout>
|
|
</DataTemplate>
|
|
</CollectionView.ItemTemplate>
|
|
</CollectionView>
|
|
</VerticalStackLayout>
|
|
</ScrollView>
|
|
</Grid>
|
|
|
|
</ContentPage> |