Quellcode durchsuchen

getting most info from api

Roy vor 6 Jahren
Ursprung
Commit
93247fb0e0
48 geänderte Dateien mit 19163 neuen und 15923 gelöschten Zeilen
  1. 1
    1
      ionic-fb/.sourcemaps/2.js.map
  2. 1
    1
      ionic-fb/.sourcemaps/3.js.map
  3. 1
    1
      ionic-fb/.sourcemaps/4.js.map
  4. 1
    1
      ionic-fb/.sourcemaps/5.js.map
  5. 1
    1
      ionic-fb/.sourcemaps/6.js.map
  6. 1
    0
      ionic-fb/.sourcemaps/7.js.map
  7. 1
    0
      ionic-fb/.sourcemaps/8.js.map
  8. 1
    1
      ionic-fb/.sourcemaps/main.js.map
  9. 5
    0
      ionic-fb/src/app/app.module.ts
  10. 1
    1
      ionic-fb/src/pages/my-teams/my-teams.html
  11. 29
    2
      ionic-fb/src/pages/standings/standings.html
  12. 5
    3
      ionic-fb/src/pages/standings/standings.scss
  13. 17
    2
      ionic-fb/src/pages/standings/standings.ts
  14. 14
    1
      ionic-fb/src/pages/team-details/team-details.html
  15. 14
    4
      ionic-fb/src/pages/team-details/team-details.ts
  16. 12
    5
      ionic-fb/src/pages/team-home/team-home.html
  17. 12
    1
      ionic-fb/src/pages/team-home/team-home.ts
  18. 25
    0
      ionic-fb/src/pages/team-schedule/team-schedule.html
  19. 13
    0
      ionic-fb/src/pages/team-schedule/team-schedule.module.ts
  20. 3
    0
      ionic-fb/src/pages/team-schedule/team-schedule.scss
  21. 38
    0
      ionic-fb/src/pages/team-schedule/team-schedule.ts
  22. 1
    1
      ionic-fb/src/pages/teams/teams.html
  23. 16
    8
      ionic-fb/src/pages/teams/teams.ts
  24. 3
    3
      ionic-fb/src/pages/tournaments/tournaments.html
  25. 41
    13
      ionic-fb/src/pages/tournaments/tournaments.ts
  26. 7
    2
      ionic-fb/src/providers/api/api.ts
  27. 19
    0
      ionic-fb/src/providers/league-service/league-service.ts
  28. 3
    3
      ionic-fb/www/build/0.js
  29. 3
    3
      ionic-fb/www/build/1.js
  30. 12
    12
      ionic-fb/www/build/2.js
  31. 1
    1
      ionic-fb/www/build/2.js.map
  32. 12
    12
      ionic-fb/www/build/3.js
  33. 1
    1
      ionic-fb/www/build/3.js.map
  34. 12
    12
      ionic-fb/www/build/4.js
  35. 1
    1
      ionic-fb/www/build/4.js.map
  36. 12
    12
      ionic-fb/www/build/5.js
  37. 1
    1
      ionic-fb/www/build/5.js.map
  38. 12
    12
      ionic-fb/www/build/6.js
  39. 1
    1
      ionic-fb/www/build/6.js.map
  40. 42
    0
      ionic-fb/www/build/7.js
  41. 1
    0
      ionic-fb/www/build/7.js.map
  42. 10
    0
      ionic-fb/www/build/main.css
  43. 385
    242
      ionic-fb/www/build/main.js
  44. 1
    1
      ionic-fb/www/build/main.js.map
  45. 18363
    15554
      ionic-fb/www/build/vendor.js
  46. 1
    1
      ionic-fb/www/build/vendor.js.map
  47. 3
    0
      ionic-fb/www/index.html
  48. 3
    2
      server/src/main/java/com/example/demo/user/UserController.java

+ 1
- 1
ionic-fb/.sourcemaps/2.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/team-home/team-home.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACL;AAU3C;IAAA;IAAiC,CAAC;IAArB,kBAAkB;QAR9B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,gEAAY;aACb;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,gEAAY,CAAC;aACvC;SACF,CAAC;OACW,kBAAkB,CAAG;IAAD,yBAAC;CAAA;AAAH","file":"2.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamHomePage } from './team-home';\n\n@NgModule({\n  declarations: [\n    TeamHomePage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamHomePage),\n  ],\n})\nexport class TeamHomePageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-home/team-home.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/team-schedule/team-schedule.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACG;AAUnD;IAAA;IAAqC,CAAC;IAAzB,sBAAsB;QARlC,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,wEAAgB;aACjB;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,wEAAgB,CAAC;aAC3C;SACF,CAAC;OACW,sBAAsB,CAAG;IAAD,6BAAC;CAAA;AAAH","file":"2.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamSchedulePage } from './team-schedule';\n\n@NgModule({\n  declarations: [\n    TeamSchedulePage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamSchedulePage),\n  ],\n})\nexport class TeamSchedulePageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-schedule/team-schedule.module.ts"],"sourceRoot":""}

+ 1
- 1
ionic-fb/.sourcemaps/3.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/team-details/team-details.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACC;AAUjD;IAAA;IAAoC,CAAC;IAAxB,qBAAqB;QARjC,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,sEAAe;aAChB;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,sEAAe,CAAC;aAC1C;SACF,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAAA;AAAH","file":"3.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamDetailsPage } from './team-details';\n\n@NgModule({\n  declarations: [\n    TeamDetailsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamDetailsPage),\n  ],\n})\nexport class TeamDetailsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-details/team-details.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/team-home/team-home.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACL;AAU3C;IAAA;IAAiC,CAAC;IAArB,kBAAkB;QAR9B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,gEAAY;aACb;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,gEAAY,CAAC;aACvC;SACF,CAAC;OACW,kBAAkB,CAAG;IAAD,yBAAC;CAAA;AAAH","file":"3.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamHomePage } from './team-home';\n\n@NgModule({\n  declarations: [\n    TeamHomePage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamHomePage),\n  ],\n})\nexport class TeamHomePageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-home/team-home.module.ts"],"sourceRoot":""}

+ 1
- 1
ionic-fb/.sourcemaps/4.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/standings/standings.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACJ;AAU5C;IAAA;IAAkC,CAAC;IAAtB,mBAAmB;QAR/B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,iEAAa;aACd;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,iEAAa,CAAC;aACxC;SACF,CAAC;OACW,mBAAmB,CAAG;IAAD,0BAAC;CAAA;AAAH","file":"4.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { StandingsPage } from './standings';\n\n@NgModule({\n  declarations: [\n    StandingsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(StandingsPage),\n  ],\n})\nexport class StandingsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/standings/standings.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/team-details/team-details.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACC;AAUjD;IAAA;IAAoC,CAAC;IAAxB,qBAAqB;QARjC,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,sEAAe;aAChB;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,sEAAe,CAAC;aAC1C;SACF,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAAA;AAAH","file":"4.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamDetailsPage } from './team-details';\n\n@NgModule({\n  declarations: [\n    TeamDetailsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamDetailsPage),\n  ],\n})\nexport class TeamDetailsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-details/team-details.module.ts"],"sourceRoot":""}

+ 1
- 1
ionic-fb/.sourcemaps/5.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/sign-up/sign-up.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACT;AAUvC;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAR5B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,4DAAU;aACX;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,4DAAU,CAAC;aACrC;SACF,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAA;AAAH","file":"5.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { SignUpPage } from './sign-up';\n\n@NgModule({\n  declarations: [\n    SignUpPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(SignUpPage),\n  ],\n})\nexport class SignUpPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/sign-up/sign-up.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/standings/standings.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACJ;AAU5C;IAAA;IAAkC,CAAC;IAAtB,mBAAmB;QAR/B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,iEAAa;aACd;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,iEAAa,CAAC;aACxC;SACF,CAAC;OACW,mBAAmB,CAAG;IAAD,0BAAC;CAAA;AAAH","file":"5.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { StandingsPage } from './standings';\n\n@NgModule({\n  declarations: [\n    StandingsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(StandingsPage),\n  ],\n})\nexport class StandingsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/standings/standings.module.ts"],"sourceRoot":""}

+ 1
- 1
ionic-fb/.sourcemaps/6.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/my-teams/my-teams.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACP;AAUzC;IAAA;IAAgC,CAAC;IAApB,iBAAiB;QAR7B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,8DAAW;aACZ;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,8DAAW,CAAC;aACtC;SACF,CAAC;OACW,iBAAiB,CAAG;IAAD,wBAAC;CAAA;AAAH","file":"6.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { MyTeamsPage } from './my-teams';\n\n@NgModule({\n  declarations: [\n    MyTeamsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(MyTeamsPage),\n  ],\n})\nexport class MyTeamsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/my-teams/my-teams.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/sign-up/sign-up.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACT;AAUvC;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAR5B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,4DAAU;aACX;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,4DAAU,CAAC;aACrC;SACF,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAA;AAAH","file":"6.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { SignUpPage } from './sign-up';\n\n@NgModule({\n  declarations: [\n    SignUpPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(SignUpPage),\n  ],\n})\nexport class SignUpPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/sign-up/sign-up.module.ts"],"sourceRoot":""}

+ 1
- 0
ionic-fb/.sourcemaps/7.js.map Datei anzeigen

1
+{"version":3,"sources":["../../src/pages/my-teams/my-teams.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACP;AAUzC;IAAA;IAAgC,CAAC;IAApB,iBAAiB;QAR7B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,8DAAW;aACZ;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,8DAAW,CAAC;aACtC;SACF,CAAC;OACW,iBAAiB,CAAG;IAAD,wBAAC;CAAA;AAAH","file":"7.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { MyTeamsPage } from './my-teams';\n\n@NgModule({\n  declarations: [\n    MyTeamsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(MyTeamsPage),\n  ],\n})\nexport class MyTeamsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/my-teams/my-teams.module.ts"],"sourceRoot":""}

+ 1
- 0
ionic-fb/.sourcemaps/8.js.map Datei anzeigen

1
+{"version":3,"sources":["../../src/pages/league/league.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACV;AAUtC;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAR5B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,2DAAU;aACX;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,2DAAU,CAAC;aACrC;SACF,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAA;AAAH","file":"8.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { LeaguePage } from './league';\n\n@NgModule({\n  declarations: [\n    LeaguePage,\n  ],\n  imports: [\n    IonicPageModule.forChild(LeaguePage),\n  ],\n})\nexport class LeaguePageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/league/league.module.ts"],"sourceRoot":""}

+ 1
- 1
ionic-fb/.sourcemaps/main.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 5
- 0
ionic-fb/src/app/app.module.ts Datei anzeigen

16
 import { LeagueServiceProvider } from '../providers/league-service/league-service';
16
 import { LeagueServiceProvider } from '../providers/league-service/league-service';
17
 import { ApiProvider } from '../providers/api/api';
17
 import { ApiProvider } from '../providers/api/api';
18
 import { SignUpPage } from '../pages/sign-up/sign-up';
18
 import { SignUpPage } from '../pages/sign-up/sign-up';
19
+import { HttpModule } from '@angular/http';
20
+import { TeamSchedulePage } from '../pages/team-schedule/team-schedule';
19
 
21
 
