From 81d2ae4fdac5c74504eb7d2555a85d81e4a79da6 Mon Sep 17 00:00:00 2001
From: PascalMarchesseault
<97350299+PascalMarchesseault@users.noreply.github.com>
Date: Fri, 26 Jul 2024 12:21:21 -0400
Subject: [PATCH] I added the modal files and connected them to their buttons.
I need to complete every modal file.
---
src/views/Account/AccountSecurity.vue | 55 -----------
src/views/Profile/AccountSecurity.vue | 93 +++++++++++++++++++
.../Dialogs/AccountSecurity/ModalPassword.vue | 11 +++
.../ModalRecoveryByEmailInfo.vue | 11 +++
.../ModalRecoveryByPhoneInfo.vue | 11 +++
.../PageInformations/ModalFacebook.vue | 11 +++
.../PageInformations/ModalInstagram.vue | 11 +++
.../PageInformations/ModalLinkedIn.vue | 11 +++
.../Dialogs/PageInformations/ModalReddit.vue | 11 +++
.../Dialogs/PageInformations/ModalTikTok.vue | 11 +++
.../Dialogs/PageInformations/ModalWebsite.vue | 11 +++
.../Dialogs/PageInformations/ModalX.vue | 11 +++
.../Dialogs/PageInformations/ModalYoutube.vue | 11 +++
.../Dialogs/PersonnalInfo/AdressesHome.vue | 11 +++
.../Dialogs/PersonnalInfo/AdressesWork.vue | 11 +++
.../Dialogs/PersonnalInfo/Birthday.vue | 11 +++
.../Profile/Dialogs/PersonnalInfo/Email.vue | 11 +++
.../Profile/Dialogs/PersonnalInfo/Gender.vue | 11 +++
.../Profile/Dialogs/PersonnalInfo/Name.vue | 11 +++
.../Profile/Dialogs/PersonnalInfo/Phone.vue | 11 +++
.../{Account => Profile}/ManageAccount.vue | 0
.../{Account => Profile}/PageInformations.vue | 74 +++++++++++++--
.../{Account => Profile}/PersonnalInfo.vue | 82 +++++++++++++---
src/views/main/Profile.vue | 8 +-
24 files changed, 428 insertions(+), 82 deletions(-)
delete mode 100644 src/views/Account/AccountSecurity.vue
create mode 100644 src/views/Profile/AccountSecurity.vue
create mode 100644 src/views/Profile/Dialogs/AccountSecurity/ModalPassword.vue
create mode 100644 src/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByEmailInfo.vue
create mode 100644 src/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByPhoneInfo.vue
create mode 100644 src/views/Profile/Dialogs/PageInformations/ModalFacebook.vue
create mode 100644 src/views/Profile/Dialogs/PageInformations/ModalInstagram.vue
create mode 100644 src/views/Profile/Dialogs/PageInformations/ModalLinkedIn.vue
create mode 100644 src/views/Profile/Dialogs/PageInformations/ModalReddit.vue
create mode 100644 src/views/Profile/Dialogs/PageInformations/ModalTikTok.vue
create mode 100644 src/views/Profile/Dialogs/PageInformations/ModalWebsite.vue
create mode 100644 src/views/Profile/Dialogs/PageInformations/ModalX.vue
create mode 100644 src/views/Profile/Dialogs/PageInformations/ModalYoutube.vue
create mode 100644 src/views/Profile/Dialogs/PersonnalInfo/AdressesHome.vue
create mode 100644 src/views/Profile/Dialogs/PersonnalInfo/AdressesWork.vue
create mode 100644 src/views/Profile/Dialogs/PersonnalInfo/Birthday.vue
create mode 100644 src/views/Profile/Dialogs/PersonnalInfo/Email.vue
create mode 100644 src/views/Profile/Dialogs/PersonnalInfo/Gender.vue
create mode 100644 src/views/Profile/Dialogs/PersonnalInfo/Name.vue
create mode 100644 src/views/Profile/Dialogs/PersonnalInfo/Phone.vue
rename src/views/{Account => Profile}/ManageAccount.vue (100%)
rename src/views/{Account => Profile}/PageInformations.vue (63%)
rename src/views/{Account => Profile}/PersonnalInfo.vue (53%)
diff --git a/src/views/Account/AccountSecurity.vue b/src/views/Account/AccountSecurity.vue
deleted file mode 100644
index 4233e0b..0000000
--- a/src/views/Account/AccountSecurity.vue
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
mdi-security Sécurité
-
-
-
Comment vous connecter à Hutopy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/Profile/AccountSecurity.vue b/src/views/Profile/AccountSecurity.vue
new file mode 100644
index 0000000..01ea51b
--- /dev/null
+++ b/src/views/Profile/AccountSecurity.vue
@@ -0,0 +1,93 @@
+
+
+
mdi-security Sécurité
+
+
+
Comment vous connecter à Hutopy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Profile/Dialogs/AccountSecurity/ModalPassword.vue b/src/views/Profile/Dialogs/AccountSecurity/ModalPassword.vue
new file mode 100644
index 0000000..f74cc4f
--- /dev/null
+++ b/src/views/Profile/Dialogs/AccountSecurity/ModalPassword.vue
@@ -0,0 +1,11 @@
+
+
+
+Password
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByEmailInfo.vue b/src/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByEmailInfo.vue
new file mode 100644
index 0000000..76684fd
--- /dev/null
+++ b/src/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByEmailInfo.vue
@@ -0,0 +1,11 @@
+
+
+
+ RecoveryByEmail
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByPhoneInfo.vue b/src/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByPhoneInfo.vue
new file mode 100644
index 0000000..9d4023b
--- /dev/null
+++ b/src/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByPhoneInfo.vue
@@ -0,0 +1,11 @@
+
+
+
+ RecoveryByPhoneInfo
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PageInformations/ModalFacebook.vue b/src/views/Profile/Dialogs/PageInformations/ModalFacebook.vue
new file mode 100644
index 0000000..5e657ee
--- /dev/null
+++ b/src/views/Profile/Dialogs/PageInformations/ModalFacebook.vue
@@ -0,0 +1,11 @@
+
+
+
+Facebook
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PageInformations/ModalInstagram.vue b/src/views/Profile/Dialogs/PageInformations/ModalInstagram.vue
new file mode 100644
index 0000000..1981065
--- /dev/null
+++ b/src/views/Profile/Dialogs/PageInformations/ModalInstagram.vue
@@ -0,0 +1,11 @@
+
+
+
+ Instagram
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PageInformations/ModalLinkedIn.vue b/src/views/Profile/Dialogs/PageInformations/ModalLinkedIn.vue
new file mode 100644
index 0000000..9b2488a
--- /dev/null
+++ b/src/views/Profile/Dialogs/PageInformations/ModalLinkedIn.vue
@@ -0,0 +1,11 @@
+
+
+
+ LinkedIn
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PageInformations/ModalReddit.vue b/src/views/Profile/Dialogs/PageInformations/ModalReddit.vue
new file mode 100644
index 0000000..93dce5a
--- /dev/null
+++ b/src/views/Profile/Dialogs/PageInformations/ModalReddit.vue
@@ -0,0 +1,11 @@
+
+
+
+Reddit
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PageInformations/ModalTikTok.vue b/src/views/Profile/Dialogs/PageInformations/ModalTikTok.vue
new file mode 100644
index 0000000..f7e857a
--- /dev/null
+++ b/src/views/Profile/Dialogs/PageInformations/ModalTikTok.vue
@@ -0,0 +1,11 @@
+
+
+
+TikTok
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PageInformations/ModalWebsite.vue b/src/views/Profile/Dialogs/PageInformations/ModalWebsite.vue
new file mode 100644
index 0000000..b8d6c8e
--- /dev/null
+++ b/src/views/Profile/Dialogs/PageInformations/ModalWebsite.vue
@@ -0,0 +1,11 @@
+
+
+
+Website
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PageInformations/ModalX.vue b/src/views/Profile/Dialogs/PageInformations/ModalX.vue
new file mode 100644
index 0000000..dce8fdb
--- /dev/null
+++ b/src/views/Profile/Dialogs/PageInformations/ModalX.vue
@@ -0,0 +1,11 @@
+
+
+
+ X
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PageInformations/ModalYoutube.vue b/src/views/Profile/Dialogs/PageInformations/ModalYoutube.vue
new file mode 100644
index 0000000..af36a8a
--- /dev/null
+++ b/src/views/Profile/Dialogs/PageInformations/ModalYoutube.vue
@@ -0,0 +1,11 @@
+
+
+
+Youtube
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PersonnalInfo/AdressesHome.vue b/src/views/Profile/Dialogs/PersonnalInfo/AdressesHome.vue
new file mode 100644
index 0000000..0deb2e7
--- /dev/null
+++ b/src/views/Profile/Dialogs/PersonnalInfo/AdressesHome.vue
@@ -0,0 +1,11 @@
+
+
+
+Adresses home
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PersonnalInfo/AdressesWork.vue b/src/views/Profile/Dialogs/PersonnalInfo/AdressesWork.vue
new file mode 100644
index 0000000..5493a20
--- /dev/null
+++ b/src/views/Profile/Dialogs/PersonnalInfo/AdressesWork.vue
@@ -0,0 +1,11 @@
+
+
+
+AdressesWork
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Birthday.vue b/src/views/Profile/Dialogs/PersonnalInfo/Birthday.vue
new file mode 100644
index 0000000..f321f52
--- /dev/null
+++ b/src/views/Profile/Dialogs/PersonnalInfo/Birthday.vue
@@ -0,0 +1,11 @@
+
+
+
+Birthday
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Email.vue b/src/views/Profile/Dialogs/PersonnalInfo/Email.vue
new file mode 100644
index 0000000..3199603
--- /dev/null
+++ b/src/views/Profile/Dialogs/PersonnalInfo/Email.vue
@@ -0,0 +1,11 @@
+
+
+
+Email
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Gender.vue b/src/views/Profile/Dialogs/PersonnalInfo/Gender.vue
new file mode 100644
index 0000000..b5de4d6
--- /dev/null
+++ b/src/views/Profile/Dialogs/PersonnalInfo/Gender.vue
@@ -0,0 +1,11 @@
+
+
+
+gender
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Name.vue b/src/views/Profile/Dialogs/PersonnalInfo/Name.vue
new file mode 100644
index 0000000..6478b49
--- /dev/null
+++ b/src/views/Profile/Dialogs/PersonnalInfo/Name.vue
@@ -0,0 +1,11 @@
+
+
+
+ Name
+
+
+
\ No newline at end of file
diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Phone.vue b/src/views/Profile/Dialogs/PersonnalInfo/Phone.vue
new file mode 100644
index 0000000..3fbf851
--- /dev/null
+++ b/src/views/Profile/Dialogs/PersonnalInfo/Phone.vue
@@ -0,0 +1,11 @@
+
+
+
+Phone
+
+
+
\ No newline at end of file
diff --git a/src/views/Account/ManageAccount.vue b/src/views/Profile/ManageAccount.vue
similarity index 100%
rename from src/views/Account/ManageAccount.vue
rename to src/views/Profile/ManageAccount.vue
diff --git a/src/views/Account/PageInformations.vue b/src/views/Profile/PageInformations.vue
similarity index 63%
rename from src/views/Account/PageInformations.vue
rename to src/views/Profile/PageInformations.vue
index 3b0c5d0..73cfd7d 100644
--- a/src/views/Account/PageInformations.vue
+++ b/src/views/Profile/PageInformations.vue
@@ -53,7 +53,9 @@
Réseaux Sociaux
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Account/PersonnalInfo.vue b/src/views/Profile/PersonnalInfo.vue
similarity index 53%
rename from src/views/Account/PersonnalInfo.vue
rename to src/views/Profile/PersonnalInfo.vue
index 6fb8dc4..6e5379b 100644
--- a/src/views/Account/PersonnalInfo.vue
+++ b/src/views/Profile/PersonnalInfo.vue
@@ -1,12 +1,16 @@
-
mdi-information Informations personnelles
+
+ mdi-information Informations personnelles
+
Information de base
-
+
Photo de profil
Une photo de profil aide à personnaliser votre compte
@@ -18,7 +22,9 @@
-
+
Nom
Pascal Marchesseault
@@ -26,7 +32,9 @@
-
+
Anniversaire
27 octobre 1988
@@ -34,7 +42,9 @@
-
+
Genre
Homme
@@ -51,7 +61,9 @@
Coordonnées
-
+
Courriel
marchesseault_pascal@hotmail.com
@@ -59,7 +71,9 @@
-
+
Téléphone
(581) 999-7540
@@ -76,7 +90,9 @@
Adresses
-
+
Domicile
2127 Rue De Casson, Trois-Rivières, Qc
@@ -84,7 +100,9 @@
-
+
Travail
2127 Rue De Casson, Trois-Rivières, Qc
@@ -94,12 +112,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
diff --git a/src/views/main/Profile.vue b/src/views/main/Profile.vue
index b45f623..e86e579 100644
--- a/src/views/main/Profile.vue
+++ b/src/views/main/Profile.vue
@@ -65,10 +65,10 @@ import { ref, onBeforeMount, onMounted } from "vue";
import { useUserStore } from "@/stores/user.js";
import { useClient } from "@/plugins/api.js";
import SizeIndicator from "@/views/tools/SizeIndicator.vue";
-import ManageAccount from "@/views/Account/ManageAccount.vue";
-import PageInformations from "@/views/Account/PageInformations.vue";
-import PersonnalInfo from "@/views/Account/PersonnalInfo.vue";
-import AccountSecurity from "@/views/Account/AccountSecurity.vue";
+import ManageAccount from "@/views/Profile/ManageAccount.vue";
+import PageInformations from "@/views/Profile/PageInformations.vue";
+import PersonnalInfo from "@/views/Profile/PersonnalInfo.vue";
+import AccountSecurity from "@/views/Profile/AccountSecurity.vue";
const userStore = useUserStore();
const client = useClient();