From 52a134be861dfb40df0e3d5211cc113011d65984 Mon Sep 17 00:00:00 2001 From: Nicolas MAYE Date: Thu, 17 Nov 2022 06:11:11 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20en=20place=20de=20la=20s=C3=A9paration?= =?UTF-8?q?=20des=20vue=20desktop=20et=20mobile=20+=20main=20page=20window?= =?UTF-8?q?s=20+=20r=C3=A9organisation=20des=20dossier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/IHM/App.xaml.cs | 5 +- Sources/IHM/Desktop/MainPage_Windows.xaml | 93 ++++++++++++++++ Sources/IHM/Desktop/MainPage_Windows.xaml.cs | 59 ++++++++++ Sources/IHM/Desktop/logo_sans_fond.png | Bin 0 -> 98884 bytes Sources/IHM/IHM.csproj | 12 ++- Sources/IHM/Mobile/ChangePassword.xaml | 40 +++++++ Sources/IHM/Mobile/ChangePassword.xaml.cs | 45 ++++++++ Sources/IHM/Mobile/Dashboard.xaml | 101 ++++++++++++++++++ Sources/IHM/Mobile/Dashboard.xaml.cs | 27 +++++ Sources/IHM/Mobile/ForgetPassword.xaml | 50 +++++++++ .../IHM/{ => Mobile}/ForgetPassword.xaml.cs | 21 +++- Sources/IHM/Mobile/Inscription.xaml | 86 +++++++++++++++ Sources/IHM/Mobile/Inscription.xaml.cs | 73 +++++++++++++ Sources/IHM/{ => Mobile}/MainPage.xaml | 27 ++--- Sources/IHM/{ => Mobile}/MainPage.xaml.cs | 12 ++- .../Operations.xaml} | 4 +- Sources/IHM/Mobile/Operations.xaml.cs | 9 ++ Sources/IHM/Mobile/Planification.xaml | 11 ++ Sources/IHM/Mobile/Planification.xaml.cs | 9 ++ Sources/IHM/Mobile/Settings.xaml | 16 +++ Sources/IHM/Mobile/Settings.xaml.cs | 19 ++++ 21 files changed, 693 insertions(+), 26 deletions(-) create mode 100644 Sources/IHM/Desktop/MainPage_Windows.xaml create mode 100644 Sources/IHM/Desktop/MainPage_Windows.xaml.cs create mode 100644 Sources/IHM/Desktop/logo_sans_fond.png create mode 100644 Sources/IHM/Mobile/ChangePassword.xaml create mode 100644 Sources/IHM/Mobile/ChangePassword.xaml.cs create mode 100644 Sources/IHM/Mobile/Dashboard.xaml create mode 100644 Sources/IHM/Mobile/Dashboard.xaml.cs create mode 100644 Sources/IHM/Mobile/ForgetPassword.xaml rename Sources/IHM/{ => Mobile}/ForgetPassword.xaml.cs (67%) create mode 100644 Sources/IHM/Mobile/Inscription.xaml create mode 100644 Sources/IHM/Mobile/Inscription.xaml.cs rename Sources/IHM/{ => Mobile}/MainPage.xaml (73%) rename Sources/IHM/{ => Mobile}/MainPage.xaml.cs (93%) rename Sources/IHM/{Dashboard.xaml => Mobile/Operations.xaml} (79%) create mode 100644 Sources/IHM/Mobile/Operations.xaml.cs create mode 100644 Sources/IHM/Mobile/Planification.xaml create mode 100644 Sources/IHM/Mobile/Planification.xaml.cs create mode 100644 Sources/IHM/Mobile/Settings.xaml create mode 100644 Sources/IHM/Mobile/Settings.xaml.cs diff --git a/Sources/IHM/App.xaml.cs b/Sources/IHM/App.xaml.cs index 9f6cb75..c5f7639 100644 --- a/Sources/IHM/App.xaml.cs +++ b/Sources/IHM/App.xaml.cs @@ -16,7 +16,10 @@ namespace IHM { MainPage = new UI_Windows.MainPage_Windows(); } - + else if(OperatingSystem.IsAndroid() || OperatingSystem.IsIOS()) + { + MainPage = new MainPage(); + } } } diff --git a/Sources/IHM/Desktop/MainPage_Windows.xaml b/Sources/IHM/Desktop/MainPage_Windows.xaml new file mode 100644 index 0000000..2357a9a --- /dev/null +++ b/Sources/IHM/Desktop/MainPage_Windows.xaml @@ -0,0 +1,93 @@ + + + +