20
 @NgModule({
22
 @NgModule({
21
   declarations: [
23
   declarations: [
25
     TournamentsPage,
27
     TournamentsPage,
26
     TeamDetailsPage,
28
     TeamDetailsPage,
27
     StandingsPage,
29
     StandingsPage,
30
+    TeamSchedulePage,
28
     TeamHomePage,
31
     TeamHomePage,
29
     SignUpPage
32
     SignUpPage
30
   ],
33
   ],
31
   imports: [
34
   imports: [
32
     BrowserModule,
35
     BrowserModule,
33
     HttpClientModule,
36
     HttpClientModule,
37
+    HttpModule,
34
     IonicModule.forRoot(MyApp),
38
     IonicModule.forRoot(MyApp),
35
   ],
39
   ],
36
   bootstrap: [IonicApp],
40
   bootstrap: [IonicApp],
41
     TournamentsPage,
45
     TournamentsPage,
42
     TeamDetailsPage,
46
     TeamDetailsPage,
43
     StandingsPage,
47
     StandingsPage,
48
+    TeamSchedulePage,
44
     TeamHomePage,
49
     TeamHomePage,
45
     SignUpPage
50
     SignUpPage
46
 
51
 

+ 1
- 1
ionic-fb/src/pages/my-teams/my-teams.html Datei anzeigen

36
       </ion-row>
36
       </ion-row>
37
       <ion-row>
37
       <ion-row>
38
         <ion-col class="signup-col">
38
         <ion-col class="signup-col">
39
-          <button ion-button class="submit-btn" full type="submit" [disabled]="!registerForm.form.valid">Login</button>
39
+          <button ion-button class="submit-btn" full type="submit" (click)="myButton()" [disabled]="!registerForm.form.valid">Login</button>
40
         </ion-col>
40
         </ion-col>
41
       </ion-row>
41
       </ion-row>
42
     </form>
42
     </form>

+ 29
- 2
ionic-fb/src/pages/standings/standings.html Datei anzeigen

13
 </ion-header>
13
 </ion-header>
14
 
14
 
15
 
15
 
16
-<ion-content padding>
17
-  <h2>Standing Page</h2>
16
+<ion-content padding >
17
+  <!-- <ion-scroll  scrollY="true" style="width: 100%; height: 100%;"> -->
18
+  <div >
19
+      <table>
20
+        <tr>
21
+          <td class="col">Club</td>
22
+          <td class="col">MP</td>
23
+          <td class="col">W</td>
24
+          <td class="col">D</td>
25
+          <td class="col">L</td>
26
+          <td class="col">Pts</td>
27
+          <td class="col">GF</td>
28
+          <td class="col">GA</td>
29
+          <td class="col">GD</td>
30
+        </tr>
31
+        <tr *ngFor="let stats of standings"> 
32
+            <td class="col">{{stats.team.name}}</td>
33
+            <td class="col">{{stats.playedGames}}</td>
34
+            <td class="col">{{stats.won}}</td>
35
+            <td class="col">{{stats.draw}}</td>
36
+            <td class="col">{{stats.lost}}</td>
37
+            <td class="col">{{stats.points}}</td>
38
+            <td class="col">{{stats.goalsFor}}</td>
39
+            <td class="col">{{stats.goalsAgainst}}</td>
40
+            <td class="col">{{stats.goalDifference}}</td>
41
+        </tr>
42
+      </table>
43
+  </div>
44
+  <!-- </ion-scroll> -->
18
 </ion-content>
45
 </ion-content>

+ 5
- 3
ionic-fb/src/pages/standings/standings.scss Datei anzeigen

1
-page-standings {
2
-
3
-}
1
+.col {
2
+    border: solid 1px grey;
3
+    border-bottom-style: none;
4
+    border-right-style: none;
5
+}

+ 17
- 2
ionic-fb/src/pages/standings/standings.ts Datei anzeigen

1
 import { Component } from '@angular/core';
1
 import { Component } from '@angular/core';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+import { LeagueServiceProvider } from '../../providers/league-service/league-service';
3
 
4
 
4
 /**
5
 /**
5
  * Generated class for the StandingsPage page.
6
  * Generated class for the StandingsPage page.
15
 })
16
 })
16
 export class StandingsPage {
17
 export class StandingsPage {
17
 
18
 
18
-  constructor(public navCtrl: NavController, public navParams: NavParams) {
19
+  public team: any;
20
+  public league: any;
21
+  public standings =[];
22
+
23
+  constructor(public navCtrl: NavController, 
24
+    public navParams: NavParams, 
25
+    public leagueServiceApi: LeagueServiceProvider) {
26
+
27
+    //this.team = this.navParams.get("team").data;
28
+    this.league = this.navParams.data;
19
   }
29
   }
20
 
30
 
21
   ionViewDidLoad() {
31
   ionViewDidLoad() {
22
-    console.log('ionViewDidLoad StandingsPage');
32
+    console.log(this.league.name);
33
+    let table = this.navParams.data;
34
+    this.leagueServiceApi.getLeasgueStandings(table.id).subscribe(data => {
35
+      this.standings = data.standings[0].table;
36
+      console.log(this.standings);
37
+    })
23
   }
38
   }
24
 
39
 
25
 }
40
 }

+ 14
- 1
ionic-fb/src/pages/team-details/team-details.html Datei anzeigen

8
 
8
 
9
 
9
 
10
 <ion-content padding>
10
 <ion-content padding>
11
-  <h2>Team Detail</h2>
11
+  <h2 text-center>Team Detail</h2>
12
+  <h5>Name: {{team.name}}</h5>
13
+  <p>
14
+    ShortName: {{team.shortName}}<br><br>
15
+    tla: {{team.tla}}<br><br>
16
+    Address: {{team.address}}<br><br>
17
+    Phone: {{team.phone}}<br><br>
18
+    Website: {{team.website}}<br><br>
19
+    Email: {{team.email}}<br><br>
20
+    Founded: {{team.founded}}<br><br>
21
+    ClubColors: {{team.clubColors}}<br><br>
22
+    LastUpdated: {{team.lastUpdated}}<br><br>
23
+  </p>
24
+
12
 </ion-content>
25
 </ion-content>

+ 14
- 4
ionic-fb/src/pages/team-details/team-details.ts Datei anzeigen

1
 import { Component } from '@angular/core';
1
 import { Component } from '@angular/core';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+import { LeagueServiceProvider } from '../../providers/league-service/league-service';
3
 
4
 
4
 /**
5
 /**
5
  * Generated class for the TeamDetailsPage page.
6
  * Generated class for the TeamDetailsPage page.
15
 })
16
 })
16
 export class TeamDetailsPage {
17
 export class TeamDetailsPage {
17
 
18
 
18
-  public team: any={};
19
+  public team: any;
19
 
20
 
20
-  constructor(public navCtrl: NavController, public navParams: NavParams) {
21
+  constructor(public navCtrl: NavController, public navParams: NavParams, public leagueServiceProvider: LeagueServiceProvider) {
21
     this.team = this.navParams.data;
22
     this.team = this.navParams.data;
22
-    console.log('nav params', navParams);
23
+    
23
   }
24
   }
24
 
25
 
25
   ionViewDidLoad() {
26
   ionViewDidLoad() {
26
-    console.log('ionViewDidLoad TeamDetailsPage');
27
+    console.log(this.team.name);
27
   }
28
   }
28
 
29
 
30
+  // getTeams(){
31
+
32
+  //   this.leagueServiceProvider.load().subscribe(data => {
33
+  //     this.team = data["competitions"];
34
+  //   });
35
+  // }
36
+
37
+ 
38
+
29
 }
39
 }

+ 12
- 5
ionic-fb/src/pages/team-home/team-home.html Datei anzeigen

6
 -->
6
 -->
7
 <ion-header>
7
 <ion-header>
8
 
8
 
9
-  <ion-navbar>
10
-    <ion-title>team-home</ion-title>
9
+  <ion-navbar color="primary">
10
+    <ion-title>{{team.name}}</ion-title>
11
+    <ion-buttons end>
12
+        <button ion-button icon-only (click)="goHome()">
13
+          <ion-icon name="home"></ion-icon>
14
+        </button>
15
+      </ion-buttons>
11
   </ion-navbar>
16
   </ion-navbar>
12
-
17
+  
13
 </ion-header>
18
 </ion-header>
14
 
19
 
15
 <ion-tabs>
20
 <ion-tabs>
16
-  <ion-tab tabTitle="Team" [root]="teamDetailTab" tabIcon="football"></ion-tab>
17
-  <ion-tab tabTitle="Standings" [root]="standingsTab" tabIcon="podium"></ion-tab>
21
+  <ion-tab tabTitle="TeamBasicInfo" [root]="teamDetailTab" [rootParams]="team" tabIcon="football"></ion-tab>
22
+  <ion-tab tabTitle="Fixtures" [root]="teamScheduleTab" [rootParams]="team" tabIcon="football"></ion-tab>
23
+  <ion-tab tabTitle="Standings" [root]="standingsTab" [rootParams]="league" tabIcon="podium"></ion-tab>
24
+
18
 </ion-tabs>
25
 </ion-tabs>

+ 12
- 1
ionic-fb/src/pages/team-home/team-home.ts Datei anzeigen

1
 import { Component } from '@angular/core';
1
 import { Component } from '@angular/core';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
 import { TeamDetailsPage } from '../team-details/team-details';
3
 import { TeamDetailsPage } from '../team-details/team-details';
4
+import { MyTeamsPage } from '../my-teams/my-teams';
5
+import { TeamSchedulePage } from '../team-schedule/team-schedule';
4
 import { StandingsPage } from '../standings/standings';
6
 import { StandingsPage } from '../standings/standings';
5
 
7
 
6
 /**
8
 /**
16
   templateUrl: 'team-home.html',
18
   templateUrl: 'team-home.html',
17
 })
19
 })
18
 export class TeamHomePage {
20
 export class TeamHomePage {
21
+  public team: any={};
22
+  public league: any = {};
19
   public teamDetailTab = TeamDetailsPage;
23
   public teamDetailTab = TeamDetailsPage;
24
+  public teamScheduleTab = TeamSchedulePage;
20
   public standingsTab = StandingsPage;
25
   public standingsTab = StandingsPage;
21
 
26
 
22
   constructor(public navCtrl: NavController, public navParams: NavParams) {
27
   constructor(public navCtrl: NavController, public navParams: NavParams) {
28
+    this.team = this.navParams.get("team");
29
+    this.league = this.navParams.get("league");
23
   }
30
   }
24
 
31
 
25
   ionViewDidLoad() {
32
   ionViewDidLoad() {
26
-    console.log('ionViewDidLoad TeamHomePage');
33
+    console.log(this.league.name);
34
+  }
35
+
36
+  goHome(){
37
+    this.navCtrl.push(MyTeamsPage);
27
   }
38
   }
28
 
39
 
29
 }
40
 }

+ 25
- 0
ionic-fb/src/pages/team-schedule/team-schedule.html Datei anzeigen

1
+<!--
2
+  Generated template for the TeamSchedulePage page.
3
+
4
+  See http://ionicframework.com/docs/components/#navigation for more info on
5
+  Ionic pages and navigation.
6
+-->
7
+<ion-header>
8
+
9
+  <ion-navbar>
10
+    <ion-title>teamSchedule</ion-title>
11
+  </ion-navbar>
12
+
13
+</ion-header>
14
+
15
+
16
+<ion-content padding>
17
+    <h2>Fixture Page</h2>
18
+    <h5>Name: {{team.name}}</h5>
19
+  
20
+    <p *ngFor="let match of matches">
21
+      <span [class.highlight]="team.name === match.homeTeam.name">{{match.homeTeam.name}}</span> 
22
+      vs 
23
+      <span [class.highlight]="team.name === match.awayTeam.name">{{match.awayTeam.name}}</span>
24
+    </p>
25
+</ion-content>

+ 13
- 0
ionic-fb/src/pages/team-schedule/team-schedule.module.ts Datei anzeigen

1
+import { NgModule } from '@angular/core';
2
+import { IonicPageModule } from 'ionic-angular';
3
+import { TeamSchedulePage } from './team-schedule';
4
+
5
+@NgModule({
6
+  declarations: [
7
+    TeamSchedulePage,
8
+  ],
9
+  imports: [
10
+    IonicPageModule.forChild(TeamSchedulePage),
11
+  ],
12
+})
13
+export class TeamSchedulePageModule {}

+ 3
- 0
ionic-fb/src/pages/team-schedule/team-schedule.scss Datei anzeigen

1
+.highlight {
2
+    color: red;
3
+}

+ 38
- 0
ionic-fb/src/pages/team-schedule/team-schedule.ts Datei anzeigen

1
+import { Component } from '@angular/core';
2
+import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+import { LeagueServiceProvider } from '../../providers/league-service/league-service';
4
+
5
+/**
6
+ * Generated class for the TeamSchedulePage page.
7
+ *
8
+ * See https://ionicframework.com/docs/components/#navigation for more info on
9
+ * Ionic pages and navigation.
10
+ */
11
+
12
+@IonicPage()
13
+@Component({
14
+  selector: 'page-team-schedule',
15
+  templateUrl: 'team-schedule.html',
16
+})
17
+export class TeamSchedulePage {
18
+  public team: any={};
19
+  public matches=[];
20
+
21
+  constructor(public navCtrl: NavController, 
22
+    public navParams: NavParams, 
23
+    public leagueServiceApi: LeagueServiceProvider ){
24
+      this.team = this.navParams.data;
25
+  }
26
+
27
+  ionViewDidLoad() {
28
+    console.log('ionViewDidLoad StandingsPage');
29
+    let matches = this.navParams.data;
30
+    this.leagueServiceApi.getTeamMatches(matches.id).subscribe(data => {
31
+      this.matches = data.matches;
32
+      console.log(this.matches);
33
+    })
34
+  }
35
+
36
+  
37
+
38
+}

+ 1
- 1
ionic-fb/src/pages/teams/teams.html Datei anzeigen

1
 <ion-header>
1
 <ion-header>
2
 
2
 
3
   <ion-navbar color="primary">
3
   <ion-navbar color="primary">
4
-    <ion-title>teams</ion-title>
4
+    <ion-title>{{league.name}} Teams</ion-title>
5
   </ion-navbar>
5
   </ion-navbar>
6
 
6
 
7
 </ion-header>
7
 </ion-header>

+ 16
- 8
ionic-fb/src/pages/teams/teams.ts Datei anzeigen

1
 import { Component } from '@angular/core';
1
 import { Component } from '@angular/core';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+//import { TeamHomePage } from '../team-home/team-home';
4
+import { LeagueServiceProvider } from '../../providers/league-service/league-service';
5
+import { TeamSchedulePage } from '../team-schedule/team-schedule';
3
 import { TeamHomePage } from '../team-home/team-home';
6
 import { TeamHomePage } from '../team-home/team-home';
4
 
7
 
5
 /**
8
 /**
16
 })
19
 })
17
 export class TeamsPage {
20
 export class TeamsPage {
18
 
21
 
19
-  public teams =[ 
20
-    {id: 1, name: "Manchester United"},
21
-    {id: 2, name: "Arsenal"},
22
-    {id: 3, name: "Chelsea"}
23
-  ];
22
+  public teams =[];
23
+  public league: any={};
24
 
24
 
25
-  constructor(public navCtrl: NavController, public navParams: NavParams) {
25
+  constructor(public navCtrl: NavController, public navParams: NavParams, public leagueServiceProvider: LeagueServiceProvider) {
26
+    this.league = this.navParams.data;
26
   }
27
   }
27
 
28
 
28
   ionViewDidLoad() {
29
   ionViewDidLoad() {
29
-    console.log('ionViewDidLoad TeamsPage');
30
+    //console.log('ionViewDidLoad TeamsPage');
31
+    let leag = this.navParams.data;
32
+    //console.log(leag);
33
+    this.leagueServiceProvider.getleagueData(leag.id).subscribe(data => {
34
+      this.teams = data.teams;
35
+      // let seasons = data[0];
36
+      console.log(this.teams);
37
+    });
30
   }
38
   }
31
 
39
 
32
   itemTapped(_$event, team){
40
   itemTapped(_$event, team){
33
-    this.navCtrl.push(TeamHomePage, team);
41
+    this.navCtrl.push(TeamHomePage, {team: team, league: this.league});
34
   }
42
   }
35
 
43
 
36
 
44
 

+ 3
- 3
ionic-fb/src/pages/tournaments/tournaments.html Datei anzeigen

2
 <ion-header>
2
 <ion-header>
3
 
3
 
4
   <ion-navbar color="primary">
4
   <ion-navbar color="primary">
5
-    <ion-title>tournaments</ion-title>
5
+    <ion-title>Tournaments</ion-title>
6
   </ion-navbar>
6
   </ion-navbar>
7
 
7
 
8
 </ion-header>
8
 </ion-header>
9
 
9
 
10
 
10
 
11
 <ion-content color ="secondary">
11
 <ion-content color ="secondary">
12
-    <button ion-button (click)="getToteamsPage()">test</button>
13
-    <button ion-button class="test" *ngFor="let league of leagues" color="secondary" full (click)="name(league.name)">{{league.name}}</button>
12
+    <!-- <button ion-item (click)="getToteamsPage($event, league)">test</button> -->
13
+    <button  class="test" *ngFor="let league of leagues" ion-item (click)="goToTeamsPage($event, league)">{{league.name}}</button>
14
 </ion-content>
14
 </ion-content>

+ 41
- 13
ionic-fb/src/pages/tournaments/tournaments.ts Datei anzeigen

1
 import { Component } from '@angular/core';
1
 import { Component } from '@angular/core';
2
-import { IonicPage, NavController, NavParams } from 'ionic-angular';
2
+import { IonicPage, NavController, NavParams, LoadingController, Spinner } from 'ionic-angular';
3
 import { TeamsPage } from '../teams/teams';
3
 import { TeamsPage } from '../teams/teams';
4
 import { LeagueServiceProvider } from '../../providers/league-service/league-service';
4
 import { LeagueServiceProvider } from '../../providers/league-service/league-service';
5
 
5
 
20
 
20
 
21
   leagues: any; 
21
   leagues: any; 
22
 
22
 
23
-  constructor(public navCtrl: NavController, public navParams: NavParams, public leagueServiceProvider: LeagueServiceProvider) {
24
-    this.getLeagues();
23
+  constructor(public navCtrl: NavController,
24
+     public navParams: NavParams,
25
+      public leagueServiceProvider: LeagueServiceProvider, 
26
+      public loadingController: LoadingController) {
27
+    
25
   }
28
   }
26
 
29
 
27
-  getLeagues(){
30
+  // getLeagues(){
28
 
31
 
29
-    this.leagueServiceProvider.load().subscribe(data => {
30
-      this.leagues = data["competitions"];
32
+  //   this.leagueServiceProvider.load().subscribe(data => {
33
+  //     this.leagues = data["competitions"];
34
+  //   });
35
+  // }
36
+  ionViewDidLoad() {
37
+    //this.leagueServiceProvider.load().then(data => this.leagues = data);
38
+    let loader = this.loadingController.create({
39
+      content: 'Getting tournaments...',
40
+      //spinner: 'dots'
31
     });
41
     });
42
+    loader.present().then(() => {
43
+      const areaNames = new Set(['England', 'Spain', 'Germany', 'Italy', 'France']);
44
+      const leaguesNames = new Set(['Premier League', 'Primera Division', 'Bundesliga', 'Serie A', 'Ligue 1']);
45
+      
46
+      this.leagueServiceProvider.load().subscribe(data => {
47
+            this.leagues = data["competitions"];
48
+            this.leagues = this.leagues.filter(x => {
49
+            
50
+              return areaNames.has(x.area.name) && leaguesNames.has(x.name);
51
+              
52
+          });
53
+          loader.dismiss();
54
+      });
55
+    })
56
+
32
   }
57
   }
33
 
58
 
34
   name(n: string) {
59
   name(n: string) {
35
     console.log(n);
60
     console.log(n);
36
-
37
-  }
38
-  itemTapped1(){
39
-    this.navCtrl.push(TeamsPage);
40
   }
61
   }
41
 
62
 
42
-  getToteamsPage(){
63
+  itemTapped1(){
43
     this.navCtrl.push(TeamsPage);
64
     this.navCtrl.push(TeamsPage);
44
   }
65
   }
45
 
66
 
46
-  ionViewDidLoad() {
47
-    console.log('ionViewDidLoad TournamentsPage');
67
+  goToTeamsPage(_$event, leag){
68
+    this.navCtrl.push(TeamsPage, leag);
48
   }
69
   }
49
 
70
 
71
+  // getTeams(_$event, id) {
72
+  //   // console.log(id)
73
+  //   // this.leagueServiceProvider.getleagueData(id).subscribe(e => {
74
+  //   //   //console.log(e)
75
+  //     this.getToteamsPage(TeamsPage, id);
76
+  //   //})
77
+  // }
50
 }
78
 }

+ 7
- 2
ionic-fb/src/providers/api/api.ts Datei anzeigen

1
 import { HttpClient } from '@angular/common/http';
1
 import { HttpClient } from '@angular/common/http';
2
+import  { Http } from '@angular/http';
2
 import { Injectable } from '@angular/core';
3
 import { Injectable } from '@angular/core';
3
 import { Observable } from '../../../node_modules/rxjs/Rx';
4
 import { Observable } from '../../../node_modules/rxjs/Rx';
4
 
5
 
11
 @Injectable()
12
 @Injectable()
12
 export class ApiProvider {
13
 export class ApiProvider {
13
 
14
 
14
-  constructor(public http: HttpClient) {
15
+  private baseUrl = 'http:localhost:8080/user';
16
+
17
+  constructor(public http: Http) {
15
     console.log('Hello ApiProvider Provider');
18
     console.log('Hello ApiProvider Provider');
16
   }
19
   }
17
 
20
 
18
   getUsers(){
21
   getUsers(){
19
-    return this.http.get('http:localhost:8080/user')
22
+    return new Promise(resolve => {
23
+      this.http.get(`${this.baseUrl}/all.json`).subscribe(res => resolve(res.json()));
24
+    });
20
   }
25
   }
21
 
26
 
22
   saveUser(createAccountInfo: any) : Observable<Object> {
27
   saveUser(createAccountInfo: any) : Observable<Object> {

+ 19
- 0
ionic-fb/src/providers/league-service/league-service.ts Datei anzeigen

1
 import { HttpClient, HttpHeaders } from '@angular/common/http';
1
 import { HttpClient, HttpHeaders } from '@angular/common/http';
2
 import { Injectable } from '@angular/core';
2
 import { Injectable } from '@angular/core';
3
+import { Observable } from '../../../node_modules/rxjs';
3
 
4
 
4
 /*
5
 /*
5
   Generated class for the LeagueServiceProvider provider.
6
   Generated class for the LeagueServiceProvider provider.
15
   }
16
   }
16
 
17
 
17
   apiUrl = 'http://api.football-data.org/v2/competitions/';
18
   apiUrl = 'http://api.football-data.org/v2/competitions/';
19
+  apiUrl2 = 'http://api.football-data.org/v2/teams/'
18
 
20
 
19
   httpOptions = {
21
   httpOptions = {
20
     headers: new HttpHeaders({
22
     headers: new HttpHeaders({
24
 
26
 
25
   load(){
27
   load(){
26
       return this.http.get(this.apiUrl, this.httpOptions);
28
       return this.http.get(this.apiUrl, this.httpOptions);
29
+      // return new Promise(resolve => {
30
+      //   this.http.get(`${this.apiUrl, this.httpOptions}`).subscribe(res => resolve(res.json()));
31
+      // });
32
+  }
33
+
34
+  getleagueData(tournamentId): Observable<any>{
35
+    const url = this.apiUrl + tournamentId + '/teams';
36
+    console.log(url);
37
+    return this.http.get(this.apiUrl + tournamentId + '/teams', this.httpOptions);
38
+  }
39
+
40
+  getTeamMatches(teamId): Observable<any>{
41
+    return this.http.get(this.apiUrl2 + teamId + '/matches', this.httpOptions);
42
+  }
43
+
44
+  getLeasgueStandings(tournamentId): Observable<any>{
45
+    return this.http.get(this.apiUrl + tournamentId + '/standings', this.httpOptions);
27
   }
46
   }
28
   
47
   
29
 
48
 

+ 3
- 3
ionic-fb/www/build/0.js Datei anzeigen

1
 webpackJsonp([0],{
1
 webpackJsonp([0],{
2
 
2
 
3
-/***/ 288:
3
+/***/ 291:
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
5
 
6
 "use strict";
6
 "use strict";
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TournamentsPageModule", function() { return TournamentsPageModule; });
8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TournamentsPageModule", function() { return TournamentsPageModule; });
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tournaments__ = __webpack_require__(50);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tournaments__ = __webpack_require__(52);
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 3
- 3
ionic-fb/www/build/1.js Datei anzeigen

1
 webpackJsonp([1],{
1
 webpackJsonp([1],{
2
 
2
 
3
-/***/ 287:
3
+/***/ 290:
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
5
 
6
 "use strict";
6
 "use strict";
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamsPageModule", function() { return TeamsPageModule; });
8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamsPageModule", function() { return TeamsPageModule; });
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams__ = __webpack_require__(104);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams__ = __webpack_require__(103);
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 12
- 12
ionic-fb/www/build/2.js Datei anzeigen

1
 webpackJsonp([2],{
1
 webpackJsonp([2],{
2
 
2
 
3
-/***/ 285:
3
+/***/ 289:
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
5
 
6
 "use strict";
6
 "use strict";
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamHomePageModule", function() { return TeamHomePageModule; });
8
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamSchedulePageModule", function() { return TeamSchedulePageModule; });
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_home__ = __webpack_require__(105);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_schedule__ = __webpack_require__(106);
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
18
 
18
 
19
 
19
 
20
 
20
 
21
-var TeamHomePageModule = /** @class */ (function () {
22
-    function TeamHomePageModule() {
21
+var TeamSchedulePageModule = /** @class */ (function () {
22
+    function TeamSchedulePageModule() {
23
     }
23
     }
24
-    TeamHomePageModule = __decorate([
24
+    TeamSchedulePageModule = __decorate([
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
26
             declarations: [
26
             declarations: [
27
-                __WEBPACK_IMPORTED_MODULE_2__team_home__["a" /* TeamHomePage */],
27
+                __WEBPACK_IMPORTED_MODULE_2__team_schedule__["a" /* TeamSchedulePage */],
28
             ],
28
             ],
29
             imports: [
29
             imports: [
30
-                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__team_home__["a" /* TeamHomePage */]),
30
+                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__team_schedule__["a" /* TeamSchedulePage */]),
31
             ],
31
             ],
32
         })
32
         })
33
-    ], TeamHomePageModule);
34
-    return TeamHomePageModule;
33
+    ], TeamSchedulePageModule);
34
+    return TeamSchedulePageModule;
35
 }());
35
 }());
36
 
36
 
37
-//# sourceMappingURL=team-home.module.js.map
37
+//# sourceMappingURL=team-schedule.module.js.map
38
 
38
 
39
 /***/ })
39
 /***/ })
40
 
40
 

+ 1
- 1
ionic-fb/www/build/2.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/team-home/team-home.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACL;AAU3C;IAAA;IAAiC,CAAC;IAArB,kBAAkB;QAR9B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,gEAAY;aACb;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,gEAAY,CAAC;aACvC;SACF,CAAC;OACW,kBAAkB,CAAG;IAAD,yBAAC;CAAA;AAAH","file":"2.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamHomePage } from './team-home';\n\n@NgModule({\n  declarations: [\n    TeamHomePage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamHomePage),\n  ],\n})\nexport class TeamHomePageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-home/team-home.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/team-schedule/team-schedule.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACG;AAUnD;IAAA;IAAqC,CAAC;IAAzB,sBAAsB;QARlC,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,wEAAgB;aACjB;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,wEAAgB,CAAC;aAC3C;SACF,CAAC;OACW,sBAAsB,CAAG;IAAD,6BAAC;CAAA;AAAH","file":"2.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamSchedulePage } from './team-schedule';\n\n@NgModule({\n  declarations: [\n    TeamSchedulePage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamSchedulePage),\n  ],\n})\nexport class TeamSchedulePageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-schedule/team-schedule.module.ts"],"sourceRoot":""}

