From cd8615d542192fb5be997619d6a8a1312dce413a Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 4 Aug 2024 19:32:13 -0400 Subject: [PATCH] invite components --- .../family-connect.component.html | 79 +++++++++++++------ .../family-connect.component.ts | 11 ++- 2 files changed, 63 insertions(+), 27 deletions(-) diff --git a/src/app/components/family-connect/family-connect.component.html b/src/app/components/family-connect/family-connect.component.html index f8a0341..00c123f 100644 --- a/src/app/components/family-connect/family-connect.component.html +++ b/src/app/components/family-connect/family-connect.component.html @@ -33,33 +33,60 @@
-
-
-
- - -
-
- -
-
- {{ item.firstname }} {{ item.lastname }} - - + + + + + + Select to Invite + + + + + + + + {{ item.firstname }} {{ item.lastname }} + +
+ + Last seen : {{ item.last_login }} + +
+ -
- + + +
+ +
+
+ + + + Invite : {{currentInvite.firstname}} {{currentInvite.lastname}} + + + + + + + + Let's : + Chat + + + Cancel + + Send Invite + + +
-
\ No newline at end of file +
diff --git a/src/app/components/family-connect/family-connect.component.ts b/src/app/components/family-connect/family-connect.component.ts index 1cc7136..8dd4590 100644 --- a/src/app/components/family-connect/family-connect.component.ts +++ b/src/app/components/family-connect/family-connect.component.ts @@ -18,7 +18,7 @@ connectStart : number = 0; private wrenchService: WrenchService ) { this.show_connect= true; - this.show_invite = true; + this.show_invite = false; } ngOnInit() { @@ -30,6 +30,15 @@ connectStart : number = 0; this.connectStart = 100; } + currentInvite: any; + startInvite(item){ + this.currentInvite = item; + this.connectStart = 200; + } + cancelInvite(){ + this.connectStart = 0; + } + reqData: { action:number, member_id: number,