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,