+ 12
- 12
ionic-fb/www/build/3.js Datei anzeigen

1
 webpackJsonp([3],{
1
 webpackJsonp([3],{
2
 
2
 
3
-/***/ 286:
3
+/***/ 288:
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
5
 
6
 "use strict";
6
 "use strict";
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamDetailsPageModule", function() { return TeamDetailsPageModule; });
8
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamHomePageModule", function() { return TeamHomePageModule; });
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details__ = __webpack_require__(106);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_home__ = __webpack_require__(104);
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
18
 
18
 
19
 
19
 
20
 
20
 
21
-var TeamDetailsPageModule = /** @class */ (function () {
22
-    function TeamDetailsPageModule() {
21
+var TeamHomePageModule = /** @class */ (function () {
22
+    function TeamHomePageModule() {
23
     }
23
     }
24
-    TeamDetailsPageModule = __decorate([
24
+    TeamHomePageModule = __decorate([
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
26
             declarations: [
26
             declarations: [
27
-                __WEBPACK_IMPORTED_MODULE_2__team_details__["a" /* TeamDetailsPage */],
27
+                __WEBPACK_IMPORTED_MODULE_2__team_home__["a" /* TeamHomePage */],
28
             ],
28
             ],
29
             imports: [
29
             imports: [
30
-                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__team_details__["a" /* TeamDetailsPage */]),
30
+                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__team_home__["a" /* TeamHomePage */]),
31
             ],
31
             ],
32
         })
32
         })
33
-    ], TeamDetailsPageModule);
34
-    return TeamDetailsPageModule;
33
+    ], TeamHomePageModule);
34
+    return TeamHomePageModule;
35
 }());
35
 }());
36
 
36
 
37
-//# sourceMappingURL=team-details.module.js.map
37
+//# sourceMappingURL=team-home.module.js.map
38
 
38
 
39
 /***/ })
39
 /***/ })
40
 
40
 

+ 1
- 1
ionic-fb/www/build/3.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/team-details/team-details.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACC;AAUjD;IAAA;IAAoC,CAAC;IAAxB,qBAAqB;QARjC,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,sEAAe;aAChB;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,sEAAe,CAAC;aAC1C;SACF,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAAA;AAAH","file":"3.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamDetailsPage } from './team-details';\n\n@NgModule({\n  declarations: [\n    TeamDetailsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamDetailsPage),\n  ],\n})\nexport class TeamDetailsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-details/team-details.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/team-home/team-home.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACL;AAU3C;IAAA;IAAiC,CAAC;IAArB,kBAAkB;QAR9B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,gEAAY;aACb;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,gEAAY,CAAC;aACvC;SACF,CAAC;OACW,kBAAkB,CAAG;IAAD,yBAAC;CAAA;AAAH","file":"3.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamHomePage } from './team-home';\n\n@NgModule({\n  declarations: [\n    TeamHomePage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamHomePage),\n  ],\n})\nexport class TeamHomePageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-home/team-home.module.ts"],"sourceRoot":""}

