From 4cdfd6a42d17308b5f195b0c5ef1cdfaaccb91dd Mon Sep 17 00:00:00 2001 From: lobroda Date: Sat, 16 Sep 2023 13:25:43 +0100 Subject: [PATCH] ADD : good book cover, status bar color, emprunts/prets page, collection view disposition (ToDo : navigation & bookmark for cover) --- LivreLand/AppShell.xaml | 2 +- LivreLand/LivreLand.csproj | 6 + LivreLand/Resources/Images/book_cover.png | Bin 3769 -> 0 bytes LivreLand/View/BibliothequeView.xaml | 9 +- LivreLand/View/BibliothequeView.xaml.cs | 13 -- .../ContentViews/EmpruntsPretsButtonView.xaml | 43 ++++ .../EmpruntsPretsButtonView.xaml.cs | 25 +++ .../View/ContentViews/HomeButtonView.xaml | 4 - .../View/ContentViews/HomeButtonView.xaml.cs | 7 - .../View/ContentViews/SearchBarView.xaml | 2 +- LivreLand/View/DetailsLivreView.xaml | 24 +- LivreLand/View/EmpruntsPretsView.xaml | 205 ++++++++++++++++++ LivreLand/View/EmpruntsPretsView.xaml.cs | 27 +++ LivreLand/View/TousView.xaml | 122 ++++++++++- LivreLand/View/TousView.xaml.cs | 10 +- 15 files changed, 453 insertions(+), 46 deletions(-) delete mode 100644 LivreLand/Resources/Images/book_cover.png create mode 100644 LivreLand/View/ContentViews/EmpruntsPretsButtonView.xaml create mode 100644 LivreLand/View/ContentViews/EmpruntsPretsButtonView.xaml.cs create mode 100644 LivreLand/View/EmpruntsPretsView.xaml create mode 100644 LivreLand/View/EmpruntsPretsView.xaml.cs diff --git a/LivreLand/AppShell.xaml b/LivreLand/AppShell.xaml index c9cf00c..cacb6af 100644 --- a/LivreLand/AppShell.xaml +++ b/LivreLand/AppShell.xaml @@ -17,7 +17,7 @@ ContentTemplate="{DataTemplate view:TousView}" Icon="list_bullet.svg"/> MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile @@ -97,6 +100,9 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile diff --git a/LivreLand/Resources/Images/book_cover.png b/LivreLand/Resources/Images/book_cover.png deleted file mode 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|P>?pS>WkJX zM-`8Fd8s6qP>bHV$QIG@krow)=R8LkZ(fJJSCX@Rb!mZRJ7^KVzQpE5zJ83l9Wipw}$+Ok3vNj?$kBm1+zmli$o?dS*spCG0sOQd+ zEEd*GR8M`n)~Xp6wiT>bE5mw^h2M;8oAHCqmsKw|hw>WZx~A zSGD@W!nyQUO6@vGMn-gvU4{ywrL-{73*#MPEw~ab9ofBRPemAXjHV+PEGdHz+;HuX%VF(u%3JnLdi|%>g)xxaHlcyN_z09 zXo6@P*^67wicwpp&i4(YHD(f6l<)}IuI&~iHRO@EH9aLlV?o0*GIrrhUyw$W1*R$5 zs6Np1IW9M@o;$uY6+XqQU&5`#F)rrksotNPfQo;WqQ!K`!^O(4f&XK2{yOLUogMsL z5Kb5uZ~zX&4=XFe)fM4tW=hHkrK5<$@B?r-0uIk()J*(F!OO?l-8J~n6?&_omY~AE ne|zwE_j2*`ckuH4y^cBpe)PK&$$a2Gr~{yMj7}Awu)p#zDiQJD diff --git a/LivreLand/View/BibliothequeView.xaml b/LivreLand/View/BibliothequeView.xaml index cd90067..53ec420 100644 --- a/LivreLand/View/BibliothequeView.xaml +++ b/LivreLand/View/BibliothequeView.xaml @@ -3,9 +3,17 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:view="clr-namespace:LivreLand.View" xmlns:contentView="clr-namespace:LivreLand.View.ContentViews" + xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" x:Class="LivreLand.View.BibliothequeView" x:Name="this" Title="BibliothequeView"> + + + + + + + @@ -44,7 +52,6 @@ diff --git a/LivreLand/View/BibliothequeView.xaml.cs b/LivreLand/View/BibliothequeView.xaml.cs index 9f8f7cb..17d8118 100644 --- a/LivreLand/View/BibliothequeView.xaml.cs +++ b/LivreLand/View/BibliothequeView.xaml.cs @@ -4,21 +4,8 @@ namespace LivreLand.View; public partial class BibliothequeView : ContentPage { - public ICommand FiltreAuteurCommand { get; private set; } - public BibliothequeView() { InitializeComponent(); - - //Commandes navigation temporaires - FiltreAuteurCommand = new Command( - execute: () => - { - App.Current.MainPage.Navigation.PushAsync(new FiltrageAuteurView()); - }, - canExecute: () => - { - return true; - }); } } \ No newline at end of file diff --git a/LivreLand/View/ContentViews/EmpruntsPretsButtonView.xaml b/LivreLand/View/ContentViews/EmpruntsPretsButtonView.xaml new file mode 100644 index 0000000..198507b --- /dev/null +++ b/LivreLand/View/ContentViews/EmpruntsPretsButtonView.xaml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + +