parent
163af17da5
commit
90e4ffdcb0
@ -1,58 +0,0 @@
|
||||
<?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"
|
||||
x:Class="PocketBook.Auteur"
|
||||
Title="Auteur"
|
||||
xmlns:local="clr-namespace:PocketBook"
|
||||
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
|
||||
|
||||
<Grid RowDefinitions="auto,auto,*">
|
||||
<StackLayout Orientation="Vertical">
|
||||
<StackLayout Orientation="Horizontal" VerticalOptions="Start" Padding="5,10,0,10">
|
||||
<StackLayout Orientation="Horizontal" HorizontalOptions="StartAndExpand">
|
||||
<Image Source="chevron_left.png">
|
||||
<Image.Behaviors>
|
||||
<toolkit:IconTintColorBehavior TintColor="{StaticResource Primary}" />
|
||||
</Image.Behaviors>
|
||||
</Image>
|
||||
<Label Style="{StaticResource TitleLabelLeftStyle}" Text="Mes livres" />
|
||||
</StackLayout>
|
||||
<Label Style="{StaticResource TitleLabelStyle}" Text="Auteur" />
|
||||
<ImageButton x:Name="imageArrows" Style="{StaticResource RightIconToolBar}" Source="arrows.png">
|
||||
<ImageButton.Behaviors>
|
||||
<toolkit:IconTintColorBehavior TintColor="{StaticResource Primary}"/>
|
||||
</ImageButton.Behaviors>
|
||||
</ImageButton>
|
||||
</StackLayout>
|
||||
<Line BackgroundColor="{StaticResource LineColorAutor}" />
|
||||
</StackLayout>
|
||||
|
||||
<SearchBar Grid.Row="1" x:Name="searchBar" Style="{StaticResource SearchBarStyle}" Placeholder="Rechercher" />
|
||||
|
||||
<ScrollView Grid.Row="2">
|
||||
<StackLayout>
|
||||
<local:Filtrage Dataname="Alain Damasio" Margin="0,0,0,5" NumberData="2"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="Cixin Lui" Margin="0,0,0,5" NumberData="3"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="Daniel Pennac" Margin="0,0,0,5" NumberData="2"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="Evgenij Ivanovic Zamâtin" Margin="0,0,0,5" NumberData="1"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="Frank Herbert" Margin="0,0,0,5" NumberData="6"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="Herbert George Wells" Margin="0,0,0,5" NumberData="3"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="James S. A. Corey" Margin="0,0,0,5" NumberData="6"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="James Tynion" Margin="0,0,0,5" NumberData="1"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="James Tynion (IV)" Margin="0,0,0,5" NumberData="1"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="Ken Kesey" Margin="0,0,0,5" NumberData="1"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="Ken Liu" Margin="0,0,0,5" NumberData="1"/>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
</Grid>
|
||||
</ContentPage>
|
@ -1,15 +0,0 @@
|
||||
using PocketBook.Applicative_VM;
|
||||
|
||||
namespace PocketBook;
|
||||
|
||||
public partial class Auteur : ContentPage
|
||||
{
|
||||
public NavigatorVM NavigateCommandBooks { get; private set; }
|
||||
|
||||
public Auteur(NavigatorVM navigator)
|
||||
{
|
||||
NavigateCommandBooks = navigator;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
<?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"
|
||||
x:Class="PocketBook.DatePublic"
|
||||
xmlns:local="clr-namespace:PocketBook"
|
||||
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
|
||||
<Grid RowDefinitions="auto,auto, *">
|
||||
<StackLayout Orientation="Vertical">
|
||||
<StackLayout Orientation="Horizontal" VerticalOptions="Start" Padding="5,10,0,10">
|
||||
<StackLayout Orientation="Horizontal" HorizontalOptions="StartAndExpand">
|
||||
<Image Source="chevron_left.png">
|
||||
<Image.Behaviors>
|
||||
<toolkit:IconTintColorBehavior TintColor="{StaticResource Primary}"/>
|
||||
</Image.Behaviors>
|
||||
</Image>
|
||||
</StackLayout>
|
||||
<Label Text="Date de publication" Style="{StaticResource TitleLabelStyle}"/>
|
||||
<ImageButton x:Name="imageArrows" Style="{StaticResource RightIconToolBar}" Source="arrows.png">
|
||||
<ImageButton.Behaviors>
|
||||
<toolkit:IconTintColorBehavior TintColor="{StaticResource Primary}"/>
|
||||
</ImageButton.Behaviors>
|
||||
</ImageButton>
|
||||
</StackLayout>
|
||||
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
||||
|
||||
</StackLayout>
|
||||
|
||||
|
||||
<SearchBar Style="{StaticResource SearchBarStyle}"/>
|
||||
|
||||
<ScrollView Grid.Row="2">
|
||||
<StackLayout>
|
||||
<local:Filtrage Dataname="2022" Margin="0,0,0,5" NumberData="1"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="2021" Margin="0,0,0,5" NumberData="6"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="2020" Margin="0,0,0,5" NumberData="6"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="2019" Margin="0,0,0,5" NumberData="3"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="2018" Margin="0,0,0,5" NumberData="2"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="2016" Margin="0,0,0,5" NumberData="4"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="2015" Margin="0,0,0,5" NumberData="4"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="2012" Margin="0,0,0,5" NumberData="1"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="2010" Margin="0,0,0,5" NumberData="1"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="2004" Margin="0,0,0,5" NumberData="1"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="1997" Margin="0,0,0,5" NumberData="1"/>
|
||||
|
||||
</StackLayout>
|
||||
|
||||
|
||||
</ScrollView>
|
||||
</Grid>
|
||||
|
||||
|
||||
</ContentPage>
|
||||
|
@ -0,0 +1,38 @@
|
||||
<?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"
|
||||
x:Class="PocketBook.Filter"
|
||||
Title="Filter"
|
||||
Shell.ForegroundColor="{StaticResource Primary}"
|
||||
xmlns:local="clr-namespace:PocketBook"
|
||||
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
|
||||
<ContentPage.Resources>
|
||||
|
||||
</ContentPage.Resources>
|
||||
|
||||
<ContentPage.ToolbarItems>
|
||||
<ToolbarItem Text="Order" Priority="2"
|
||||
Order="Primary" IconImageSource="arrows.png"/>
|
||||
</ContentPage.ToolbarItems>
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<SearchBar Grid.Row="0" x:Name="searchBar" Style="{StaticResource SearchBarStyle}" Placeholder="Rechercher" />
|
||||
|
||||
<ScrollView Grid.Row="1">
|
||||
<StackLayout>
|
||||
<CollectionView ItemsSource="{Binding FilterVM.Manager.Filters}" SelectionMode="None">
|
||||
<CollectionView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<local:Filtrage Dataname="{Binding Item1}" Margin="0,0,0,5" NumberData="{Binding Item2}"/>
|
||||
</DataTemplate>
|
||||
</CollectionView.ItemTemplate>
|
||||
</CollectionView>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
</Grid>
|
||||
</ContentPage>
|
@ -0,0 +1,18 @@
|
||||
using PocketBook.Applicative_VM;
|
||||
using ViewModel;
|
||||
|
||||
namespace PocketBook;
|
||||
|
||||
public partial class Filter : ContentPage
|
||||
{
|
||||
public NavigatorVM NavigateCommandBooks { get; private set; }
|
||||
public FilterVM FilterVM { get; private set; }
|
||||
public Filter(NavigatorVM navigator, FilterVM filterVM)
|
||||
{
|
||||
FilterVM=filterVM;
|
||||
NavigateCommandBooks = navigator;
|
||||
InitializeComponent();
|
||||
BindingContext = this;
|
||||
}
|
||||
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
<?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"
|
||||
x:Class="PocketBook.MarkPage"
|
||||
xmlns:local="clr-namespace:PocketBook"
|
||||
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
|
||||
|
||||
<Grid RowDefinitions="auto, *">
|
||||
<StackLayout Orientation="Vertical">
|
||||
<StackLayout Orientation="Horizontal" VerticalOptions="Start" Padding="5,10,0,10">
|
||||
<StackLayout Orientation="Horizontal" HorizontalOptions="StartAndExpand">
|
||||
<Image Source="chevron_left.png">
|
||||
<Image.Behaviors>
|
||||
<toolkit:IconTintColorBehavior TintColor="{StaticResource Primary}"/>
|
||||
</Image.Behaviors>
|
||||
</Image>
|
||||
</StackLayout>
|
||||
<Label Text="Note" Style="{StaticResource TitleLabelStyle}"/>
|
||||
<ImageButton x:Name="imageArrows" Style="{StaticResource RightIconToolBar}" Source="arrows.png">
|
||||
<ImageButton.Behaviors>
|
||||
<toolkit:IconTintColorBehavior TintColor="{StaticResource Primary}"/>
|
||||
</ImageButton.Behaviors>
|
||||
</ImageButton>
|
||||
</StackLayout>
|
||||
<Line BackgroundColor="{StaticResource LineColor1}"/>
|
||||
|
||||
</StackLayout>
|
||||
|
||||
<ScrollView Grid.Row="2">
|
||||
<StackLayout>
|
||||
<local:Filtrage Dataname="★" Margin="0,0,0,5" NumberData="1"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="★★" Margin="0,0,0,5" NumberData="6"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="★★★" Margin="0,0,0,5" NumberData="6"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="★★★★" Margin="0,0,0,5" NumberData="3"/>
|
||||
<Line Style="{StaticResource LineStyle}"/>
|
||||
<local:Filtrage Dataname="★★★★★" Margin="0,0,0,5" NumberData="2"/>
|
||||
</StackLayout>
|
||||
|
||||
</ScrollView>
|
||||
</Grid>
|
||||
</ContentPage>
|
@ -1,15 +0,0 @@
|
||||
using CommunityToolkit.Maui.Views;
|
||||
using PocketBook.Applicative_VM;
|
||||
|
||||
namespace PocketBook;
|
||||
|
||||
public partial class MarkPage : ContentPage
|
||||
{
|
||||
public NavigatorVM NavigateCommandBooks { get; private set; }
|
||||
|
||||
public MarkPage(NavigatorVM navigator)
|
||||
{
|
||||
NavigateCommandBooks = navigator;
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
Loading…
Reference in new issue