From bd7264f111d1f801d1bd9fe944b349447e149621 Mon Sep 17 00:00:00 2001 From: Matt Marcha Date: Fri, 19 Oct 2018 11:09:06 +0200 Subject: [PATCH] =?UTF-8?q?G=C3=A9n=C3=A9ration=20des=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/buy/buy.html | 18 +++++++++++++ src/pages/buy/buy.module.ts | 13 ++++++++++ src/pages/buy/buy.scss | 3 +++ src/pages/buy/buy.ts | 25 +++++++++++++++++++ src/pages/contacts/contacts.html | 18 +++++++++++++ src/pages/contacts/contacts.module.ts | 13 ++++++++++ src/pages/contacts/contacts.scss | 3 +++ src/pages/contacts/contacts.ts | 25 +++++++++++++++++++ src/pages/home/home.html | 18 +++++++------ src/pages/home/home.module.ts | 13 ++++++++++ src/pages/home/home.ts | 17 ++++++++++--- src/pages/login/login.html | 18 +++++++++++++ src/pages/login/login.module.ts | 13 ++++++++++ src/pages/login/login.scss | 3 +++ src/pages/login/login.ts | 25 +++++++++++++++++++ src/pages/search/search.html | 18 +++++++++++++ src/pages/search/search.module.ts | 13 ++++++++++ src/pages/search/search.scss | 3 +++ src/pages/search/search.ts | 25 +++++++++++++++++++ src/pages/send/send.html | 18 +++++++++++++ src/pages/send/send.module.ts | 13 ++++++++++ src/pages/send/send.scss | 3 +++ src/pages/send/send.ts | 25 +++++++++++++++++++ src/pages/transactions/transactions.html | 18 +++++++++++++ src/pages/transactions/transactions.module.ts | 13 ++++++++++ src/pages/transactions/transactions.scss | 3 +++ src/pages/transactions/transactions.ts | 25 +++++++++++++++++++ 27 files changed, 392 insertions(+), 10 deletions(-) create mode 100644 src/pages/buy/buy.html create mode 100644 src/pages/buy/buy.module.ts create mode 100644 src/pages/buy/buy.scss create mode 100644 src/pages/buy/buy.ts create mode 100644 src/pages/contacts/contacts.html create mode 100644 src/pages/contacts/contacts.module.ts create mode 100644 src/pages/contacts/contacts.scss create mode 100644 src/pages/contacts/contacts.ts create mode 100644 src/pages/home/home.module.ts create mode 100644 src/pages/login/login.html create mode 100644 src/pages/login/login.module.ts create mode 100644 src/pages/login/login.scss create mode 100644 src/pages/login/login.ts create mode 100644 src/pages/search/search.html create mode 100644 src/pages/search/search.module.ts create mode 100644 src/pages/search/search.scss create mode 100644 src/pages/search/search.ts create mode 100644 src/pages/send/send.html create mode 100644 src/pages/send/send.module.ts create mode 100644 src/pages/send/send.scss create mode 100644 src/pages/send/send.ts create mode 100644 src/pages/transactions/transactions.html create mode 100644 src/pages/transactions/transactions.module.ts create mode 100644 src/pages/transactions/transactions.scss create mode 100644 src/pages/transactions/transactions.ts diff --git a/src/pages/buy/buy.html b/src/pages/buy/buy.html new file mode 100644 index 0000000..5cd9a3e --- /dev/null +++ b/src/pages/buy/buy.html @@ -0,0 +1,18 @@ + + + + + buy + + + + + + + + diff --git a/src/pages/buy/buy.module.ts b/src/pages/buy/buy.module.ts new file mode 100644 index 0000000..d4a97e7 --- /dev/null +++ b/src/pages/buy/buy.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { BuyPage } from './buy'; + +@NgModule({ + declarations: [ + BuyPage, + ], + imports: [ + IonicPageModule.forChild(BuyPage), + ], +}) +export class BuyPageModule {} diff --git a/src/pages/buy/buy.scss b/src/pages/buy/buy.scss new file mode 100644 index 0000000..5e151e2 --- /dev/null +++ b/src/pages/buy/buy.scss @@ -0,0 +1,3 @@ +page-buy { + +} diff --git a/src/pages/buy/buy.ts b/src/pages/buy/buy.ts new file mode 100644 index 0000000..aa84818 --- /dev/null +++ b/src/pages/buy/buy.ts @@ -0,0 +1,25 @@ +import { Component } from '@angular/core'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; + +/** + * Generated class for the BuyPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ + +@IonicPage() +@Component({ + selector: 'page-buy', + templateUrl: 'buy.html', +}) +export class BuyPage { + + constructor(public navCtrl: NavController, public navParams: NavParams) { + } + + ionViewDidLoad() { + console.log('ionViewDidLoad BuyPage'); + } + +} diff --git a/src/pages/contacts/contacts.html b/src/pages/contacts/contacts.html new file mode 100644 index 0000000..d370b04 --- /dev/null +++ b/src/pages/contacts/contacts.html @@ -0,0 +1,18 @@ + + + + + contacts + + + + + + + + diff --git a/src/pages/contacts/contacts.module.ts b/src/pages/contacts/contacts.module.ts new file mode 100644 index 0000000..f2a2e15 --- /dev/null +++ b/src/pages/contacts/contacts.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { ContactsPage } from './contacts'; + +@NgModule({ + declarations: [ + ContactsPage, + ], + imports: [ + IonicPageModule.forChild(ContactsPage), + ], +}) +export class ContactsPageModule {} diff --git a/src/pages/contacts/contacts.scss b/src/pages/contacts/contacts.scss new file mode 100644 index 0000000..f717e9f --- /dev/null +++ b/src/pages/contacts/contacts.scss @@ -0,0 +1,3 @@ +page-contacts { + +} diff --git a/src/pages/contacts/contacts.ts b/src/pages/contacts/contacts.ts new file mode 100644 index 0000000..c48b919 --- /dev/null +++ b/src/pages/contacts/contacts.ts @@ -0,0 +1,25 @@ +import { Component } from '@angular/core'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; + +/** + * Generated class for the ContactsPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ + +@IonicPage() +@Component({ + selector: 'page-contacts', + templateUrl: 'contacts.html', +}) +export class ContactsPage { + + constructor(public navCtrl: NavController, public navParams: NavParams) { + } + + ionViewDidLoad() { + console.log('ionViewDidLoad ContactsPage'); + } + +} diff --git a/src/pages/home/home.html b/src/pages/home/home.html index bbe6e77..65a21c4 100644 --- a/src/pages/home/home.html +++ b/src/pages/home/home.html @@ -1,14 +1,18 @@ + + - - Ionic Blank - + home + + - The world is your oyster. -

- If you get lost, the docs will be your guide. -

+
diff --git a/src/pages/home/home.module.ts b/src/pages/home/home.module.ts new file mode 100644 index 0000000..f04f121 --- /dev/null +++ b/src/pages/home/home.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { HomePage } from './home'; + +@NgModule({ + declarations: [ + HomePage, + ], + imports: [ + IonicPageModule.forChild(HomePage), + ], +}) +export class HomePageModule {} diff --git a/src/pages/home/home.ts b/src/pages/home/home.ts index 1d510dd..c76d4a9 100644 --- a/src/pages/home/home.ts +++ b/src/pages/home/home.ts @@ -1,14 +1,25 @@ import { Component } from '@angular/core'; -import { NavController } from 'ionic-angular'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; +/** + * Generated class for the HomePage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ + +@IonicPage() @Component({ selector: 'page-home', - templateUrl: 'home.html' + templateUrl: 'home.html', }) export class HomePage { - constructor(public navCtrl: NavController) { + constructor(public navCtrl: NavController, public navParams: NavParams) { + } + ionViewDidLoad() { + console.log('ionViewDidLoad HomePage'); } } diff --git a/src/pages/login/login.html b/src/pages/login/login.html new file mode 100644 index 0000000..d75c009 --- /dev/null +++ b/src/pages/login/login.html @@ -0,0 +1,18 @@ + + + + + login + + + + + + + + diff --git a/src/pages/login/login.module.ts b/src/pages/login/login.module.ts new file mode 100644 index 0000000..ca073ba --- /dev/null +++ b/src/pages/login/login.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { LoginPage } from './login'; + +@NgModule({ + declarations: [ + LoginPage, + ], + imports: [ + IonicPageModule.forChild(LoginPage), + ], +}) +export class LoginPageModule {} diff --git a/src/pages/login/login.scss b/src/pages/login/login.scss new file mode 100644 index 0000000..2b94c14 --- /dev/null +++ b/src/pages/login/login.scss @@ -0,0 +1,3 @@ +page-login { + +} diff --git a/src/pages/login/login.ts b/src/pages/login/login.ts new file mode 100644 index 0000000..671564c --- /dev/null +++ b/src/pages/login/login.ts @@ -0,0 +1,25 @@ +import { Component } from '@angular/core'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; + +/** + * Generated class for the LoginPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ + +@IonicPage() +@Component({ + selector: 'page-login', + templateUrl: 'login.html', +}) +export class LoginPage { + + constructor(public navCtrl: NavController, public navParams: NavParams) { + } + + ionViewDidLoad() { + console.log('ionViewDidLoad LoginPage'); + } + +} diff --git a/src/pages/search/search.html b/src/pages/search/search.html new file mode 100644 index 0000000..b19dd37 --- /dev/null +++ b/src/pages/search/search.html @@ -0,0 +1,18 @@ + + + + + search + + + + + + + + diff --git a/src/pages/search/search.module.ts b/src/pages/search/search.module.ts new file mode 100644 index 0000000..a9b134e --- /dev/null +++ b/src/pages/search/search.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { SearchPage } from './search'; + +@NgModule({ + declarations: [ + SearchPage, + ], + imports: [ + IonicPageModule.forChild(SearchPage), + ], +}) +export class SearchPageModule {} diff --git a/src/pages/search/search.scss b/src/pages/search/search.scss new file mode 100644 index 0000000..dfc5957 --- /dev/null +++ b/src/pages/search/search.scss @@ -0,0 +1,3 @@ +page-search { + +} diff --git a/src/pages/search/search.ts b/src/pages/search/search.ts new file mode 100644 index 0000000..3b707d4 --- /dev/null +++ b/src/pages/search/search.ts @@ -0,0 +1,25 @@ +import { Component } from '@angular/core'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; + +/** + * Generated class for the SearchPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ + +@IonicPage() +@Component({ + selector: 'page-search', + templateUrl: 'search.html', +}) +export class SearchPage { + + constructor(public navCtrl: NavController, public navParams: NavParams) { + } + + ionViewDidLoad() { + console.log('ionViewDidLoad SearchPage'); + } + +} diff --git a/src/pages/send/send.html b/src/pages/send/send.html new file mode 100644 index 0000000..a63b205 --- /dev/null +++ b/src/pages/send/send.html @@ -0,0 +1,18 @@ + + + + + send + + + + + + + + diff --git a/src/pages/send/send.module.ts b/src/pages/send/send.module.ts new file mode 100644 index 0000000..c2b3c7b --- /dev/null +++ b/src/pages/send/send.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { SendPage } from './send'; + +@NgModule({ + declarations: [ + SendPage, + ], + imports: [ + IonicPageModule.forChild(SendPage), + ], +}) +export class SendPageModule {} diff --git a/src/pages/send/send.scss b/src/pages/send/send.scss new file mode 100644 index 0000000..947b207 --- /dev/null +++ b/src/pages/send/send.scss @@ -0,0 +1,3 @@ +page-send { + +} diff --git a/src/pages/send/send.ts b/src/pages/send/send.ts new file mode 100644 index 0000000..139ad21 --- /dev/null +++ b/src/pages/send/send.ts @@ -0,0 +1,25 @@ +import { Component } from '@angular/core'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; + +/** + * Generated class for the SendPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ + +@IonicPage() +@Component({ + selector: 'page-send', + templateUrl: 'send.html', +}) +export class SendPage { + + constructor(public navCtrl: NavController, public navParams: NavParams) { + } + + ionViewDidLoad() { + console.log('ionViewDidLoad SendPage'); + } + +} diff --git a/src/pages/transactions/transactions.html b/src/pages/transactions/transactions.html new file mode 100644 index 0000000..e41d248 --- /dev/null +++ b/src/pages/transactions/transactions.html @@ -0,0 +1,18 @@ + + + + + transactions + + + + + + + + diff --git a/src/pages/transactions/transactions.module.ts b/src/pages/transactions/transactions.module.ts new file mode 100644 index 0000000..4a9755a --- /dev/null +++ b/src/pages/transactions/transactions.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { TransactionsPage } from './transactions'; + +@NgModule({ + declarations: [ + TransactionsPage, + ], + imports: [ + IonicPageModule.forChild(TransactionsPage), + ], +}) +export class TransactionsPageModule {} diff --git a/src/pages/transactions/transactions.scss b/src/pages/transactions/transactions.scss new file mode 100644 index 0000000..812966a --- /dev/null +++ b/src/pages/transactions/transactions.scss @@ -0,0 +1,3 @@ +page-transactions { + +} diff --git a/src/pages/transactions/transactions.ts b/src/pages/transactions/transactions.ts new file mode 100644 index 0000000..a15b2e2 --- /dev/null +++ b/src/pages/transactions/transactions.ts @@ -0,0 +1,25 @@ +import { Component } from '@angular/core'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; + +/** + * Generated class for the TransactionsPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ + +@IonicPage() +@Component({ + selector: 'page-transactions', + templateUrl: 'transactions.html', +}) +export class TransactionsPage { + + constructor(public navCtrl: NavController, public navParams: NavParams) { + } + + ionViewDidLoad() { + console.log('ionViewDidLoad TransactionsPage'); + } + +}