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.

77 lines
3.7 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"
x:Class="PocketBook.MainPage"
Shell.NavBarIsVisible="True"
xmlns:local="clr-namespace:PocketBook"
Shell.FlyoutBehavior="Disabled"
Shell.FlyoutItemIsVisible="False"
Shell.ForegroundColor="{StaticResource Primary}"
Title="Mes Livres">
<Shell.TitleView>
<Grid VerticalOptions="Fill" Margin="-14, 0, -20, -50"
HorizontalOptions="Fill">
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
</Grid.RowDefinitions>
<Button HorizontalOptions="Start" Margin="0" FontSize="Header"
Text="Modifier" TextColor="{StaticResource Primary}"
BackgroundColor="Transparent"/>
</Grid>
</Shell.TitleView>
<ContentPage.ToolbarItems>
<ToolbarItem Text="Ajouter" Priority="1"
Order="Primary" IconImageSource="plus.png"/>
</ContentPage.ToolbarItems>
<ScrollView>
<VerticalStackLayout>
<Label Style="{StaticResource TitleStyleMainPage}" Text="Mes Livres"/>
<Line BackgroundColor="{StaticResource LineColor1}"/>
<StackLayout Background="{StaticResource BackgroundMainPage}">
<local:ContentViewFilter Command="{Binding Navigateto}" CommandParameter="TousPage" FilterImageName="tray_second_fill.png" FilterName="Tous" FilterNum="45"/>
<Line Style="{StaticResource LineStyle2}"/>
<local:ContentViewFilter Command="{Binding Navigateto}" CommandParameter="SharePage" FilterImageName="person_badge_clock_fill.png" FilterName="En prêt" FilterNum="1"/>
<Line Style="{StaticResource LineStyle2}"/>
<local:ContentViewFilter Command="{Binding Navigateto}" CommandParameter="LaterPage" FilterImageName="arrow_forward.png"
FilterName="A lire plus tard"/>
<Line Style="{StaticResource LineStyle2}"/>
<local:ContentViewFilter Command="{Binding Navigateto}" CommandParameter="StatutPage" FilterImageName="eyeglasses.png"
FilterName="Statut de lecture"/>
<Line Style="{StaticResource LineStyle2}"/>
<local:ContentViewFilter Command="{Binding Navigateto}" CommandParameter="LikePage" FilterImageName="heart_fill.png"
FilterName="Favoris"/>
</StackLayout>
<Line BackgroundColor="{StaticResource LineColor1}"/>
<Label Text="Filtres" Style="{StaticResource SecondStyleMainPage}"/>
<Line BackgroundColor="{StaticResource LineColor1}"/>
<StackLayout Background="{StaticResource BackgroundMainPage}">
<local:ContentViewFilter Command="{Binding NavigatetoFilter}" CommandParameter="Year" FilterImageName="person_fill.png"
FilterName="Auteur"/>
<Line Style="{StaticResource LineStyle2}"/>
<local:ContentViewFilter Command="{Binding NavigatetoFilter}" CommandParameter="Year" FilterImageName="cal.png"
FilterName="Date de publication"/>
<Line Style="{StaticResource LineStyle2}"/>
<local:ContentViewFilter Command="{Binding NavigatetoFilter}" CommandParameter="Year" FilterImageName="sparkles.png"
FilterName="Note"/>
</StackLayout>
</VerticalStackLayout>
</ScrollView>
</ContentPage>