+ 12
- 12
ionic-fb/www/build/4.js Datei anzeigen

1
 webpackJsonp([4],{
1
 webpackJsonp([4],{
2
 
2
 
3
-/***/ 284:
3
+/***/ 287:
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
5
 
6
 "use strict";
6
 "use strict";
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StandingsPageModule", function() { return StandingsPageModule; });
8
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamDetailsPageModule", function() { return TeamDetailsPageModule; });
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__standings__ = __webpack_require__(107);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details__ = __webpack_require__(105);
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
18
 
18
 
19
 
19
 
20
 
20
 
21
-var StandingsPageModule = /** @class */ (function () {
22
-    function StandingsPageModule() {
21
+var TeamDetailsPageModule = /** @class */ (function () {
22
+    function TeamDetailsPageModule() {
23
     }
23
     }
24
-    StandingsPageModule = __decorate([
24
+    TeamDetailsPageModule = __decorate([
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
26
             declarations: [
26
             declarations: [
27
-                __WEBPACK_IMPORTED_MODULE_2__standings__["a" /* StandingsPage */],
27
+                __WEBPACK_IMPORTED_MODULE_2__team_details__["a" /* TeamDetailsPage */],
28
             ],
28
             ],
29
             imports: [
29
             imports: [
30
-                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__standings__["a" /* StandingsPage */]),
30
+                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__team_details__["a" /* TeamDetailsPage */]),
31
             ],
31
             ],
32
         })
32
         })
33
-    ], StandingsPageModule);
34
-    return StandingsPageModule;
33
+    ], TeamDetailsPageModule);
34
+    return TeamDetailsPageModule;
35
 }());
35
 }());
36
 
36
 
37
-//# sourceMappingURL=standings.module.js.map
37
+//# sourceMappingURL=team-details.module.js.map
38
 
38
 
39
 /***/ })
39
 /***/ })
40
 
40
 

+ 1
- 1
ionic-fb/www/build/4.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/standings/standings.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACJ;AAU5C;IAAA;IAAkC,CAAC;IAAtB,mBAAmB;QAR/B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,iEAAa;aACd;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,iEAAa,CAAC;aACxC;SACF,CAAC;OACW,mBAAmB,CAAG;IAAD,0BAAC;CAAA;AAAH","file":"4.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { StandingsPage } from './standings';\n\n@NgModule({\n  declarations: [\n    StandingsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(StandingsPage),\n  ],\n})\nexport class StandingsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/standings/standings.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/team-details/team-details.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACC;AAUjD;IAAA;IAAoC,CAAC;IAAxB,qBAAqB;QARjC,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,sEAAe;aAChB;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,sEAAe,CAAC;aAC1C;SACF,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAAA;AAAH","file":"4.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TeamDetailsPage } from './team-details';\n\n@NgModule({\n  declarations: [\n    TeamDetailsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TeamDetailsPage),\n  ],\n})\nexport class TeamDetailsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/team-details/team-details.module.ts"],"sourceRoot":""}

+ 12
- 12
ionic-fb/www/build/5.js Datei anzeigen

1
 webpackJsonp([5],{
1
 webpackJsonp([5],{
2
 
2
 
3
-/***/ 282:
3
+/***/ 286:
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
5
 
6
 "use strict";
6
 "use strict";
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SignUpPageModule", function() { return SignUpPageModule; });
8
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StandingsPageModule", function() { return StandingsPageModule; });
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__sign_up__ = __webpack_require__(102);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__standings__ = __webpack_require__(107);
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
18
 
18
 
19
 
19
 
20
 
20
 
21
-var SignUpPageModule = /** @class */ (function () {
22
-    function SignUpPageModule() {
21
+var StandingsPageModule = /** @class */ (function () {
22
+    function StandingsPageModule() {
23
     }
23
     }
24
-    SignUpPageModule = __decorate([
24
+    StandingsPageModule = __decorate([
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
26
             declarations: [
26
             declarations: [
27
-                __WEBPACK_IMPORTED_MODULE_2__sign_up__["a" /* SignUpPage */],
27
+                __WEBPACK_IMPORTED_MODULE_2__standings__["a" /* StandingsPage */],
28
             ],
28
             ],
29
             imports: [
29
             imports: [
30
-                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__sign_up__["a" /* SignUpPage */]),
30
+                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__standings__["a" /* StandingsPage */]),
31
             ],
31
             ],
32
         })
32
         })
33
-    ], SignUpPageModule);
34
-    return SignUpPageModule;
33
+    ], StandingsPageModule);
34
+    return StandingsPageModule;
35
 }());
35
 }());
36
 
36
 
37
-//# sourceMappingURL=sign-up.module.js.map
37
+//# sourceMappingURL=standings.module.js.map
38
 
38
 
39
 /***/ })
39
 /***/ })
40
 
40
 

+ 1
- 1
ionic-fb/www/build/5.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/sign-up/sign-up.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACT;AAUvC;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAR5B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,4DAAU;aACX;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,4DAAU,CAAC;aACrC;SACF,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAA;AAAH","file":"5.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { SignUpPage } from './sign-up';\n\n@NgModule({\n  declarations: [\n    SignUpPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(SignUpPage),\n  ],\n})\nexport class SignUpPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/sign-up/sign-up.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/standings/standings.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACJ;AAU5C;IAAA;IAAkC,CAAC;IAAtB,mBAAmB;QAR/B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,iEAAa;aACd;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,iEAAa,CAAC;aACxC;SACF,CAAC;OACW,mBAAmB,CAAG;IAAD,0BAAC;CAAA;AAAH","file":"5.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { StandingsPage } from './standings';\n\n@NgModule({\n  declarations: [\n    StandingsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(StandingsPage),\n  ],\n})\nexport class StandingsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/standings/standings.module.ts"],"sourceRoot":""}

+ 12
- 12
ionic-fb/www/build/6.js Datei anzeigen

1
 webpackJsonp([6],{
1
 webpackJsonp([6],{
2
 
2
 
3
-/***/ 283:
3
+/***/ 285:
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
5
 
6
 "use strict";
6
 "use strict";
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MyTeamsPageModule", function() { return MyTeamsPageModule; });
8
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SignUpPageModule", function() { return SignUpPageModule; });
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__my_teams__ = __webpack_require__(103);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__sign_up__ = __webpack_require__(108);
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
18
 
18
 
19
 
19
 
20
 
20
 
21
-var MyTeamsPageModule = /** @class */ (function () {
22
-    function MyTeamsPageModule() {
21
+var SignUpPageModule = /** @class */ (function () {
22
+    function SignUpPageModule() {
23
     }
23
     }
24
-    MyTeamsPageModule = __decorate([
24
+    SignUpPageModule = __decorate([
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
25
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
26
             declarations: [
26
             declarations: [
27
-                __WEBPACK_IMPORTED_MODULE_2__my_teams__["a" /* MyTeamsPage */],
27
+                __WEBPACK_IMPORTED_MODULE_2__sign_up__["a" /* SignUpPage */],
28
             ],
28
             ],
29
             imports: [
29
             imports: [
30
-                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__my_teams__["a" /* MyTeamsPage */]),
30
+                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__sign_up__["a" /* SignUpPage */]),
31
             ],
31
             ],
32
         })
32
         })
33
-    ], MyTeamsPageModule);
34
-    return MyTeamsPageModule;
33
+    ], SignUpPageModule);
34
+    return SignUpPageModule;
35
 }());
35
 }());
36
 
36
 
37
-//# sourceMappingURL=my-teams.module.js.map
37
+//# sourceMappingURL=sign-up.module.js.map
38
 
38
 
39
 /***/ })
39
 /***/ })
40
 
40
 

+ 1
- 1
ionic-fb/www/build/6.js.map Datei anzeigen

1
-{"version":3,"sources":["../../src/pages/my-teams/my-teams.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACP;AAUzC;IAAA;IAAgC,CAAC;IAApB,iBAAiB;QAR7B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,8DAAW;aACZ;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,8DAAW,CAAC;aACtC;SACF,CAAC;OACW,iBAAiB,CAAG;IAAD,wBAAC;CAAA;AAAH","file":"6.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { MyTeamsPage } from './my-teams';\n\n@NgModule({\n  declarations: [\n    MyTeamsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(MyTeamsPage),\n  ],\n})\nexport class MyTeamsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/my-teams/my-teams.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/sign-up/sign-up.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACT;AAUvC;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAR5B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,4DAAU;aACX;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,4DAAU,CAAC;aACrC;SACF,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAA;AAAH","file":"6.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { SignUpPage } from './sign-up';\n\n@NgModule({\n  declarations: [\n    SignUpPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(SignUpPage),\n  ],\n})\nexport class SignUpPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/sign-up/sign-up.module.ts"],"sourceRoot":""}

+ 42
- 0
ionic-fb/www/build/7.js Datei anzeigen

1
+webpackJsonp([7],{
2
+
3
+/***/ 284:
4
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
5
+
6
+"use strict";
7
+Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MyTeamsPageModule", function() { return MyTeamsPageModule; });
9
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__my_teams__ = __webpack_require__(51);
12
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
15
+    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
16
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
17
+};
18
+
19
+
20
+
21
+var MyTeamsPageModule = /** @class */ (function () {
22
+    function MyTeamsPageModule() {
23
+    }
24
+    MyTeamsPageModule = __decorate([
25
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
26
+            declarations: [
27
+                __WEBPACK_IMPORTED_MODULE_2__my_teams__["a" /* MyTeamsPage */],
28
+            ],
29
+            imports: [
30
+                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__my_teams__["a" /* MyTeamsPage */]),
31
+            ],
32
+        })
33
+    ], MyTeamsPageModule);
34
+    return MyTeamsPageModule;
35
+}());
36
+
37
+//# sourceMappingURL=my-teams.module.js.map
38
+
39
+/***/ })
40
+
41
+});
42
+//# sourceMappingURL=7.js.map

+ 1
- 0
ionic-fb/www/build/7.js.map Datei anzeigen

1
+{"version":3,"sources":["../../src/pages/my-teams/my-teams.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACP;AAUzC;IAAA;IAAgC,CAAC;IAApB,iBAAiB;QAR7B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,8DAAW;aACZ;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,8DAAW,CAAC;aACtC;SACF,CAAC;OACW,iBAAiB,CAAG;IAAD,wBAAC;CAAA;AAAH","file":"7.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { MyTeamsPage } from './my-teams';\n\n@NgModule({\n  declarations: [\n    MyTeamsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(MyTeamsPage),\n  ],\n})\nexport class MyTeamsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/my-teams/my-teams.module.ts"],"sourceRoot":""}

+ 10
- 0
ionic-fb/www/build/main.css Datei anzeigen

25678
   min-height: calc(46px + env(safe-area-inset-bottom));
25678
   min-height: calc(46px + env(safe-area-inset-bottom));
25679
 }
25679
 }
25680
 
25680
 
25681
+.col {
25682
+  border: solid 1px grey;
25683
+  border-bottom-style: none;
25684
+  border-right-style: none;
25685
+}
25686
+
25687
+.highlight {
25688
+  color: red;
25689
+}
25690
+
25681
 .test {
25691
 .test {
25682
   display: block;
25692
   display: block;
25683
   margin-bottom: 10px;
25693
   margin-bottom: 10px;

+ 385
- 242
ionic-fb/www/build/main.js Datei anzeigen

1
-webpackJsonp([7],{
1
+webpackJsonp([8],{
2
 
2
 
3
-/***/ 102:
3
+/***/ 103:
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
5
 
6
 "use strict";
6
 "use strict";
7
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SignUpPage; });
7
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamsPage; });
8
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
8
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_api_api__ = __webpack_require__(78);
9
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_league_service_league_service__ = __webpack_require__(33);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__team_home_team_home__ = __webpack_require__(104);
11
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
19
 };
20
 };
20
 
21
 
21
 
22
 
23
+//import { TeamHomePage } from '../team-home/team-home';
24
+
22
 
25
 
23
 /**
26
 /**
24
- * Generated class for the SignUpPage page.
27
+ * Generated class for the TeamsPage page.
25
  *
28
  *
26
  * See https://ionicframework.com/docs/components/#navigation for more info on
29
  * See https://ionicframework.com/docs/components/#navigation for more info on
27
  * Ionic pages and navigation.
30
  * Ionic pages and navigation.
28
  */
31
  */
