@ -1,41 +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="LivreLand.MainPage">
|
|
||||||
|
|
||||||
<ScrollView>
|
|
||||||
<VerticalStackLayout
|
|
||||||
Spacing="25"
|
|
||||||
Padding="30,0"
|
|
||||||
VerticalOptions="Center">
|
|
||||||
|
|
||||||
<Image
|
|
||||||
Source="dotnet_bot.png"
|
|
||||||
SemanticProperties.Description="Cute dot net bot waving hi to you!"
|
|
||||||
HeightRequest="200"
|
|
||||||
HorizontalOptions="Center" />
|
|
||||||
|
|
||||||
<Label
|
|
||||||
Text="Hello, World!"
|
|
||||||
SemanticProperties.HeadingLevel="Level1"
|
|
||||||
FontSize="32"
|
|
||||||
HorizontalOptions="Center" />
|
|
||||||
|
|
||||||
<Label
|
|
||||||
Text="Welcome to .NET Multi-platform App UI"
|
|
||||||
SemanticProperties.HeadingLevel="Level2"
|
|
||||||
SemanticProperties.Description="Welcome to dot net Multi platform App U I"
|
|
||||||
FontSize="18"
|
|
||||||
HorizontalOptions="Center" />
|
|
||||||
|
|
||||||
<Button
|
|
||||||
x:Name="CounterBtn"
|
|
||||||
Text="Click me"
|
|
||||||
SemanticProperties.Hint="Counts the number of times you click"
|
|
||||||
Clicked="OnCounterClicked"
|
|
||||||
HorizontalOptions="Center" />
|
|
||||||
|
|
||||||
</VerticalStackLayout>
|
|
||||||
</ScrollView>
|
|
||||||
|
|
||||||
</ContentPage>
|
|
After Width: | Height: | Size: 785 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1015 B |
After Width: | Height: | Size: 703 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 560 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 714 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 934 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 761 B |
After Width: | Height: | Size: 564 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 921 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.3 KiB |
@ -0,0 +1,281 @@
|
|||||||
|
<?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:view="clr-namespace:LivreLand.View"
|
||||||
|
xmlns:contentView="clr-namespace:LivreLand.View.ContentViews"
|
||||||
|
x:Class="LivreLand.View.BibliothequeView"
|
||||||
|
Title="BibliothequeView">
|
||||||
|
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
<RowDefinition Height="10"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<view:HeaderHome Grid.Row="0"/>
|
||||||
|
<ScrollView Grid.Row="2">
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
<RowDefinition Height="10"/>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
<RowDefinition Height="20"/>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
<RowDefinition Height="20"/>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
|
<Label Text="Mes Livres"
|
||||||
|
FontAttributes="Bold"
|
||||||
|
FontSize="40"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
Grid.Row="0"/>
|
||||||
|
|
||||||
|
<VerticalStackLayout BackgroundColor="{DynamicResource LightGray}"
|
||||||
|
Grid.Row="2">
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
|
||||||
|
<!--Tous-->
|
||||||
|
<contentView:HomeButtonView ButtonTitle="Tous"
|
||||||
|
ButtonIcon="tray_2_fill.png"
|
||||||
|
ButtonNumber="45"/>
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
|
||||||
|
<!--En prêt-->
|
||||||
|
<Grid Margin="10">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="1"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Image Source="person_badge_clock_fill.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="0"/>
|
||||||
|
<Label Text="En prêt"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="2"/>
|
||||||
|
<Label Text="1"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="4"/>
|
||||||
|
<Image Source="chevron_right.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="6"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
|
||||||
|
<!--À lire plus tard-->
|
||||||
|
<Grid Margin="10">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="1"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Image Source="arrow_forward.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="0"/>
|
||||||
|
<Label Text="À lire plus tard"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="2"/>
|
||||||
|
<Image Source="chevron_right.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="6"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
|
||||||
|
<!--Statut de lecture-->
|
||||||
|
<Grid Margin="10">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="1"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Image Source="eyeglasses.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="0"/>
|
||||||
|
<Label Text="Statut de lecture"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="2"/>
|
||||||
|
<Image Source="chevron_right.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="6"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
|
||||||
|
<!--Favoris-->
|
||||||
|
<Grid Margin="10">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="1"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Image Source="heart_fill.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="0"/>
|
||||||
|
<Label Text="Favoris"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="2"/>
|
||||||
|
<Image Source="chevron_right.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="6"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
|
||||||
|
<Label Text="Filtres"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
FontAttributes="Bold"
|
||||||
|
Grid.Row="4"/>
|
||||||
|
|
||||||
|
<VerticalStackLayout BackgroundColor="{DynamicResource LightGray}"
|
||||||
|
Grid.Row="6">
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
|
||||||
|
<!--Auteur-->
|
||||||
|
<Grid Margin="10">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="1"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Image Source="person_fill.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="0"/>
|
||||||
|
<Label Text="Auteur"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="2"/>
|
||||||
|
<Image Source="chevron_right.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="6"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
|
||||||
|
<!--Date de publication-->
|
||||||
|
<Grid Margin="10">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="1"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Image Source="calendar.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="0"/>
|
||||||
|
<Label Text="Date de publication"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="2"/>
|
||||||
|
<Image Source="chevron_right.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="6"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
|
||||||
|
<!--Note-->
|
||||||
|
<Grid Margin="10">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="1"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Image Source="sparkles.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="0"/>
|
||||||
|
<Label Text="Note"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="2"/>
|
||||||
|
<Image Source="chevron_right.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="6"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<BoxView Color="{DynamicResource Gray}"
|
||||||
|
HeightRequest="1"
|
||||||
|
HorizontalOptions="Fill"/>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</ScrollView>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace LivreLand.View;
|
||||||
|
|
||||||
|
public partial class BibliothequeView : ContentPage
|
||||||
|
{
|
||||||
|
public BibliothequeView()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
x:Class="LivreLand.View.ContentViews.HomeButtonView"
|
||||||
|
x:Name="this">
|
||||||
|
|
||||||
|
<Grid BindingContext="{x:Reference this}"
|
||||||
|
Margin="10">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="1"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Image Source="{Binding ButtonIcon}"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="0"/>
|
||||||
|
<Label Text="{Binding ButtonTitle}"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="2"/>
|
||||||
|
<Label Text="{Binding ButtonNumber, FallbackValue=' '}"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
Grid.Column="4"/>
|
||||||
|
<Image Source="chevron_right.png"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="6"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
</ContentView>
|
@ -0,0 +1,30 @@
|
|||||||
|
namespace LivreLand.View.ContentViews;
|
||||||
|
|
||||||
|
public partial class HomeButtonView : ContentView
|
||||||
|
{
|
||||||
|
public static readonly BindableProperty ButtonTitleProperty = BindableProperty.Create(nameof(ButtonTitle), typeof(string), typeof(HomeButtonView), string.Empty);
|
||||||
|
public string ButtonTitle
|
||||||
|
{
|
||||||
|
get => (string)GetValue(HomeButtonView.ButtonTitleProperty);
|
||||||
|
set => SetValue(HomeButtonView.ButtonTitleProperty, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly BindableProperty ButtonIconProperty = BindableProperty.Create(nameof(ButtonIcon), typeof(string), typeof(HomeButtonView), string.Empty);
|
||||||
|
public string ButtonIcon
|
||||||
|
{
|
||||||
|
get => (string)GetValue(HomeButtonView.ButtonIconProperty);
|
||||||
|
set => SetValue(HomeButtonView.ButtonIconProperty, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly BindableProperty ButtonNumberProperty = BindableProperty.Create(nameof(ButtonNumber), typeof(string), typeof(HomeButtonView), string.Empty);
|
||||||
|
public string ButtonNumber
|
||||||
|
{
|
||||||
|
get => (string)GetValue(HomeButtonView.ButtonNumberProperty);
|
||||||
|
set => SetValue(HomeButtonView.ButtonNumberProperty, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
public HomeButtonView()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
<?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="LivreLand.View.DetailsLivreView"
|
||||||
|
Title="DetailsLivreView">
|
||||||
|
<Grid>
|
||||||
|
<ScrollView>
|
||||||
|
<VerticalStackLayout Margin="10">
|
||||||
|
|
||||||
|
<!--Informations générales-->
|
||||||
|
<Grid>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<!--Informations en ligne-->
|
||||||
|
|
||||||
|
<!--Auteur-->
|
||||||
|
|
||||||
|
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ScrollView>
|
||||||
|
</Grid>
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace LivreLand.View;
|
||||||
|
|
||||||
|
public partial class DetailsLivreView : ContentPage
|
||||||
|
{
|
||||||
|
public DetailsLivreView()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
<?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="LivreLand.View.FiltrageAuteurView"
|
||||||
|
Title="FiltrageAuteurView">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<Label
|
||||||
|
Text="Welcome to .NET MAUI!"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HorizontalOptions="Center" />
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace LivreLand.View;
|
||||||
|
|
||||||
|
public partial class FiltrageAuteurView : ContentPage
|
||||||
|
{
|
||||||
|
public FiltrageAuteurView()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
<?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="LivreLand.View.FiltrageDateView"
|
||||||
|
Title="FiltrageDateView">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<Label
|
||||||
|
Text="Welcome to .NET MAUI!"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HorizontalOptions="Center" />
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace LivreLand.View;
|
||||||
|
|
||||||
|
public partial class FiltrageDateView : ContentPage
|
||||||
|
{
|
||||||
|
public FiltrageDateView()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
x:Class="LivreLand.View.HeaderHome">
|
||||||
|
|
||||||
|
<Grid ColumnDefinitions="auto, *, auto"
|
||||||
|
Margin="5">
|
||||||
|
<Grid>
|
||||||
|
<Label Text="Modifier"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
TextColor="Red"
|
||||||
|
FontAttributes="Bold"
|
||||||
|
BackgroundColor="Transparent"
|
||||||
|
Grid.Column="0"/>
|
||||||
|
<!--<Grid.GestureRecognizers>
|
||||||
|
<TapGestureRecognizer Command=""/>
|
||||||
|
</Grid.GestureRecognizers>-->
|
||||||
|
</Grid>
|
||||||
|
<Button VerticalOptions="Center"
|
||||||
|
ImageSource="plus.png"
|
||||||
|
BackgroundColor="Transparent"
|
||||||
|
MaximumHeightRequest="20"
|
||||||
|
MaximumWidthRequest="20"
|
||||||
|
Grid.Column="2"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
</ContentView>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace LivreLand.View;
|
||||||
|
|
||||||
|
public partial class HeaderHome : ContentView
|
||||||
|
{
|
||||||
|
public HeaderHome()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
x:Class="LivreLand.View.HeaderPage">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<Label
|
||||||
|
Text="Welcome to .NET MAUI!"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HorizontalOptions="Center" />
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentView>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace LivreLand.View;
|
||||||
|
|
||||||
|
public partial class HeaderPage : ContentView
|
||||||
|
{
|
||||||
|
public HeaderPage()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
<?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="LivreLand.View.TousView"
|
||||||
|
Title="TousView">
|
||||||
|
<Grid>
|
||||||
|
<ScrollView>
|
||||||
|
<CollectionView>
|
||||||
|
<CollectionView.GroupHeaderTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<Label Text="Alain Damasio"/>
|
||||||
|
</DataTemplate>
|
||||||
|
</CollectionView.GroupHeaderTemplate>
|
||||||
|
<CollectionView.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<Grid Margin="10">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
<ColumnDefinition Width="10"/>
|
||||||
|
<ColumnDefinition Width="auto"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
|
<Image Grid.Column="0"/>
|
||||||
|
<Grid Grid.Column="2">
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
<RowDefinition Height="auto"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
</Grid>
|
||||||
|
<Label Text="La horde du contrevent"
|
||||||
|
Grid.Row="0"/>
|
||||||
|
<Label Text="Alain Damasio"
|
||||||
|
Grid.Row="1"/>
|
||||||
|
<Label Text="Non lu"
|
||||||
|
Grid.Row="2"/>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</DataTemplate>
|
||||||
|
</CollectionView.ItemTemplate>
|
||||||
|
</CollectionView>
|
||||||
|
</ScrollView>
|
||||||
|
</Grid>
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace LivreLand.View;
|
||||||
|
|
||||||
|
public partial class TousView : ContentPage
|
||||||
|
{
|
||||||
|
public TousView()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|