diff --git a/sources/PocketBook/Auteur.xaml b/sources/PocketBook/Auteur.xaml
deleted file mode 100644
index 6a7c99b..0000000
--- a/sources/PocketBook/Auteur.xaml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/sources/PocketBook/BookDetail.xaml b/sources/PocketBook/BookDetail.xaml
deleted file mode 100644
index b9971bd..0000000
--- a/sources/PocketBook/BookDetail.xaml
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/sources/PocketBook/ContentViewBook.xaml b/sources/PocketBook/ContentViewBook.xaml
deleted file mode 100644
index 8241489..0000000
--- a/sources/PocketBook/ContentViewBook.xaml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/sources/PocketBook/MainPage.xaml b/sources/PocketBook/MainPage.xaml
deleted file mode 100644
index e207639..0000000
--- a/sources/PocketBook/MainPage.xaml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/sources/PocketBook/MainPage.xaml.cs b/sources/PocketBook/MainPage.xaml.cs
deleted file mode 100644
index aa64cc6..0000000
--- a/sources/PocketBook/MainPage.xaml.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-namespace PocketBook;
-
-public partial class MainPage : ContentPage
-{
- public MainPage()
- {
- InitializeComponent();
- }
-
- private async void OnContentViewFilterTappedTous(object sender, EventArgs e)
- {
- await Navigation.PushAsync(new TousPage());
- }
- private async void OnContentViewFilterTappedAuteur(object sender, EventArgs e)
- {
- await Navigation.PushAsync(new Auteur());
- }
-
- private async void OnContentViewFilterTappedDate(object sender,EventArgs e)
- {
- await Navigation.PushAsync(new DatePublic());
- }
-}
-
diff --git a/sources/PocketBook/Pages/Auteur.xaml b/sources/PocketBook/Pages/Auteur.xaml
new file mode 100644
index 0000000..602985b
--- /dev/null
+++ b/sources/PocketBook/Pages/Auteur.xaml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Auteur.xaml.cs b/sources/PocketBook/Pages/Auteur.xaml.cs
similarity index 100%
rename from sources/PocketBook/Auteur.xaml.cs
rename to sources/PocketBook/Pages/Auteur.xaml.cs
diff --git a/sources/PocketBook/Pages/BookDetail.xaml b/sources/PocketBook/Pages/BookDetail.xaml
new file mode 100644
index 0000000..db0d46b
--- /dev/null
+++ b/sources/PocketBook/Pages/BookDetail.xaml
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/BookDetail.xaml.cs b/sources/PocketBook/Pages/BookDetail.xaml.cs
similarity index 100%
rename from sources/PocketBook/BookDetail.xaml.cs
rename to sources/PocketBook/Pages/BookDetail.xaml.cs
diff --git a/sources/PocketBook/BookChange.xaml b/sources/PocketBook/Pages/Composants/ContentView/BookChange.xaml
similarity index 98%
rename from sources/PocketBook/BookChange.xaml
rename to sources/PocketBook/Pages/Composants/ContentView/BookChange.xaml
index 0759396..a14875a 100644
--- a/sources/PocketBook/BookChange.xaml
+++ b/sources/PocketBook/Pages/Composants/ContentView/BookChange.xaml
@@ -1,14 +1,15 @@
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
diff --git a/sources/PocketBook/BookChange.xaml.cs b/sources/PocketBook/Pages/Composants/ContentView/BookChange.xaml.cs
similarity index 97%
rename from sources/PocketBook/BookChange.xaml.cs
rename to sources/PocketBook/Pages/Composants/ContentView/BookChange.xaml.cs
index e6a704c..583fc20 100644
--- a/sources/PocketBook/BookChange.xaml.cs
+++ b/sources/PocketBook/Pages/Composants/ContentView/BookChange.xaml.cs
@@ -1,30 +1,30 @@
-namespace PocketBook;
-
-public partial class BookChange : ContentView
-{
-
- public static readonly BindableProperty ImageNameProperty=
- BindableProperty.Create(nameof(ImageName), typeof(string), typeof(BookChange), string.Empty);
-
- public static readonly BindableProperty PropertyNameProperty =
- BindableProperty.Create(nameof(PropertyName), typeof(string), typeof(BookChange), string.Empty);
-
- public string ImageName
- {
- get { return (string)GetValue(ImageNameProperty); }
- set { SetValue(ImageNameProperty, value); }
- }
-
- public string PropertyName
- {
- get { return (string)GetValue(PropertyNameProperty); }
- set { SetValue(PropertyNameProperty, value); }
- }
-
- public BookChange()
- {
- InitializeComponent();
- imageName.SetBinding(Image.SourceProperty, new Binding(nameof(ImageName), source: this));
- propertyName.SetBinding(Label.TextProperty, new Binding(nameof(PropertyName), source: this));
- }
+namespace PocketBook;
+
+public partial class BookChange : ContentView
+{
+
+ public static readonly BindableProperty ImageNameProperty=
+ BindableProperty.Create(nameof(ImageName), typeof(string), typeof(BookChange), string.Empty);
+
+ public static readonly BindableProperty PropertyNameProperty =
+ BindableProperty.Create(nameof(PropertyName), typeof(string), typeof(BookChange), string.Empty);
+
+ public string ImageName
+ {
+ get { return (string)GetValue(ImageNameProperty); }
+ set { SetValue(ImageNameProperty, value); }
+ }
+
+ public string PropertyName
+ {
+ get { return (string)GetValue(PropertyNameProperty); }
+ set { SetValue(PropertyNameProperty, value); }
+ }
+
+ public BookChange()
+ {
+ InitializeComponent();
+ imageName.SetBinding(Image.SourceProperty, new Binding(nameof(ImageName), source: this));
+ propertyName.SetBinding(Label.TextProperty, new Binding(nameof(PropertyName), source: this));
+ }
}
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/Composants/ContentView/ContentViewBook.xaml b/sources/PocketBook/Pages/Composants/ContentView/ContentViewBook.xaml
new file mode 100644
index 0000000..270dcd8
--- /dev/null
+++ b/sources/PocketBook/Pages/Composants/ContentView/ContentViewBook.xaml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/ContentViewBook.xaml.cs b/sources/PocketBook/Pages/Composants/ContentView/ContentViewBook.xaml.cs
similarity index 100%
rename from sources/PocketBook/ContentViewBook.xaml.cs
rename to sources/PocketBook/Pages/Composants/ContentView/ContentViewBook.xaml.cs
diff --git a/sources/PocketBook/ContentViewFilter.xaml b/sources/PocketBook/Pages/Composants/ContentView/ContentViewFilter.xaml
similarity index 80%
rename from sources/PocketBook/ContentViewFilter.xaml
rename to sources/PocketBook/Pages/Composants/ContentView/ContentViewFilter.xaml
index 09c6896..260d84e 100644
--- a/sources/PocketBook/ContentViewFilter.xaml
+++ b/sources/PocketBook/Pages/Composants/ContentView/ContentViewFilter.xaml
@@ -3,10 +3,10 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="PocketBook.ContentViewFilter">
-
+
-
+
diff --git a/sources/PocketBook/ContentViewFilter.xaml.cs b/sources/PocketBook/Pages/Composants/ContentView/ContentViewFilter.xaml.cs
similarity index 100%
rename from sources/PocketBook/ContentViewFilter.xaml.cs
rename to sources/PocketBook/Pages/Composants/ContentView/ContentViewFilter.xaml.cs
diff --git a/sources/PocketBook/Filtrage.xaml b/sources/PocketBook/Pages/Composants/ContentView/Filtrage.xaml
similarity index 94%
rename from sources/PocketBook/Filtrage.xaml
rename to sources/PocketBook/Pages/Composants/ContentView/Filtrage.xaml
index 0dc4ce3..2995aaa 100644
--- a/sources/PocketBook/Filtrage.xaml
+++ b/sources/PocketBook/Pages/Composants/ContentView/Filtrage.xaml
@@ -11,7 +11,7 @@
-
+
diff --git a/sources/PocketBook/Filtrage.xaml.cs b/sources/PocketBook/Pages/Composants/ContentView/Filtrage.xaml.cs
similarity index 100%
rename from sources/PocketBook/Filtrage.xaml.cs
rename to sources/PocketBook/Pages/Composants/ContentView/Filtrage.xaml.cs
diff --git a/sources/PocketBook/Pages/Composants/ContentView/Stars.xaml b/sources/PocketBook/Pages/Composants/ContentView/Stars.xaml
new file mode 100644
index 0000000..1067a72
--- /dev/null
+++ b/sources/PocketBook/Pages/Composants/ContentView/Stars.xaml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/Pages/Composants/ContentView/Stars.xaml.cs b/sources/PocketBook/Pages/Composants/ContentView/Stars.xaml.cs
new file mode 100644
index 0000000..bc10c43
--- /dev/null
+++ b/sources/PocketBook/Pages/Composants/ContentView/Stars.xaml.cs
@@ -0,0 +1,53 @@
+using CommunityToolkit.Maui.Behaviors;
+
+namespace PocketBook;
+
+public partial class Stars : ContentView
+{
+ public static readonly BindableProperty NbStarsProperty =
+ BindableProperty.Create(nameof(NbStars), typeof(int), typeof(Stars), defaultValue: 0, propertyChanged: OnNbStarsChanged);
+ public int NbStars
+ {
+ get { return (int)GetValue(NbStarsProperty); }
+ set { SetValue(NbStarsProperty, value); }
+ }
+
+ public Stars()
+ {
+ InitializeComponent();
+ }
+
+ private static void OnNbStarsChanged(BindableObject bindable, object oldValue, object newValue)
+ {
+ if (bindable is Stars stars)
+ {
+ stars.UpdateStars();
+ }
+ }
+
+ private void UpdateStars()
+ {
+ int z = 0;
+
+ var behaviorYellow = new IconTintColorBehavior
+ {
+ TintColor = Color.FromArgb("#FFFF00"),
+ };
+
+ var behaviorGrey = new IconTintColorBehavior
+ {
+ TintColor = Color.FromArgb("#E6E6E6"),
+ };
+
+
+ foreach (Image i in StarsList.Children.Where(c => c is Image))
+ {
+ if (z < NbStars)
+ {
+ i.Behaviors.Add(behaviorYellow);
+ z++;
+ }
+ else i.Behaviors.Add(behaviorGrey);
+ }
+ }
+}
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/Composants/ContentView/TitledAuthor.xaml b/sources/PocketBook/Pages/Composants/ContentView/TitledAuthor.xaml
new file mode 100644
index 0000000..c276ea3
--- /dev/null
+++ b/sources/PocketBook/Pages/Composants/ContentView/TitledAuthor.xaml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
diff --git a/sources/PocketBook/Pages/Composants/ContentView/TitledAuthor.xaml.cs b/sources/PocketBook/Pages/Composants/ContentView/TitledAuthor.xaml.cs
new file mode 100644
index 0000000..b628396
--- /dev/null
+++ b/sources/PocketBook/Pages/Composants/ContentView/TitledAuthor.xaml.cs
@@ -0,0 +1,20 @@
+namespace PocketBook;
+
+public partial class TitledAuthor : ContentView
+{
+
+ public static readonly BindableProperty NameTextProperty =
+ BindableProperty.Create(nameof(NameText), typeof(string), typeof(Filtrage), string.Empty);
+
+ public string NameText
+ {
+ get { return (string)GetValue(NameTextProperty); }
+ set { SetValue(NameTextProperty, value); }
+ }
+
+ public TitledAuthor()
+ {
+ InitializeComponent();
+ nameText.SetBinding(Label.TextProperty, new Binding(nameof(NameText), source: this));
+ }
+}
\ No newline at end of file
diff --git a/sources/PocketBook/AddBook.xaml b/sources/PocketBook/Pages/Composants/Popup/AddBook.xaml
similarity index 62%
rename from sources/PocketBook/AddBook.xaml
rename to sources/PocketBook/Pages/Composants/Popup/AddBook.xaml
index 41c967a..0df933e 100644
--- a/sources/PocketBook/AddBook.xaml
+++ b/sources/PocketBook/Pages/Composants/Popup/AddBook.xaml
@@ -1,11 +1,8 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/sources/PocketBook/AddBook.xaml.cs b/sources/PocketBook/Pages/Composants/Popup/AddBook.xaml.cs
similarity index 93%
rename from sources/PocketBook/AddBook.xaml.cs
rename to sources/PocketBook/Pages/Composants/Popup/AddBook.xaml.cs
index 7bfdd8d..a55a128 100644
--- a/sources/PocketBook/AddBook.xaml.cs
+++ b/sources/PocketBook/Pages/Composants/Popup/AddBook.xaml.cs
@@ -1,11 +1,11 @@
-using CommunityToolkit.Maui.Views;
-
-namespace PocketBook;
-
-public partial class AddBook : Popup
-{
- public AddBook()
- {
- InitializeComponent();
- }
+using CommunityToolkit.Maui.Views;
+
+namespace PocketBook;
+
+public partial class AddBook : Popup
+{
+ public AddBook()
+ {
+ InitializeComponent();
+ }
}
\ No newline at end of file
diff --git a/sources/PocketBook/DatePublic.xaml b/sources/PocketBook/Pages/DatePublic.xaml
similarity index 61%
rename from sources/PocketBook/DatePublic.xaml
rename to sources/PocketBook/Pages/DatePublic.xaml
index c95d533..d4e3d8d 100644
--- a/sources/PocketBook/DatePublic.xaml
+++ b/sources/PocketBook/Pages/DatePublic.xaml
@@ -6,7 +6,7 @@
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
-
+
@@ -17,8 +17,8 @@
-
-
+
+
@@ -29,37 +29,31 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
diff --git a/sources/PocketBook/DatePublic.xaml.cs b/sources/PocketBook/Pages/DatePublic.xaml.cs
similarity index 100%
rename from sources/PocketBook/DatePublic.xaml.cs
rename to sources/PocketBook/Pages/DatePublic.xaml.cs
diff --git a/sources/PocketBook/Pages/LaterPage.xaml b/sources/PocketBook/Pages/LaterPage.xaml
new file mode 100644
index 0000000..a6c0088
--- /dev/null
+++ b/sources/PocketBook/Pages/LaterPage.xaml
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/LaterPage.xaml.cs b/sources/PocketBook/Pages/LaterPage.xaml.cs
new file mode 100644
index 0000000..27f46f4
--- /dev/null
+++ b/sources/PocketBook/Pages/LaterPage.xaml.cs
@@ -0,0 +1,21 @@
+using CommunityToolkit.Maui.Views;
+
+namespace PocketBook;
+
+public partial class LaterPage : ContentPage
+{
+ public LaterPage()
+ {
+ InitializeComponent();
+ }
+
+
+ private async void RetourMainMenu(object sender, EventArgs e)
+ {
+ await Navigation.PopToRootAsync();
+ }
+ private void OnImageButtonClicked(object sender, EventArgs e)
+ {
+ this.ShowPopup(new AddBook());
+ }
+}
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/LikePage.xaml b/sources/PocketBook/Pages/LikePage.xaml
new file mode 100644
index 0000000..60b164a
--- /dev/null
+++ b/sources/PocketBook/Pages/LikePage.xaml
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/LikePage.xaml.cs b/sources/PocketBook/Pages/LikePage.xaml.cs
new file mode 100644
index 0000000..21359ce
--- /dev/null
+++ b/sources/PocketBook/Pages/LikePage.xaml.cs
@@ -0,0 +1,21 @@
+using CommunityToolkit.Maui.Views;
+
+namespace PocketBook;
+
+public partial class LikePage : ContentPage
+{
+ public LikePage()
+ {
+ InitializeComponent();
+ }
+
+
+ private async void RetourMainMenu(object sender, EventArgs e)
+ {
+ await Navigation.PopToRootAsync();
+ }
+ private void OnImageButtonClicked(object sender, EventArgs e)
+ {
+ this.ShowPopup(new AddBook());
+ }
+}
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/MainPage.xaml b/sources/PocketBook/Pages/MainPage.xaml
new file mode 100644
index 0000000..109f855
--- /dev/null
+++ b/sources/PocketBook/Pages/MainPage.xaml
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/Pages/MainPage.xaml.cs b/sources/PocketBook/Pages/MainPage.xaml.cs
new file mode 100644
index 0000000..8b1b01e
--- /dev/null
+++ b/sources/PocketBook/Pages/MainPage.xaml.cs
@@ -0,0 +1,47 @@
+namespace PocketBook;
+
+public partial class MainPage : ContentPage
+{
+ public MainPage()
+ {
+ InitializeComponent();
+ }
+
+ private async void OnContentViewFilterTappedTous(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new TousPage());
+ }
+ private async void OnContentViewFilterTappedAuteur(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new Auteur());
+ }
+
+ private async void OnContentViewFilterTappedDate(object sender,EventArgs e)
+ {
+ await Navigation.PushAsync(new DatePublic());
+ }
+
+ private async void OnContentViewFilterTappedShare(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new SharePage());
+ }
+
+ private async void OnContentViewFilterTappedLike(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new LikePage());
+ }
+
+ private async void OnContentViewFilterTappedMark(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new MarkPage());
+ }
+ private async void OnContentViewFilterTappedLater(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new LaterPage());
+ }
+ private async void OnContentViewFilterTappedStatus(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new StatutPage());
+ }
+}
+
diff --git a/sources/PocketBook/Pages/MarkPage.xaml b/sources/PocketBook/Pages/MarkPage.xaml
new file mode 100644
index 0000000..8828a5a
--- /dev/null
+++ b/sources/PocketBook/Pages/MarkPage.xaml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/MarkPage.xaml.cs b/sources/PocketBook/Pages/MarkPage.xaml.cs
new file mode 100644
index 0000000..4434aff
--- /dev/null
+++ b/sources/PocketBook/Pages/MarkPage.xaml.cs
@@ -0,0 +1,21 @@
+using CommunityToolkit.Maui.Views;
+
+namespace PocketBook;
+
+public partial class MarkPage : ContentPage
+{
+ public MarkPage()
+ {
+ InitializeComponent();
+ }
+
+
+ private async void RetourMainMenu(object sender, EventArgs e)
+ {
+ await Navigation.PopToRootAsync();
+ }
+ private void OnImageButtonClicked(object sender, EventArgs e)
+ {
+ this.ShowPopup(new AddBook());
+ }
+}
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/SharePage.xaml b/sources/PocketBook/Pages/SharePage.xaml
new file mode 100644
index 0000000..1dd5966
--- /dev/null
+++ b/sources/PocketBook/Pages/SharePage.xaml
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/SharePage.xaml.cs b/sources/PocketBook/Pages/SharePage.xaml.cs
new file mode 100644
index 0000000..221f78e
--- /dev/null
+++ b/sources/PocketBook/Pages/SharePage.xaml.cs
@@ -0,0 +1,20 @@
+using CommunityToolkit.Maui.Views;
+
+namespace PocketBook;
+
+public partial class SharePage : ContentPage
+{
+ public SharePage()
+ {
+ InitializeComponent();
+ }
+
+ private async void RetourMainMenu(object sender, EventArgs e)
+ {
+ await Navigation.PopToRootAsync();
+ }
+ private void OnImageButtonClicked(object sender, EventArgs e)
+ {
+ this.ShowPopup(new AddBook());
+ }
+}
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/StatutPage.xaml b/sources/PocketBook/Pages/StatutPage.xaml
new file mode 100644
index 0000000..b1ed147
--- /dev/null
+++ b/sources/PocketBook/Pages/StatutPage.xaml
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/StatutPage.xaml.cs b/sources/PocketBook/Pages/StatutPage.xaml.cs
new file mode 100644
index 0000000..fa343c5
--- /dev/null
+++ b/sources/PocketBook/Pages/StatutPage.xaml.cs
@@ -0,0 +1,22 @@
+using CommunityToolkit.Maui.Views;
+
+namespace PocketBook;
+
+public partial class StatutPage : ContentPage
+{
+ public StatutPage()
+ {
+ InitializeComponent();
+ }
+
+
+ private async void RetourMainMenu(object sender, EventArgs e)
+ {
+ await Navigation.PopToRootAsync();
+ }
+
+ private void OnImageButtonClicked(object sender, EventArgs e)
+ {
+ this.ShowPopup(new AddBook());
+ }
+}
\ No newline at end of file
diff --git a/sources/PocketBook/Pages/TousPage.xaml b/sources/PocketBook/Pages/TousPage.xaml
new file mode 100644
index 0000000..11f4d48
--- /dev/null
+++ b/sources/PocketBook/Pages/TousPage.xaml
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/TousPage.xaml.cs b/sources/PocketBook/Pages/TousPage.xaml.cs
similarity index 96%
rename from sources/PocketBook/TousPage.xaml.cs
rename to sources/PocketBook/Pages/TousPage.xaml.cs
index 96ce55c..a5dcaad 100644
--- a/sources/PocketBook/TousPage.xaml.cs
+++ b/sources/PocketBook/Pages/TousPage.xaml.cs
@@ -1,28 +1,28 @@
-using CommunityToolkit.Maui.Core;
-using CommunityToolkit.Maui.Views;
-
-namespace PocketBook;
-
-public partial class TousPage : ContentPage
+using CommunityToolkit.Maui.Core;
+using CommunityToolkit.Maui.Views;
+
+namespace PocketBook;
+
+public partial class TousPage : ContentPage
{
public TousPage()
- {
+ {
InitializeComponent();
- }
-
- public async void OnBookSelected(object sender, EventArgs e)
- {
- await Navigation.PushAsync(new BookDetail());
- }
-
- private void OnImageButtonClicked(object sender, EventArgs e)
+ }
+
+ public async void OnBookSelected(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new BookDetail());
+ }
+
+ private void OnImageButtonClicked(object sender, EventArgs e)
{
this.ShowPopup(new AddBook());
- }
-
+ }
+
private async void RetourMainMenu(object sender, EventArgs e)
{
- await Navigation.PopToRootAsync();
+ await Navigation.PopToRootAsync();
}
}
\ No newline at end of file
diff --git a/sources/PocketBook/PocketBook.csproj b/sources/PocketBook/PocketBook.csproj
index 08b7730..3c04f80 100644
--- a/sources/PocketBook/PocketBook.csproj
+++ b/sources/PocketBook/PocketBook.csproj
@@ -56,28 +56,49 @@
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
MSBuild:Compile
MSBuild:Compile
-
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
MSBuild:Compile
@@ -99,8 +120,8 @@
+
-
@@ -132,6 +153,10 @@
+
+
+
+
@@ -149,7 +174,6 @@
-
@@ -181,6 +205,11 @@
+
+
+ StatutPage.xaml
+
+
diff --git a/sources/PocketBook/Resources/Images/cal.png b/sources/PocketBook/Resources/Images/cal.png
new file mode 100644
index 0000000..258257c
Binary files /dev/null and b/sources/PocketBook/Resources/Images/cal.png differ
diff --git a/sources/PocketBook/Resources/Images/calendar.svg b/sources/PocketBook/Resources/Images/calendar.svg
deleted file mode 100755
index fcc591e..0000000
--- a/sources/PocketBook/Resources/Images/calendar.svg
+++ /dev/null
@@ -1,20 +0,0 @@
-
diff --git a/sources/PocketBook/Resources/Styles/Colors.xaml b/sources/PocketBook/Resources/Styles/Colors.xaml
index 9d4ca30..688f86f 100644
--- a/sources/PocketBook/Resources/Styles/Colors.xaml
+++ b/sources/PocketBook/Resources/Styles/Colors.xaml
@@ -41,4 +41,11 @@
#72ACF1
#A7CBF6
+ #E6E6E6
+ #F2F1F6
+ #F8F8F8
+ #9D9D9D
+ #AFAFAF
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Resources/Styles/Styles.xaml b/sources/PocketBook/Resources/Styles/Styles.xaml
index 63916ac..71ffaa5 100644
--- a/sources/PocketBook/Resources/Styles/Styles.xaml
+++ b/sources/PocketBook/Resources/Styles/Styles.xaml
@@ -401,5 +401,119 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/TousPage.xaml b/sources/PocketBook/TousPage.xaml
deleted file mode 100644
index bc5d768..0000000
--- a/sources/PocketBook/TousPage.xaml
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-