29
-var SignUpPage = /** @class */ (function () {
30
-    function SignUpPage(navCtrl, navParams, apiProvider) {
32
+var TeamsPage = /** @class */ (function () {
33
+    function TeamsPage(navCtrl, navParams, leagueServiceProvider) {
31
         this.navCtrl = navCtrl;
34
         this.navCtrl = navCtrl;
32
         this.navParams = navParams;
35
         this.navParams = navParams;
33
-        this.apiProvider = apiProvider;
34
-        this.user = {};
36
+        this.leagueServiceProvider = leagueServiceProvider;
37
+        this.teams = [];
38
+        this.league = {};
39
+        this.league = this.navParams.data;
35
     }
40
     }
36
-    // ngOnInit(){
37
-    //   this.loadUsers();
38
-    // }
39
-    // loadUsers(){
40
-    //   this.apiProvider.getUsers().subscribe(data => this.user =data["_embedded"]["users"],
41
-    // err => {
42
-    //   console.log(err);
43
-    // });
44
-    // }
45
-    SignUpPage.prototype.ionViewDidLoad = function () {
46
-        console.log('ionViewDidLoad SignUpPage');
41
+    TeamsPage.prototype.ionViewDidLoad = function () {
42
+        var _this = this;
43
+        //console.log('ionViewDidLoad TeamsPage');
44
+        var leag = this.navParams.data;
45
+        //console.log(leag);
46
+        this.leagueServiceProvider.getleagueData(leag.id).subscribe(function (data) {
47
+            _this.teams = data.teams;
48
+            // let seasons = data[0];
49
+            console.log(_this.teams);
50
+        });
47
     };
51
     };
48
-    SignUpPage.prototype.test = function (createAccountInfo) {
49
-        console.log(createAccountInfo);
50
-        this.apiProvider.saveUser(createAccountInfo).subscribe(console.log);
52
+    TeamsPage.prototype.itemTapped = function (_$event, team) {
53
+        this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_3__team_home_team_home__["a" /* TeamHomePage */], { team: team, league: this.league });
51
     };
54
     };
52
-    SignUpPage = __decorate([
55
+    TeamsPage = __decorate([
53
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
56
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
54
-            selector: 'page-sign-up',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/'<!--\n  Generated template for the SignUpPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>sign-up</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n    <div class="signUp-box">\n    <form #registerForm="ngForm" (ng-submit)="test(registerForm.value)">\n      <ion-row>\n        <ion-col>\n          <ion-list inset>\n            <ion-item>\n              <ion-input type="text" placeholder="Username" name="username" required [(ngModel)]="Username" ></ion-input>\n            </ion-item>\n            <ion-item>\n                <ion-input type="text" placeholder="Email" name="email" required [(ngModel)]="Email" ></ion-input>\n              </ion-item>\n            <ion-item>\n              <ion-input type="password" placeholder="Password" name="password" required [(ngModel)]="password"></ion-input>\n            </ion-item>\n          </ion-list>\n        </ion-col>\n      </ion-row>\n      <ion-row>\n        <ion-col class="signup-col">\n          <button ion-button class="submit-btn" type="submit" (click)="test(registerForm.value)">Create Account</button>\n        </ion-col>\n      </ion-row>\n    </form>\n  \n  </div>\n\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/,
57
+            selector: 'page-teams',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/teams/teams.html"*/'<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>{{league.name}} Teams</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content>\n    <button *ngFor="let team of teams" ion-item (click)="itemTapped($event, team)">{{team.name}}</button>\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/teams/teams.html"*/,
55
         }),
58
         }),
56
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_api_api__["a" /* ApiProvider */]])
57
-    ], SignUpPage);
58
-    return SignUpPage;
59
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_league_service_league_service__["a" /* LeagueServiceProvider */]])
60
+    ], TeamsPage);
61
+    return TeamsPage;
59
 }());
62
 }());
60
 
63
 
61
-//# sourceMappingURL=sign-up.js.map
64
+//# sourceMappingURL=teams.js.map
62
 
65
 
63
 /***/ }),
66
 /***/ }),
64
 
67
 
65
-/***/ 103:
68
+/***/ 104:
66
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
69
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
67
 
70
 
68
 "use strict";
71
 "use strict";
69
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyTeamsPage; });
72
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamHomePage; });
70
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
73
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
71
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
72
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tournaments_tournaments__ = __webpack_require__(50);
73
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_api_api__ = __webpack_require__(78);
74
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__sign_up_sign_up__ = __webpack_require__(102);
74
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
75
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details_team_details__ = __webpack_require__(105);
76
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__my_teams_my_teams__ = __webpack_require__(51);
77
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__team_schedule_team_schedule__ = __webpack_require__(106);
78
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__standings_standings__ = __webpack_require__(107);
75
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
79
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
76
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
80
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
77
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
81
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
86
 
90
 
87
 
91
 
88
 
92
 
93
+
89
 /**
94
 /**
90
- * Generated class for the MyTeamsPage page.
95
+ * Generated class for the TeamHomePage page.
91
  *
96
  *
92
  * See https://ionicframework.com/docs/components/#navigation for more info on
97
  * See https://ionicframework.com/docs/components/#navigation for more info on
93
  * Ionic pages and navigation.
98
  * Ionic pages and navigation.
94
  */
99
  */
95
-var MyTeamsPage = /** @class */ (function () {
96
-    function MyTeamsPage(navCtrl, navParams, apiProvider, toastCtrl) {
100
+var TeamHomePage = /** @class */ (function () {
101
+    function TeamHomePage(navCtrl, navParams) {
97
         this.navCtrl = navCtrl;
102
         this.navCtrl = navCtrl;
98
         this.navParams = navParams;
103
         this.navParams = navParams;
99
-        this.apiProvider = apiProvider;
100
-        this.toastCtrl = toastCtrl;
104
+        this.team = {};
105
+        this.league = {};
106
+        this.teamDetailTab = __WEBPACK_IMPORTED_MODULE_2__team_details_team_details__["a" /* TeamDetailsPage */];
107
+        this.teamScheduleTab = __WEBPACK_IMPORTED_MODULE_4__team_schedule_team_schedule__["a" /* TeamSchedulePage */];
108
+        this.standingsTab = __WEBPACK_IMPORTED_MODULE_5__standings_standings__["a" /* StandingsPage */];
109
+        this.team = this.navParams.get("team");
110
+        this.league = this.navParams.get("league");
101
     }
111
     }
102
-    MyTeamsPage.prototype.myButton = function () {
103
-        this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__tournaments_tournaments__["a" /* TournamentsPage */]);
104
-    };
105
-    MyTeamsPage.prototype.ionViewDidLoad = function () {
106
-        console.log('ionViewDidLoad MyTeamsPage');
112
+    TeamHomePage.prototype.ionViewDidLoad = function () {
113
+        console.log(this.league.name);
107
     };
114
     };
108
-    MyTeamsPage.prototype.createAccount = function () {
109
-        this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__sign_up_sign_up__["a" /* SignUpPage */]);
115
+    TeamHomePage.prototype.goHome = function () {
116
+        this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_3__my_teams_my_teams__["a" /* MyTeamsPage */]);
110
     };
117
     };
111
-    MyTeamsPage = __decorate([
118
+    TeamHomePage = __decorate([
112
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
119
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
113
-            selector: 'page-my-teams',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/my-teams/my-teams.html"*/'<!--\n  Generated template for the MyTeamsPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n  <ion-navbar color="primary">\n    <button menuToggle ion- button icon-only>\n      <ion-icon name ="menu"></ion-icon>\n    </button>\n    <ion-title text-center>MyApp</ion-title>\n  </ion-navbar>\n  <ion-toolbar color="secondary">\n    <ion-title text-center><span style ="color:red">my-teams</span></ion-title>\n  </ion-toolbar>\n\n</ion-header>\n\n\n<ion-content padding>\n  <h4>Welcome to my page</h4>\n  <div class="login-box">\n    <form #registerForm="ngForm"  (ng-submit)="myButton()">\n      <ion-row>\n        <ion-col>\n          <ion-list inset>\n            <ion-item>\n              <ion-input type="text" placeholder="Username" name="name" required [(ngModel)]="Username" ></ion-input>\n            </ion-item>\n            <ion-item>\n              <ion-input type="password" placeholder="Password" name="password" required [(ngModel)]="password"></ion-input>\n            </ion-item>\n          </ion-list>\n        </ion-col>\n      </ion-row>\n      <ion-row>\n        <ion-col class="signup-col">\n          <button ion-button class="submit-btn" full type="submit" [disabled]="!registerForm.form.valid">Login</button>\n        </ion-col>\n      </ion-row>\n    </form>\n    <ion-row>\n      <ion-col color="secondary">\n        <button ion-button class="register-btn" block clear (click)="createAccount()">Create Account</button>\n      </ion-col>\n    </ion-row>\n  </div>\n  \n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/my-teams/my-teams.html"*/,
120
+            selector: 'page-team-home',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-home/team-home.html"*/'<!--\n  Generated template for the TeamHomePage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>{{team.name}}</ion-title>\n    <ion-buttons end>\n        <button ion-button icon-only (click)="goHome()">\n          <ion-icon name="home"></ion-icon>\n        </button>\n      </ion-buttons>\n  </ion-navbar>\n  \n</ion-header>\n\n<ion-tabs>\n  <ion-tab tabTitle="TeamBasicInfo" [root]="teamDetailTab" [rootParams]="team" tabIcon="football"></ion-tab>\n  <ion-tab tabTitle="Fixtures" [root]="teamScheduleTab" [rootParams]="team" tabIcon="football"></ion-tab>\n  <ion-tab tabTitle="Standings" [root]="standingsTab" [rootParams]="league" tabIcon="podium"></ion-tab>\n\n</ion-tabs>'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-home/team-home.html"*/,
114
         }),
121
         }),
115
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_api_api__["a" /* ApiProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["i" /* ToastController */]])
116
-    ], MyTeamsPage);
117
-    return MyTeamsPage;
122
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */]])
123
+    ], TeamHomePage);
124
+    return TeamHomePage;
118
 }());
125
 }());
119
 
126
 
120
-//# sourceMappingURL=my-teams.js.map
127
+//# sourceMappingURL=team-home.js.map
121
 
128
 
122
 /***/ }),
129
 /***/ }),
123
 
130
 
124
-/***/ 104:
131
+/***/ 105:
125
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
132
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
126
 
133
 
127
 "use strict";
134
 "use strict";
128
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamsPage; });
135
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamDetailsPage; });
129
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
136
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
130
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
131
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_home_team_home__ = __webpack_require__(105);
137
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
138
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_league_service_league_service__ = __webpack_require__(33);
132
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
139
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
133
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
140
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
134
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
141
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
142
 
149
 
143
 
150
 
144
 /**
151
 /**
145
- * Generated class for the TeamsPage page.
152
+ * Generated class for the TeamDetailsPage page.
146
  *
153
  *
147
  * See https://ionicframework.com/docs/components/#navigation for more info on
154
  * See https://ionicframework.com/docs/components/#navigation for more info on
148
  * Ionic pages and navigation.
155
  * Ionic pages and navigation.
149
  */
156
  */
150
-var TeamsPage = /** @class */ (function () {
151
-    function TeamsPage(navCtrl, navParams) {
157
+var TeamDetailsPage = /** @class */ (function () {
158
+    function TeamDetailsPage(navCtrl, navParams, leagueServiceProvider) {
152
         this.navCtrl = navCtrl;
159
         this.navCtrl = navCtrl;
153
         this.navParams = navParams;
160
         this.navParams = navParams;
154
-        this.teams = [
155
-            { id: 1, name: "Manchester United" },
156
-            { id: 2, name: "Arsenal" },
157
-            { id: 3, name: "Chelsea" }
158
-        ];
161
+        this.leagueServiceProvider = leagueServiceProvider;
162
+        this.team = this.navParams.data;
159
     }
163
     }
160
-    TeamsPage.prototype.ionViewDidLoad = function () {
161
-        console.log('ionViewDidLoad TeamsPage');
162
-    };
163
-    TeamsPage.prototype.itemTapped = function (_$event, team) {
164
-        this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__team_home_team_home__["a" /* TeamHomePage */], team);
164
+    TeamDetailsPage.prototype.ionViewDidLoad = function () {
165
+        console.log(this.team.name);
165
     };
166
     };
166
-    TeamsPage = __decorate([
167
+    TeamDetailsPage = __decorate([
167
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
168
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
168
-            selector: 'page-teams',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/teams/teams.html"*/'<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>teams</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content>\n    <button *ngFor="let team of teams" ion-item (click)="itemTapped($event, team)">{{team.name}}</button>\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/teams/teams.html"*/,
169
+            selector: 'page-team-details',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-details/team-details.html"*/'<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>{{team.name}}</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n  <h2 text-center>Team Detail</h2>\n  <h5>Name: {{team.name}}</h5>\n  <p>\n    ShortName: {{team.shortName}}<br><br>\n    tla: {{team.tla}}<br><br>\n    Address: {{team.address}}<br><br>\n    Phone: {{team.phone}}<br><br>\n    Website: {{team.website}}<br><br>\n    Email: {{team.email}}<br><br>\n    Founded: {{team.founded}}<br><br>\n    ClubColors: {{team.clubColors}}<br><br>\n    LastUpdated: {{team.lastUpdated}}<br><br>\n  </p>\n\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-details/team-details.html"*/,
169
         }),
170
         }),
170
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */]])
171
-    ], TeamsPage);
172
-    return TeamsPage;
171
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_league_service_league_service__["a" /* LeagueServiceProvider */]])
172
+    ], TeamDetailsPage);
173
+    return TeamDetailsPage;
173
 }());
174
 }());
174
 
175
 
175
-//# sourceMappingURL=teams.js.map
176
+//# sourceMappingURL=team-details.js.map
176
 
177
 
177
 /***/ }),
178
 /***/ }),
178
 
179
 
179
-/***/ 105:
180
+/***/ 106:
180
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
181
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
181
 
182
 
182
 "use strict";
183
 "use strict";
183
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamHomePage; });
184
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamSchedulePage; });
184
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
185
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
185
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
186
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details_team_details__ = __webpack_require__(106);
187
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__standings_standings__ = __webpack_require__(107);
186
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
187
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_league_service_league_service__ = __webpack_require__(33);
188
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
188
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
189
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
189
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
190
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
190
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
197
 
197
 
198
 
198
 
199
 
199
 
200
-
201
 /**
200
 /**
202
- * Generated class for the TeamHomePage page.
201
+ * Generated class for the TeamSchedulePage page.
203
  *
202
  *
204
  * See https://ionicframework.com/docs/components/#navigation for more info on
203
  * See https://ionicframework.com/docs/components/#navigation for more info on
205
  * Ionic pages and navigation.
204
  * Ionic pages and navigation.
206
  */
205
  */
