diff --git a/src/pages/contacts/contacts.html b/src/pages/contacts/contacts.html index d370b04..b71bb12 100644 --- a/src/pages/contacts/contacts.html +++ b/src/pages/contacts/contacts.html @@ -14,5 +14,26 @@ + + + Name : tata +
+ Address : 75438973HJFBSDFZ989024 +
+
+ + + Name : test +
+ Address : 754389IHGOERG989324JIJ +
+
+ + + Name : toaster +
+ Address : 780U8GEOKNOKSQDU974328 +
+
diff --git a/src/pages/contacts/contacts.ts b/src/pages/contacts/contacts.ts index c48b919..7da9d05 100644 --- a/src/pages/contacts/contacts.ts +++ b/src/pages/contacts/contacts.ts @@ -22,4 +22,8 @@ export class ContactsPage { console.log('ionViewDidLoad ContactsPage'); } + selectContact(contact) { + console.log('toto - '+contact) + } + } diff --git a/src/pages/home/home.ts b/src/pages/home/home.ts index 31fd644..4ed1d2d 100644 --- a/src/pages/home/home.ts +++ b/src/pages/home/home.ts @@ -33,6 +33,10 @@ export class HomePage { this.navCtrl.push(BuyPage); break; } + case 'contact':{ + this.navCtrl.push(ContactsPage); + break; + } case 'send':{ this.navCtrl.push(SendPage); break; diff --git a/src/pages/search/search.html b/src/pages/search/search.html index b19dd37..e7afd22 100644 --- a/src/pages/search/search.html +++ b/src/pages/search/search.html @@ -14,5 +14,13 @@ + + + Recipient + + +
+ +
diff --git a/src/pages/search/search.ts b/src/pages/search/search.ts index 3b707d4..63b9828 100644 --- a/src/pages/search/search.ts +++ b/src/pages/search/search.ts @@ -22,4 +22,8 @@ export class SearchPage { console.log('ionViewDidLoad SearchPage'); } + searchUser($user){ + console.log('prout') + } + } diff --git a/src/pages/send/send.html b/src/pages/send/send.html index fbf9023..7f5f8c4 100644 --- a/src/pages/send/send.html +++ b/src/pages/send/send.html @@ -14,8 +14,21 @@ - - + - + + + + Recipient + + + + + Montant + + + + + + diff --git a/src/pages/transactions/transactions.html b/src/pages/transactions/transactions.html index 24118e1..fa2c467 100644 --- a/src/pages/transactions/transactions.html +++ b/src/pages/transactions/transactions.html @@ -20,8 +20,6 @@ From : {{transactionTest.from}}
- To : {{transactionTest.to}} -
Amount : {{transactionTest.amount}}
Date : {{transactionTest.date}} diff --git a/src/pages/transactions/transactions.ts b/src/pages/transactions/transactions.ts index 43f1645..f81b801 100644 --- a/src/pages/transactions/transactions.ts +++ b/src/pages/transactions/transactions.ts @@ -29,6 +29,7 @@ export class TransactionsPage { } init(){ + this.transactionTest.from="toto"; this.transactionTest.to="tata"; this.transactionTest.amount=200;