207
-var TeamHomePage = /** @class */ (function () {
208
-    function TeamHomePage(navCtrl, navParams) {
206
+var TeamSchedulePage = /** @class */ (function () {
207
+    function TeamSchedulePage(navCtrl, navParams, leagueServiceApi) {
209
         this.navCtrl = navCtrl;
208
         this.navCtrl = navCtrl;
210
         this.navParams = navParams;
209
         this.navParams = navParams;
211
-        this.teamDetailTab = __WEBPACK_IMPORTED_MODULE_2__team_details_team_details__["a" /* TeamDetailsPage */];
212
-        this.standingsTab = __WEBPACK_IMPORTED_MODULE_3__standings_standings__["a" /* StandingsPage */];
210
+        this.leagueServiceApi = leagueServiceApi;
211
+        this.team = {};
212
+        this.matches = [];
213
+        this.team = this.navParams.data;
213
     }
214
     }
214
-    TeamHomePage.prototype.ionViewDidLoad = function () {
215
-        console.log('ionViewDidLoad TeamHomePage');
215
+    TeamSchedulePage.prototype.ionViewDidLoad = function () {
216
+        var _this = this;
217
+        console.log('ionViewDidLoad StandingsPage');
218
+        var matches = this.navParams.data;
219
+        this.leagueServiceApi.getTeamMatches(matches.id).subscribe(function (data) {
220
+            _this.matches = data.matches;
221
+            console.log(_this.matches);
222
+        });
216
     };
223
     };
217
-    TeamHomePage = __decorate([
224
+    TeamSchedulePage = __decorate([
218
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
225
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
219
-            selector: 'page-team-home',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-home/team-home.html"*/'<!--\n  Generated template for the TeamHomePage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>team-home</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n<ion-tabs>\n  <ion-tab tabTitle="Team" [root]="teamDetailTab" tabIcon="football"></ion-tab>\n  <ion-tab tabTitle="Standings" [root]="standingsTab" tabIcon="podium"></ion-tab>\n</ion-tabs>'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-home/team-home.html"*/,
226
+            selector: 'page-team-schedule',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-schedule/team-schedule.html"*/'<!--\n  Generated template for the TeamSchedulePage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>teamSchedule</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n    <h2>Fixture Page</h2>\n    <h5>Name: {{team.name}}</h5>\n  \n    <p *ngFor="let match of matches">\n      <span [class.highlight]="team.name === match.homeTeam.name">{{match.homeTeam.name}}</span> \n      vs \n      <span [class.highlight]="team.name === match.awayTeam.name">{{match.awayTeam.name}}</span>\n    </p>\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-schedule/team-schedule.html"*/,
220
         }),
227
         }),
221
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */]])
222
-    ], TeamHomePage);
223
-    return TeamHomePage;
228
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */],
229
+            __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */],
230
+            __WEBPACK_IMPORTED_MODULE_2__providers_league_service_league_service__["a" /* LeagueServiceProvider */]])
231
+    ], TeamSchedulePage);
232
+    return TeamSchedulePage;
224
 }());
233
 }());
225
 
234
 
226
-//# sourceMappingURL=team-home.js.map
235
+//# sourceMappingURL=team-schedule.js.map
227
 
236
 
228
 /***/ }),
237
 /***/ }),
229
 
238
 
230
-/***/ 106:
239
+/***/ 107:
231
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
240
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
232
 
241
 
233
 "use strict";
242
 "use strict";
234
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamDetailsPage; });
243
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StandingsPage; });
235
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
244
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
236
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
245
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
246
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_league_service_league_service__ = __webpack_require__(33);
237
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
247
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
238
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
248
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
239
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
249
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
245
 };
255
 };
246
 
256
 
247
 
257
 
258
+
248
 /**
259
 /**
249
- * Generated class for the TeamDetailsPage page.
260
+ * Generated class for the StandingsPage page.
250
  *
261
  *
251
  * See https://ionicframework.com/docs/components/#navigation for more info on
262
  * See https://ionicframework.com/docs/components/#navigation for more info on
252
  * Ionic pages and navigation.
263
  * Ionic pages and navigation.
253
  */
264
  */
254
-var TeamDetailsPage = /** @class */ (function () {
255
-    function TeamDetailsPage(navCtrl, navParams) {
265
+var StandingsPage = /** @class */ (function () {
266
+    function StandingsPage(navCtrl, navParams, leagueServiceApi) {
256
         this.navCtrl = navCtrl;
267
         this.navCtrl = navCtrl;
257
         this.navParams = navParams;
268
         this.navParams = navParams;
258
-        this.team = {};
259
-        this.team = this.navParams.data;
260
-        console.log('nav params', navParams);
269
+        this.leagueServiceApi = leagueServiceApi;
270
+        this.standings = [];
271
+        //this.team = this.navParams.get("team").data;
272
+        this.league = this.navParams.data;
261
     }
273
     }
262
-    TeamDetailsPage.prototype.ionViewDidLoad = function () {
263
-        console.log('ionViewDidLoad TeamDetailsPage');
274
+    StandingsPage.prototype.ionViewDidLoad = function () {
275
+        var _this = this;
276
+        console.log(this.league.name);
277
+        var table = this.navParams.data;
278
+        this.leagueServiceApi.getLeasgueStandings(table.id).subscribe(function (data) {
279
+            _this.standings = data.standings[0].table;
280
+            console.log(_this.standings);
281
+        });
264
     };
282
     };
265
-    TeamDetailsPage = __decorate([
283
+    StandingsPage = __decorate([
266
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
284
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
267
-            selector: 'page-team-details',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-details/team-details.html"*/'<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>{{team.name}}</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n  <h2>Team Detail</h2>\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/team-details/team-details.html"*/,
285
+            selector: 'page-standings',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/standings/standings.html"*/'<!--\n  Generated template for the StandingsPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>standings</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding >\n  <!-- <ion-scroll  scrollY="true" style="width: 100%; height: 100%;"> -->\n  <div >\n      <table>\n        <tr>\n          <td class="col">Club</td>\n          <td class="col">MP</td>\n          <td class="col">W</td>\n          <td class="col">D</td>\n          <td class="col">L</td>\n          <td class="col">Pts</td>\n          <td class="col">GF</td>\n          <td class="col">GA</td>\n          <td class="col">GD</td>\n        </tr>\n        <tr *ngFor="let stats of standings"> \n            <td class="col">{{stats.team.name}}</td>\n            <td class="col">{{stats.playedGames}}</td>\n            <td class="col">{{stats.won}}</td>\n            <td class="col">{{stats.draw}}</td>\n            <td class="col">{{stats.lost}}</td>\n            <td class="col">{{stats.points}}</td>\n            <td class="col">{{stats.goalsFor}}</td>\n            <td class="col">{{stats.goalsAgainst}}</td>\n            <td class="col">{{stats.goalDifference}}</td>\n        </tr>\n      </table>\n  </div>\n  <!-- </ion-scroll> -->\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/standings/standings.html"*/,
268
         }),
286
         }),
269
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */]])
270
-    ], TeamDetailsPage);
271
-    return TeamDetailsPage;
287
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */],
288
+            __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */],
289
+            __WEBPACK_IMPORTED_MODULE_2__providers_league_service_league_service__["a" /* LeagueServiceProvider */]])
290
+    ], StandingsPage);
291
+    return StandingsPage;
272
 }());
292
 }());
273
 
293
 
274
-//# sourceMappingURL=team-details.js.map
294
+//# sourceMappingURL=standings.js.map
275
 
295
 
276
 /***/ }),
296
 /***/ }),
277
 
297
 
278
-/***/ 107:
298
+/***/ 108:
279
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
299
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
280
 
300
 
281
 "use strict";
301
 "use strict";
282
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StandingsPage; });
302
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SignUpPage; });
283
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
303
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
284
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
304
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
305
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_api_api__ = __webpack_require__(80);
285
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
306
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
286
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
307
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
287
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
308
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
293
 };
314
 };
294
 
315
 
295
 
316
 
317
+
296
 /**
318
 /**
297
- * Generated class for the StandingsPage page.
319
+ * Generated class for the SignUpPage page.
298
  *
320
  *
299
  * See https://ionicframework.com/docs/components/#navigation for more info on
321
  * See https://ionicframework.com/docs/components/#navigation for more info on
300
  * Ionic pages and navigation.
322
  * Ionic pages and navigation.
301
  */
323
  */
302
-var StandingsPage = /** @class */ (function () {
303
-    function StandingsPage(navCtrl, navParams) {
324
+var SignUpPage = /** @class */ (function () {
325
+    function SignUpPage(navCtrl, navParams, apiProvider) {
304
         this.navCtrl = navCtrl;
326
         this.navCtrl = navCtrl;
305
         this.navParams = navParams;
327
         this.navParams = navParams;
328
+        this.apiProvider = apiProvider;
329
+        this.user = {};
306
     }
330
     }
307
-    StandingsPage.prototype.ionViewDidLoad = function () {
308
-        console.log('ionViewDidLoad StandingsPage');
331
+    // ngOnInit(){
332
+    //   this.loadUsers();
333
+    // }
334
+    // loadUsers(){
335
+    //   this.apiProvider.getUsers().subscribe(data => this.user =data["_embedded"]["users"],
336
+    // err => {
337
+    //   console.log(err);
338
+    // });
339
+    // }
340
+    SignUpPage.prototype.ionViewDidLoad = function () {
341
+        console.log('ionViewDidLoad SignUpPage');
309
     };
342
     };
310
-    StandingsPage = __decorate([
343
+    SignUpPage.prototype.test = function (createAccountInfo) {
344
+        console.log(createAccountInfo);
345
+        this.apiProvider.saveUser(createAccountInfo).subscribe(console.log);
346
+    };
347
+    SignUpPage = __decorate([
311
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
348
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
312
-            selector: 'page-standings',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/standings/standings.html"*/'<!--\n  Generated template for the StandingsPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>standings</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n  <h2>Standing Page</h2>\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/standings/standings.html"*/,
349
+            selector: 'page-sign-up',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/'<!--\n  Generated template for the SignUpPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>sign-up</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n    <div class="signUp-box">\n    <form #registerForm="ngForm" (ng-submit)="test(registerForm.value)">\n      <ion-row>\n        <ion-col>\n          <ion-list inset>\n            <ion-item>\n              <ion-input type="text" placeholder="Username" name="username" required [(ngModel)]="Username" ></ion-input>\n            </ion-item>\n            <ion-item>\n                <ion-input type="text" placeholder="Email" name="email" required [(ngModel)]="Email" ></ion-input>\n              </ion-item>\n            <ion-item>\n              <ion-input type="password" placeholder="Password" name="password" required [(ngModel)]="password"></ion-input>\n            </ion-item>\n          </ion-list>\n        </ion-col>\n      </ion-row>\n      <ion-row>\n        <ion-col class="signup-col">\n          <button ion-button class="submit-btn" type="submit" (click)="test(registerForm.value)">Create Account</button>\n        </ion-col>\n      </ion-row>\n    </form>\n  \n  </div>\n\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/,
313
         }),
350
         }),
314
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */]])
315
-    ], StandingsPage);
316
-    return StandingsPage;
351
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_api_api__["a" /* ApiProvider */]])
352
+    ], SignUpPage);
353
+    return SignUpPage;
317
 }());
354
 }());
318
 
355
 
319
-//# sourceMappingURL=standings.js.map
356
+//# sourceMappingURL=sign-up.js.map
320
 
357
 
321
 /***/ }),
358
 /***/ }),
322
 
359
 
323
-/***/ 119:
360
+/***/ 120:
324
 /***/ (function(module, exports) {
361
 /***/ (function(module, exports) {
325
 
362
 
326
 function webpackEmptyAsyncContext(req) {
363
 function webpackEmptyAsyncContext(req) {
333
 webpackEmptyAsyncContext.keys = function() { return []; };
370
 webpackEmptyAsyncContext.keys = function() { return []; };
334
 webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
371
 webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
335
 module.exports = webpackEmptyAsyncContext;
372
 module.exports = webpackEmptyAsyncContext;
336
-webpackEmptyAsyncContext.id = 119;
373
+webpackEmptyAsyncContext.id = 120;
337
 
374
 
338
 /***/ }),
375
 /***/ }),
339
 
376
 
340
-/***/ 161:
377
+/***/ 162:
341
 /***/ (function(module, exports, __webpack_require__) {
378
 /***/ (function(module, exports, __webpack_require__) {
342
 
379
 
343
 var map = {
380
 var map = {
344
 	"../pages/my-teams/my-teams.module": [
381
 	"../pages/my-teams/my-teams.module": [
345
-		283,
346
-		6
382
+		284,
383
+		7
347
 	],
384
 	],
348
 	"../pages/sign-up/sign-up.module": [
385
 	"../pages/sign-up/sign-up.module": [
349
-		282,
350
-		5
386
+		285,
387
+		6
351
 	],
388
 	],
352
 	"../pages/standings/standings.module": [
389
 	"../pages/standings/standings.module": [
353
-		284,
354
-		4
390
+		286,
391
+		5
355
 	],
392
 	],
356
 	"../pages/team-details/team-details.module": [
393
 	"../pages/team-details/team-details.module": [
357
-		286,
358
-		3
394
+		287,
395
+		4
359
 	],
396
 	],
360
 	"../pages/team-home/team-home.module": [
397
 	"../pages/team-home/team-home.module": [
361
-		285,
398
+		288,
399
+		3
400
+	],
401
+	"../pages/team-schedule/team-schedule.module": [
402
+		289,
362
 		2
403
 		2
363
 	],
404
 	],
364
 	"../pages/teams/teams.module": [
405
 	"../pages/teams/teams.module": [
365
-		287,
406
+		290,
366
 		1
407
 		1
367
 	],
408
 	],
368
 	"../pages/tournaments/tournaments.module": [
409
 	"../pages/tournaments/tournaments.module": [
369
-		288,
410
+		291,
370
 		0
411
 		0
371
 	]
412
 	]
372
 };
413
 };
381
 webpackAsyncContext.keys = function webpackAsyncContextKeys() {
422
 webpackAsyncContext.keys = function webpackAsyncContextKeys() {
382
 	return Object.keys(map);
423
 	return Object.keys(map);
383
 };
424
 };
384
-webpackAsyncContext.id = 161;
425
+webpackAsyncContext.id = 162;
385
 module.exports = webpackAsyncContext;
426
 module.exports = webpackAsyncContext;
386
 
427
 
387
 /***/ }),
428
 /***/ }),
388
 
429
 
389
-/***/ 162:
390
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
391
-
392
-"use strict";
393
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LeagueServiceProvider; });
394
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(79);
395
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
396
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
397
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
398
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
399
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
400
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
401
-};
402
-var __metadata = (this && this.__metadata) || function (k, v) {
403
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
404
-};
405
-
406
-
407
-/*
408
-  Generated class for the LeagueServiceProvider provider.
409
-
410
-  See https://angular.io/guide/dependency-injection for more info on providers
411
-  and Angular DI.
412
-*/
413
-var LeagueServiceProvider = /** @class */ (function () {
414
-    function LeagueServiceProvider(http) {
415
-        this.http = http;
416
-        this.apiUrl = 'http://api.football-data.org/v2/competitions/';
417
-        this.httpOptions = {
418
-            headers: new __WEBPACK_IMPORTED_MODULE_0__angular_common_http__["c" /* HttpHeaders */]({
419
-                'X-Auth-Token': 'd550e63aaf6349f78dd2199f9d2dc115'
420
-            })
421
-        };
422
-        console.log('Hello LeagueServiceProvider Provider');
423
-    }
424
-    LeagueServiceProvider.prototype.load = function () {
425
-        return this.http.get(this.apiUrl, this.httpOptions);
426
-    };
427
-    LeagueServiceProvider = __decorate([
428
-        Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
429
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]])
430
-    ], LeagueServiceProvider);
431
-    return LeagueServiceProvider;
432
-}());
433
-
434
-//# sourceMappingURL=league-service.js.map
435
-
436
-/***/ }),
437
-
438
-/***/ 206:
430
+/***/ 208:
439
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
431
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
440
 
432
 
441
 "use strict";
433
 "use strict";
442
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
434
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
443
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(207);
444
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(227);
435
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(209);
436
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(229);
445
 
437
 
446
 
438
 
447
 Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
439
 Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
449
 
441
 
450
 /***/ }),
442
 /***/ }),
451
 
443
 
452
-/***/ 227:
444
+/***/ 229:
453
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
445
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
454
 
446
 
455
 "use strict";
447
 "use strict";
456
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
448
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
457
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(31);
449
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(27);
458
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
450
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
459
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(18);
460
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_common_http__ = __webpack_require__(79);
461
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_component__ = __webpack_require__(274);
462
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_status_bar__ = __webpack_require__(202);
463
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_splash_screen__ = __webpack_require__(205);
464
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_teams_teams__ = __webpack_require__(104);
465
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_my_teams_my_teams__ = __webpack_require__(103);
466
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_tournaments_tournaments__ = __webpack_require__(50);
467
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__ = __webpack_require__(106);
451
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(15);
452
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_common_http__ = __webpack_require__(163);
453
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_component__ = __webpack_require__(276);
454
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_status_bar__ = __webpack_require__(204);
455
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_splash_screen__ = __webpack_require__(207);
456
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_teams_teams__ = __webpack_require__(103);
457
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_my_teams_my_teams__ = __webpack_require__(51);
458
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_tournaments_tournaments__ = __webpack_require__(52);
459
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__ = __webpack_require__(105);
468
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__ = __webpack_require__(107);
460
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__ = __webpack_require__(107);
469
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__ = __webpack_require__(105);
470
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_league_service_league_service__ = __webpack_require__(162);
471
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_api_api__ = __webpack_require__(78);
472
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__ = __webpack_require__(102);
461
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__ = __webpack_require__(104);
462
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_league_service_league_service__ = __webpack_require__(33);
463
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_api_api__ = __webpack_require__(80);
464
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__ = __webpack_require__(108);
465
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__angular_http__ = __webpack_require__(164);
466
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pages_team_schedule_team_schedule__ = __webpack_require__(106);
473
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
467
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
474
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
468
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
475
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
469
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
492
 
486
 
493
 
487
 
494
 
488
 
489
+
490
+
495
 var AppModule = /** @class */ (function () {
491
 var AppModule = /** @class */ (function () {
496
     function AppModule() {
492
     function AppModule() {
497
     }
493
     }
504
                 __WEBPACK_IMPORTED_MODULE_9__pages_tournaments_tournaments__["a" /* TournamentsPage */],
500
                 __WEBPACK_IMPORTED_MODULE_9__pages_tournaments_tournaments__["a" /* TournamentsPage */],
505
                 __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__["a" /* TeamDetailsPage */],
501
                 __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__["a" /* TeamDetailsPage */],
506
                 __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__["a" /* StandingsPage */],
502
                 __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__["a" /* StandingsPage */],
503
+                __WEBPACK_IMPORTED_MODULE_17__pages_team_schedule_team_schedule__["a" /* TeamSchedulePage */],
507
                 __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__["a" /* TeamHomePage */],
504
                 __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__["a" /* TeamHomePage */],
508
                 __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__["a" /* SignUpPage */]
505
                 __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__["a" /* SignUpPage */]
509
             ],
506
             ],
510
             imports: [
507
             imports: [
511
                 __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */],
508
                 __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */],
512
                 __WEBPACK_IMPORTED_MODULE_3__angular_common_http__["b" /* HttpClientModule */],
509
                 __WEBPACK_IMPORTED_MODULE_3__angular_common_http__["b" /* HttpClientModule */],
510
+                __WEBPACK_IMPORTED_MODULE_16__angular_http__["b" /* HttpModule */],
513
                 __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* MyApp */], {}, {
511
                 __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* MyApp */], {}, {
514
                     links: [
512
                     links: [
515
-                        { loadChildren: '../pages/sign-up/sign-up.module#SignUpPageModule', name: 'SignUpPage', segment: 'sign-up', priority: 'low', defaultHistory: [] },
516
                         { loadChildren: '../pages/my-teams/my-teams.module#MyTeamsPageModule', name: 'MyTeamsPage', segment: 'my-teams', priority: 'low', defaultHistory: [] },
513
                         { loadChildren: '../pages/my-teams/my-teams.module#MyTeamsPageModule', name: 'MyTeamsPage', segment: 'my-teams', priority: 'low', defaultHistory: [] },
514
+                        { loadChildren: '../pages/sign-up/sign-up.module#SignUpPageModule', name: 'SignUpPage', segment: 'sign-up', priority: 'low', defaultHistory: [] },
517
                         { loadChildren: '../pages/standings/standings.module#StandingsPageModule', name: 'StandingsPage', segment: 'standings', priority: 'low', defaultHistory: [] },
515
                         { loadChildren: '../pages/standings/standings.module#StandingsPageModule', name: 'StandingsPage', segment: 'standings', priority: 'low', defaultHistory: [] },
518
-                        { loadChildren: '../pages/team-home/team-home.module#TeamHomePageModule', name: 'TeamHomePage', segment: 'team-home', priority: 'low', defaultHistory: [] },
519
                         { loadChildren: '../pages/team-details/team-details.module#TeamDetailsPageModule', name: 'TeamDetailsPage', segment: 'team-details', priority: 'low', defaultHistory: [] },
516
                         { loadChildren: '../pages/team-details/team-details.module#TeamDetailsPageModule', name: 'TeamDetailsPage', segment: 'team-details', priority: 'low', defaultHistory: [] },
517
+                        { loadChildren: '../pages/team-home/team-home.module#TeamHomePageModule', name: 'TeamHomePage', segment: 'team-home', priority: 'low', defaultHistory: [] },
518
+                        { loadChildren: '../pages/team-schedule/team-schedule.module#TeamSchedulePageModule', name: 'TeamSchedulePage', segment: 'team-schedule', priority: 'low', defaultHistory: [] },
520
                         { loadChildren: '../pages/teams/teams.module#TeamsPageModule', name: 'TeamsPage', segment: 'teams', priority: 'low', defaultHistory: [] },
519
                         { loadChildren: '../pages/teams/teams.module#TeamsPageModule', name: 'TeamsPage', segment: 'teams', priority: 'low', defaultHistory: [] },
521
                         { loadChildren: '../pages/tournaments/tournaments.module#TournamentsPageModule', name: 'TournamentsPage', segment: 'tournaments', priority: 'low', defaultHistory: [] }
520
                         { loadChildren: '../pages/tournaments/tournaments.module#TournamentsPageModule', name: 'TournamentsPage', segment: 'tournaments', priority: 'low', defaultHistory: [] }
522
                     ]
521
                     ]
530
                 __WEBPACK_IMPORTED_MODULE_9__pages_tournaments_tournaments__["a" /* TournamentsPage */],
529
                 __WEBPACK_IMPORTED_MODULE_9__pages_tournaments_tournaments__["a" /* TournamentsPage */],
531
                 __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__["a" /* TeamDetailsPage */],
530
                 __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__["a" /* TeamDetailsPage */],
532
                 __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__["a" /* StandingsPage */],
531
                 __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__["a" /* StandingsPage */],
532
+                __WEBPACK_IMPORTED_MODULE_17__pages_team_schedule_team_schedule__["a" /* TeamSchedulePage */],
533
                 __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__["a" /* TeamHomePage */],
533
                 __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__["a" /* TeamHomePage */],
534
                 __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__["a" /* SignUpPage */]
534
                 __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__["a" /* SignUpPage */]
535
             ],
535
             ],
549
 
549
 
550
 /***/ }),
550
 /***/ }),
551
 
551
 
552
-/***/ 274:
552
+/***/ 276:
553
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
553
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
554
 
554
 
555
 "use strict";
555
 "use strict";
556
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
556
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
557
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
557
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
558
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
559
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(202);
560
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(205);
561
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_my_teams_my_teams__ = __webpack_require__(103);
562
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_tournaments_tournaments__ = __webpack_require__(50);
558
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
559
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(204);
560
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(207);
561
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_my_teams_my_teams__ = __webpack_require__(51);
562
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_tournaments_tournaments__ = __webpack_require__(52);
563
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
563
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
564
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
564
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
565
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
565
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
605
         this.nav.push(__WEBPACK_IMPORTED_MODULE_5__pages_tournaments_tournaments__["a" /* TournamentsPage */]);
605
         this.nav.push(__WEBPACK_IMPORTED_MODULE_5__pages_tournaments_tournaments__["a" /* TournamentsPage */]);
606
     };
606
     };
607
     __decorate([
607
     __decorate([
608
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_8" /* ViewChild */])(__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Nav */]),
609
-        __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Nav */])
608
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_8" /* ViewChild */])(__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* Nav */]),
609
+        __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* Nav */])
610
     ], MyApp.prototype, "nav", void 0);
610
     ], MyApp.prototype, "nav", void 0);
611
     MyApp = __decorate([
611
     MyApp = __decorate([
612
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/app/app.html"*/'<ion-menu [content]="content">\n  <ion-header>\n    <ion-toolbar>\n      <ion-title>Menu</ion-title>\n    </ion-toolbar>\n  </ion-header>\n\n  <ion-content>\n    <ion-list>\n      <ion-list>\n        <ion-list-header>NAvigate</ion-list-header>\n        <button menuClose ion-item (click)="goHome()">go home</button> \n        <button menuClose ion-item (click)="goToTournaments()">go to tournamets</button>\n      </ion-list>\n    </ion-list>\n  </ion-content>\n\n</ion-menu>\n\n<!-- Disable swipe-to-go-back because it\'s poor UX to combine STGB with side menus -->\n<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/app/app.html"*/
612
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/app/app.html"*/'<ion-menu [content]="content">\n  <ion-header>\n    <ion-toolbar>\n      <ion-title>Menu</ion-title>\n    </ion-toolbar>\n  </ion-header>\n\n  <ion-content>\n    <ion-list>\n      <ion-list>\n        <ion-list-header>NAvigate</ion-list-header>\n        <button menuClose ion-item (click)="goHome()">go home</button> \n        <button menuClose ion-item (click)="goToTournaments()">go to tournamets</button>\n      </ion-list>\n    </ion-list>\n  </ion-content>\n\n</ion-menu>\n\n<!-- Disable swipe-to-go-back because it\'s poor UX to combine STGB with side menus -->\n<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/app/app.html"*/
613
         }),
613
         }),
614
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
614
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["i" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
615
     ], MyApp);
615
     ], MyApp);
616
     return MyApp;
616
     return MyApp;
617
 }());
617
 }());
620
 
620
 
621
 /***/ }),
621
 /***/ }),
622
 
622
 
623
-/***/ 50:
623
+/***/ 33:
624
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
625
+
626
+"use strict";
627
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LeagueServiceProvider; });
628
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(163);
629
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
630
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
631
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
632
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
633
+    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
634
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
635
+};
636
+var __metadata = (this && this.__metadata) || function (k, v) {
637
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
638
+};
639
+
640
+
641
+/*
642
+  Generated class for the LeagueServiceProvider provider.
643
+
644
+  See https://angular.io/guide/dependency-injection for more info on providers
645
+  and Angular DI.
646
+*/
647
+var LeagueServiceProvider = /** @class */ (function () {
648
+    function LeagueServiceProvider(http) {
649
+        this.http = http;
650
+        this.apiUrl = 'http://api.football-data.org/v2/competitions/';
651
+        this.apiUrl2 = 'http://api.football-data.org/v2/teams/';
652
+        this.httpOptions = {
653
+            headers: new __WEBPACK_IMPORTED_MODULE_0__angular_common_http__["c" /* HttpHeaders */]({
654
+                'X-Auth-Token': 'd550e63aaf6349f78dd2199f9d2dc115'
655
+            })
656
+        };
657
+        console.log('Hello LeagueServiceProvider Provider');
658
+    }
659
+    LeagueServiceProvider.prototype.load = function () {
660
+        return this.http.get(this.apiUrl, this.httpOptions);
661
+        // return new Promise(resolve => {
662
+        //   this.http.get(`${this.apiUrl, this.httpOptions}`).subscribe(res => resolve(res.json()));
663
+        // });
664
+    };
665
+    LeagueServiceProvider.prototype.getleagueData = function (tournamentId) {
666
+        var url = this.apiUrl + tournamentId + '/teams';
667
+        console.log(url);
668
+        return this.http.get(this.apiUrl + tournamentId + '/teams', this.httpOptions);
669
+    };
670
+    LeagueServiceProvider.prototype.getTeamMatches = function (teamId) {
671
+        return this.http.get(this.apiUrl2 + teamId + '/matches', this.httpOptions);
672
+    };
673
+    LeagueServiceProvider.prototype.getLeasgueStandings = function (tournamentId) {
674
+        return this.http.get(this.apiUrl + tournamentId + '/standings', this.httpOptions);
675
+    };
676
+    LeagueServiceProvider = __decorate([
677
+        Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
678
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]])
679
+    ], LeagueServiceProvider);
680
+    return LeagueServiceProvider;
681
+}());
682
+
683
+//# sourceMappingURL=league-service.js.map
684
+
685
+/***/ }),
686
+
687
+/***/ 51:
688
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
689
+
690
+"use strict";
691
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyTeamsPage; });
692
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
693
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
694
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tournaments_tournaments__ = __webpack_require__(52);
695
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_api_api__ = __webpack_require__(80);
696
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__sign_up_sign_up__ = __webpack_require__(108);
697
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
698
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
699
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
700
+    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
701
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
702
+};
703
+var __metadata = (this && this.__metadata) || function (k, v) {
704
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
705
+};
706
+
707
+
708
+
709
+
710
+
711
+/**
712
+ * Generated class for the MyTeamsPage page.
713
+ *
714
+ * See https://ionicframework.com/docs/components/#navigation for more info on
715
+ * Ionic pages and navigation.
716
+ */
717
+var MyTeamsPage = /** @class */ (function () {
718
+    function MyTeamsPage(navCtrl, navParams, apiProvider, toastCtrl) {
719
+        this.navCtrl = navCtrl;
720
+        this.navParams = navParams;
721
+        this.apiProvider = apiProvider;
722
+        this.toastCtrl = toastCtrl;
723
+    }
724
+    MyTeamsPage.prototype.myButton = function () {
725
+        this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__tournaments_tournaments__["a" /* TournamentsPage */]);
726
+    };
727
+    MyTeamsPage.prototype.ionViewDidLoad = function () {
728
+        console.log('ionViewDidLoad MyTeamsPage');
729
+    };
730
+    MyTeamsPage.prototype.createAccount = function () {
731
+        this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__sign_up_sign_up__["a" /* SignUpPage */]);
732
+    };
733
+    MyTeamsPage = __decorate([
734
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
735
+            selector: 'page-my-teams',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/my-teams/my-teams.html"*/'<!--\n  Generated template for the MyTeamsPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n  <ion-navbar color="primary">\n    <button menuToggle ion- button icon-only>\n      <ion-icon name ="menu"></ion-icon>\n    </button>\n    <ion-title text-center>MyApp</ion-title>\n  </ion-navbar>\n  <ion-toolbar color="secondary">\n    <ion-title text-center><span style ="color:red">my-teams</span></ion-title>\n  </ion-toolbar>\n\n</ion-header>\n\n\n<ion-content padding>\n  <h4>Welcome to my page</h4>\n  <div class="login-box">\n    <form #registerForm="ngForm"  (ng-submit)="myButton()">\n      <ion-row>\n        <ion-col>\n          <ion-list inset>\n            <ion-item>\n              <ion-input type="text" placeholder="Username" name="name" required [(ngModel)]="Username" ></ion-input>\n            </ion-item>\n            <ion-item>\n              <ion-input type="password" placeholder="Password" name="password" required [(ngModel)]="password"></ion-input>\n            </ion-item>\n          </ion-list>\n        </ion-col>\n      </ion-row>\n      <ion-row>\n        <ion-col class="signup-col">\n          <button ion-button class="submit-btn" full type="submit" (click)="myButton()" [disabled]="!registerForm.form.valid">Login</button>\n        </ion-col>\n      </ion-row>\n    </form>\n    <ion-row>\n      <ion-col color="secondary">\n        <button ion-button class="register-btn" block clear (click)="createAccount()">Create Account</button>\n      </ion-col>\n    </ion-row>\n  </div>\n  \n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/my-teams/my-teams.html"*/,
736
+        }),
737
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_api_api__["a" /* ApiProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["j" /* ToastController */]])
738
+    ], MyTeamsPage);
739
+    return MyTeamsPage;
740
+}());
741
+
742
+//# sourceMappingURL=my-teams.js.map
743
+
744
+/***/ }),
745
+
746
+/***/ 52:
624
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
747
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
625
 
748
 
626
 "use strict";
749
 "use strict";
627
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TournamentsPage; });
750
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TournamentsPage; });
628
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
751
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
629
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
630
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams_teams__ = __webpack_require__(104);
631
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_league_service_league_service__ = __webpack_require__(162);
752
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(15);
753
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams_teams__ = __webpack_require__(103);
754
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_league_service_league_service__ = __webpack_require__(33);
632
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
755
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
633
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
756
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
634
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
757
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
649
  * Ionic pages and navigation.
772
  * Ionic pages and navigation.
650
  */
773
  */
651
 var TournamentsPage = /** @class */ (function () {
774
 var TournamentsPage = /** @class */ (function () {
652
-    function TournamentsPage(navCtrl, navParams, leagueServiceProvider) {
775
+    function TournamentsPage(navCtrl, navParams, leagueServiceProvider, loadingController) {
653
         this.navCtrl = navCtrl;
776
         this.navCtrl = navCtrl;
654
         this.navParams = navParams;
777
         this.navParams = navParams;
655
         this.leagueServiceProvider = leagueServiceProvider;
778
         this.leagueServiceProvider = leagueServiceProvider;
656
-        this.getLeagues();
779
+        this.loadingController = loadingController;
657
     }
780
     }
658
-    TournamentsPage.prototype.getLeagues = function () {
781
+    // getLeagues(){
782
+    //   this.leagueServiceProvider.load().subscribe(data => {
783
+    //     this.leagues = data["competitions"];
784
+    //   });
785
+    // }
786
+    TournamentsPage.prototype.ionViewDidLoad = function () {
659
         var _this = this;
787
         var _this = this;
660
-        this.leagueServiceProvider.load().subscribe(function (data) {
661
-            _this.leagues = data["competitions"];
788
+        //this.leagueServiceProvider.load().then(data => this.leagues = data);
789
+        var loader = this.loadingController.create({
790
+            content: 'Getting tournaments...',
791
+        });
792
+        loader.present().then(function () {
793
+            var areaNames = new Set(['England', 'Spain', 'Germany', 'Italy', 'France']);
794
+            var leaguesNames = new Set(['Premier League', 'Primera Division', 'Bundesliga', 'Serie A', 'Ligue 1']);
795
+            _this.leagueServiceProvider.load().subscribe(function (data) {
796
+                _this.leagues = data["competitions"];
797
+                _this.leagues = _this.leagues.filter(function (x) {
798
+                    return areaNames.has(x.area.name) && leaguesNames.has(x.name);
799
+                });
800
+                loader.dismiss();
801
+            });
662
         });
802
         });
663
     };
803
     };
664
     TournamentsPage.prototype.name = function (n) {
804
     TournamentsPage.prototype.name = function (n) {
667
     TournamentsPage.prototype.itemTapped1 = function () {
807
     TournamentsPage.prototype.itemTapped1 = function () {
668
         this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__teams_teams__["a" /* TeamsPage */]);
808
         this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__teams_teams__["a" /* TeamsPage */]);
669
     };
809
     };
670
-    TournamentsPage.prototype.getToteamsPage = function () {
671
-        this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__teams_teams__["a" /* TeamsPage */]);
672
-    };
673
-    TournamentsPage.prototype.ionViewDidLoad = function () {
674
-        console.log('ionViewDidLoad TournamentsPage');
810
+    TournamentsPage.prototype.goToTeamsPage = function (_$event, leag) {
811
+        this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__teams_teams__["a" /* TeamsPage */], leag);
675
     };
812
     };
676
     TournamentsPage = __decorate([
813
     TournamentsPage = __decorate([
677
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
814
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
678
-            selector: 'page-tournaments',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/tournaments/tournaments.html"*/'\n<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>tournaments</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content color ="secondary">\n    <button ion-button (click)="getToteamsPage()">test</button>\n    <button ion-button class="test" *ngFor="let league of leagues" color="secondary" full (click)="name(league.name)">{{league.name}}</button>\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/tournaments/tournaments.html"*/,
815
+            selector: 'page-tournaments',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/tournaments/tournaments.html"*/'\n<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>Tournaments</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content color ="secondary">\n    <!-- <button ion-item (click)="getToteamsPage($event, league)">test</button> -->\n    <button  class="test" *ngFor="let league of leagues" ion-item (click)="goToTeamsPage($event, league)">{{league.name}}</button>\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/tournaments/tournaments.html"*/,
679
         }),
816
         }),
680
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_league_service_league_service__["a" /* LeagueServiceProvider */]])
817
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */],
818
+            __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */],
819
+            __WEBPACK_IMPORTED_MODULE_3__providers_league_service_league_service__["a" /* LeagueServiceProvider */],
820
+            __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* LoadingController */]])
681
     ], TournamentsPage);
821
     ], TournamentsPage);
682
     return TournamentsPage;
822
     return TournamentsPage;
683
 }());
823
 }());
686
 
826
 
687
 /***/ }),
827
 /***/ }),
688
 
828
 
689
-/***/ 78:
829
+/***/ 80:
690
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
830
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
691
 
831
 
692
 "use strict";
832
 "use strict";
693
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApiProvider; });
833
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApiProvider; });
694
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(79);
834
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_http__ = __webpack_require__(164);
695
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
835
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
696
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
836
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
697
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
837
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
713
 var ApiProvider = /** @class */ (function () {
853
 var ApiProvider = /** @class */ (function () {
714
     function ApiProvider(http) {
854
     function ApiProvider(http) {
715
         this.http = http;
855
         this.http = http;
856
+        this.baseUrl = 'http:localhost:8080/user';
716
         console.log('Hello ApiProvider Provider');
857
         console.log('Hello ApiProvider Provider');
717
     }
858
     }
718
     ApiProvider.prototype.getUsers = function () {
859
     ApiProvider.prototype.getUsers = function () {
719
-        return this.http.get('http:localhost:8080/user');
860
+        var _this = this;
861
+        return new Promise(function (resolve) {
862
+            _this.http.get(_this.baseUrl + "/all.json").subscribe(function (res) { return resolve(res.json()); });
863
+        });
720
     };
864
     };
721
     ApiProvider.prototype.saveUser = function (createAccountInfo) {
865
     ApiProvider.prototype.saveUser = function (createAccountInfo) {
722
         //return this.http.post(`http://localhost:8080/user/add?username=${createAccountInfo.name}&email=${createAccountInfo.email}&password=${createAccountInfo.password}`, {})
866
         //return this.http.post(`http://localhost:8080/user/add?username=${createAccountInfo.name}&email=${createAccountInfo.email}&password=${createAccountInfo.password}`, {})
724
     };
868
     };
725
     ApiProvider = __decorate([
869
     ApiProvider = __decorate([
726
         Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
870
         Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
727
-        __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]) === "function" && _a || Object])
871
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_http__["a" /* Http */]])
728
     ], ApiProvider);
872
     ], ApiProvider);
729
     return ApiProvider;
873
     return ApiProvider;
730
-    var _a;
731
 }());
874
 }());
732
 
875
 
733
 //# sourceMappingURL=api.js.map
876
 //# sourceMappingURL=api.js.map
734
 
877
 
735
 /***/ })
878
 /***/ })
736
 
879
 
737
-},[206]);
880
+},[208]);
738
 //# sourceMappingURL=main.js.map
881
 //# sourceMappingURL=main.js.map

+ 1
- 1
ionic-fb/www/build/main.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 18363
- 15554
ionic-fb/www/build/vendor.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 1
- 1
ionic-fb/www/build/vendor.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 3
- 0
ionic-fb/www/index.html Datei anzeigen

1
 <!DOCTYPE html>
1
 <!DOCTYPE html>
2
 <html lang="en" dir="ltr">
2
 <html lang="en" dir="ltr">
3
 <head>
3
 <head>
4
+  <script data-ionic="inject">
5
+    (function(w){var i=w.Ionic=w.Ionic||{};i.version='3.9.2';i.angular='5.2.11';i.staticDir='build/';})(window);
6
+  </script>
4
   <meta charset="UTF-8">
7
   <meta charset="UTF-8">
5
   <title>Ionic App</title>
8
   <title>Ionic App</title>
6
   <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
9
   <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

+ 3
- 2
server/src/main/java/com/example/demo/user/UserController.java Datei anzeigen

1
 package com.example.demo.user;
1
 package com.example.demo.user;
2
 
2
 
3
+import com.fasterxml.jackson.core.JsonProcessingException;
3
 import com.fasterxml.jackson.databind.ObjectMapper;
4
 import com.fasterxml.jackson.databind.ObjectMapper;
4
 import org.springframework.beans.factory.annotation.Autowired;
5
 import org.springframework.beans.factory.annotation.Autowired;
5
 import org.springframework.http.ResponseEntity;
6
 import org.springframework.http.ResponseEntity;
18
     @PostMapping(path="/add")
19
     @PostMapping(path="/add")
19
     //public @ResponseBody String addNewUser(@RequestParam String username, @RequestParam String email, @RequestParam String password){ //ResponseBody means the returned string is the response
20
     //public @ResponseBody String addNewUser(@RequestParam String username, @RequestParam String email, @RequestParam String password){ //ResponseBody means the returned string is the response
20
         //RequestParam means it is a parameter from a GET or POST request
21
         //RequestParam means it is a parameter from a GET or POST request
21
-      public @ResponseBody String addNewuser(@RequestBody User user) {
22
+      public @ResponseBody String addNewUser(@RequestBody User user) throws JsonProcessingException {
22
         userRepository.save(user);
23
         userRepository.save(user);
23
-        return "saved";
24
+        return om.writeValueAsString(user);
24
     }
25
     }
25
 
26
 
26
     @GetMapping(path="/all")
27
     @GetMapping(path="/all")