From 928b2d419d0f6bdbe935dd7cd68b4975c5b10dbf Mon Sep 17 00:00:00 2001 From: byung eun park Date: Wed, 31 Jul 2019 15:12:13 +0900 Subject: [PATCH] game menu added --- src/app/navigation/navigation.ts | 2 +- .../bet-history/bet-history.component.html | 1 + .../bet-history/bet-history.component.scss | 0 .../bet-history/bet-history.component.spec.ts | 25 +++++++++++ .../bet-history/bet-history.component.ts | 15 +++++++ .../except-auto-regist.component.html | 1 + .../except-auto-regist.component.scss | 0 .../except-auto-regist.component.spec.ts | 25 +++++++++++ .../except-auto-regist.component.ts | 15 +++++++ src/app/pages/games/component/index.ts | 12 +++++- .../item-management.component.html | 1 + .../item-management.component.scss | 0 .../item-management.component.spec.ts | 25 +++++++++++ .../item-management.component.ts | 15 +++++++ .../league-management.component.html | 1 + .../league-management.component.scss | 0 .../league-management.component.spec.ts | 25 +++++++++++ .../league-management.component.ts | 15 +++++++ .../settlement/settlement.component.html | 1 + .../settlement/settlement.component.scss | 0 .../settlement/settlement.component.spec.ts | 25 +++++++++++ .../settlement/settlement.component.ts | 15 +++++++ src/app/pages/games/games.module.ts | 3 -- .../games/manage/manage-routing.module.ts | 43 +++++++++++-------- 24 files changed, 243 insertions(+), 22 deletions(-) create mode 100644 src/app/pages/games/component/bet-history/bet-history.component.html create mode 100644 src/app/pages/games/component/bet-history/bet-history.component.scss create mode 100644 src/app/pages/games/component/bet-history/bet-history.component.spec.ts create mode 100644 src/app/pages/games/component/bet-history/bet-history.component.ts create mode 100644 src/app/pages/games/component/except-auto-regist/except-auto-regist.component.html create mode 100644 src/app/pages/games/component/except-auto-regist/except-auto-regist.component.scss create mode 100644 src/app/pages/games/component/except-auto-regist/except-auto-regist.component.spec.ts create mode 100644 src/app/pages/games/component/except-auto-regist/except-auto-regist.component.ts create mode 100644 src/app/pages/games/component/item-management/item-management.component.html create mode 100644 src/app/pages/games/component/item-management/item-management.component.scss create mode 100644 src/app/pages/games/component/item-management/item-management.component.spec.ts create mode 100644 src/app/pages/games/component/item-management/item-management.component.ts create mode 100644 src/app/pages/games/component/league-management/league-management.component.html create mode 100644 src/app/pages/games/component/league-management/league-management.component.scss create mode 100644 src/app/pages/games/component/league-management/league-management.component.spec.ts create mode 100644 src/app/pages/games/component/league-management/league-management.component.ts create mode 100644 src/app/pages/games/component/settlement/settlement.component.html create mode 100644 src/app/pages/games/component/settlement/settlement.component.scss create mode 100644 src/app/pages/games/component/settlement/settlement.component.spec.ts create mode 100644 src/app/pages/games/component/settlement/settlement.component.ts diff --git a/src/app/navigation/navigation.ts b/src/app/navigation/navigation.ts index 34b1610..1a2762b 100644 --- a/src/app/navigation/navigation.ts +++ b/src/app/navigation/navigation.ts @@ -143,7 +143,7 @@ export const navigation: FuseNavigation[] = [ translate: 'NAV.EXCEPT_AUTO_REGIST.TITLE', type: 'item', icon: 'email', - url: '/pages/games/management//except-auto-regist', + url: '/pages/games/management/except-auto-regist', } ] }, diff --git a/src/app/pages/games/component/bet-history/bet-history.component.html b/src/app/pages/games/component/bet-history/bet-history.component.html new file mode 100644 index 0000000..c30a705 --- /dev/null +++ b/src/app/pages/games/component/bet-history/bet-history.component.html @@ -0,0 +1 @@ +

bet-history works!

diff --git a/src/app/pages/games/component/bet-history/bet-history.component.scss b/src/app/pages/games/component/bet-history/bet-history.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/games/component/bet-history/bet-history.component.spec.ts b/src/app/pages/games/component/bet-history/bet-history.component.spec.ts new file mode 100644 index 0000000..78d963e --- /dev/null +++ b/src/app/pages/games/component/bet-history/bet-history.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BetHistoryComponent } from './bet-history.component'; + +describe('BetHistoryComponent', () => { + let component: BetHistoryComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ BetHistoryComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(BetHistoryComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/pages/games/component/bet-history/bet-history.component.ts b/src/app/pages/games/component/bet-history/bet-history.component.ts new file mode 100644 index 0000000..68fae69 --- /dev/null +++ b/src/app/pages/games/component/bet-history/bet-history.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-bet-history', + templateUrl: './bet-history.component.html', + styleUrls: ['./bet-history.component.scss'] +}) +export class BetHistoryComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.html b/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.html new file mode 100644 index 0000000..2a4ea17 --- /dev/null +++ b/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.html @@ -0,0 +1 @@ +

except-auto-regist works!

diff --git a/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.scss b/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.spec.ts b/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.spec.ts new file mode 100644 index 0000000..a752a7d --- /dev/null +++ b/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ExceptAutoRegistComponent } from './except-auto-regist.component'; + +describe('ExceptAutoRegistComponent', () => { + let component: ExceptAutoRegistComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ ExceptAutoRegistComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ExceptAutoRegistComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.ts b/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.ts new file mode 100644 index 0000000..315dd30 --- /dev/null +++ b/src/app/pages/games/component/except-auto-regist/except-auto-regist.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-except-auto-regist', + templateUrl: './except-auto-regist.component.html', + styleUrls: ['./except-auto-regist.component.scss'] +}) +export class ExceptAutoRegistComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/pages/games/component/index.ts b/src/app/pages/games/component/index.ts index 34dcdbd..cfce932 100644 --- a/src/app/pages/games/component/index.ts +++ b/src/app/pages/games/component/index.ts @@ -3,11 +3,21 @@ import { SportMixComponent } from '../component/sport-mix/sport-mix.component'; import { MiniGameComponent } from '../component/mini-game/mini-game.component'; import { MiniGameSettingsComponent } from '../component/mini-game-settings/mini-game-settings.component'; import { ExcelRegistComponent } from '../component/excel-regist/excel-regist.component'; +import { BetHistoryComponent } from '../component/bet-history/bet-history.component'; +import { SettlementComponent } from '../component/settlement/settlement.component'; +import { ItemManagementComponent } from '../component/item-management/item-management.component'; +import { LeagueManagementComponent } from '../component/league-management/league-management.component'; +import { ExceptAutoRegistComponent } from '../component/except-auto-regist/except-auto-regist.component'; export const COMPONENTS = [ SportResultComponent, SportMixComponent, MiniGameComponent, MiniGameSettingsComponent, - ExcelRegistComponent + ExcelRegistComponent, + BetHistoryComponent, + SettlementComponent, + ItemManagementComponent, + LeagueManagementComponent, + ExceptAutoRegistComponent ]; diff --git a/src/app/pages/games/component/item-management/item-management.component.html b/src/app/pages/games/component/item-management/item-management.component.html new file mode 100644 index 0000000..35bf13d --- /dev/null +++ b/src/app/pages/games/component/item-management/item-management.component.html @@ -0,0 +1 @@ +

item-management works!

diff --git a/src/app/pages/games/component/item-management/item-management.component.scss b/src/app/pages/games/component/item-management/item-management.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/games/component/item-management/item-management.component.spec.ts b/src/app/pages/games/component/item-management/item-management.component.spec.ts new file mode 100644 index 0000000..c01e5e4 --- /dev/null +++ b/src/app/pages/games/component/item-management/item-management.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ItemManagementComponent } from './item-management.component'; + +describe('ItemManagementComponent', () => { + let component: ItemManagementComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ ItemManagementComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ItemManagementComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/pages/games/component/item-management/item-management.component.ts b/src/app/pages/games/component/item-management/item-management.component.ts new file mode 100644 index 0000000..d6a58f5 --- /dev/null +++ b/src/app/pages/games/component/item-management/item-management.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-item-management', + templateUrl: './item-management.component.html', + styleUrls: ['./item-management.component.scss'] +}) +export class ItemManagementComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/pages/games/component/league-management/league-management.component.html b/src/app/pages/games/component/league-management/league-management.component.html new file mode 100644 index 0000000..ddd48ad --- /dev/null +++ b/src/app/pages/games/component/league-management/league-management.component.html @@ -0,0 +1 @@ +

league-management works!

diff --git a/src/app/pages/games/component/league-management/league-management.component.scss b/src/app/pages/games/component/league-management/league-management.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/games/component/league-management/league-management.component.spec.ts b/src/app/pages/games/component/league-management/league-management.component.spec.ts new file mode 100644 index 0000000..b338e35 --- /dev/null +++ b/src/app/pages/games/component/league-management/league-management.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LeagueManagementComponent } from './league-management.component'; + +describe('LeagueManagementComponent', () => { + let component: LeagueManagementComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ LeagueManagementComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(LeagueManagementComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/pages/games/component/league-management/league-management.component.ts b/src/app/pages/games/component/league-management/league-management.component.ts new file mode 100644 index 0000000..edd1546 --- /dev/null +++ b/src/app/pages/games/component/league-management/league-management.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-league-management', + templateUrl: './league-management.component.html', + styleUrls: ['./league-management.component.scss'] +}) +export class LeagueManagementComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/pages/games/component/settlement/settlement.component.html b/src/app/pages/games/component/settlement/settlement.component.html new file mode 100644 index 0000000..a9bc3f7 --- /dev/null +++ b/src/app/pages/games/component/settlement/settlement.component.html @@ -0,0 +1 @@ +

settlement works!

diff --git a/src/app/pages/games/component/settlement/settlement.component.scss b/src/app/pages/games/component/settlement/settlement.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/games/component/settlement/settlement.component.spec.ts b/src/app/pages/games/component/settlement/settlement.component.spec.ts new file mode 100644 index 0000000..7f2b46a --- /dev/null +++ b/src/app/pages/games/component/settlement/settlement.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SettlementComponent } from './settlement.component'; + +describe('SettlementComponent', () => { + let component: SettlementComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ SettlementComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(SettlementComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/pages/games/component/settlement/settlement.component.ts b/src/app/pages/games/component/settlement/settlement.component.ts new file mode 100644 index 0000000..092b4aa --- /dev/null +++ b/src/app/pages/games/component/settlement/settlement.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-settlement', + templateUrl: './settlement.component.html', + styleUrls: ['./settlement.component.scss'] +}) +export class SettlementComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/pages/games/games.module.ts b/src/app/pages/games/games.module.ts index 0cf6b3d..06b8c13 100644 --- a/src/app/pages/games/games.module.ts +++ b/src/app/pages/games/games.module.ts @@ -1,8 +1,6 @@ import { NgModule } from '@angular/core'; import { FuseSharedModule } from 'src/@fuse/shared.module'; import { GamesRoutingModule } from './games-routing.module'; -import { MiniGameSettingsComponent } from './component/mini-game-settings/mini-game-settings.component'; -import { ExcelRegistComponent } from './component/excel-regist/excel-regist.component'; @NgModule({ @@ -10,6 +8,5 @@ import { ExcelRegistComponent } from './component/excel-regist/excel-regist.comp FuseSharedModule, GamesRoutingModule ], - }) export class GamesModule { } diff --git a/src/app/pages/games/manage/manage-routing.module.ts b/src/app/pages/games/manage/manage-routing.module.ts index ce9f289..04a46cf 100644 --- a/src/app/pages/games/manage/manage-routing.module.ts +++ b/src/app/pages/games/manage/manage-routing.module.ts @@ -5,6 +5,11 @@ import { SportMixComponent } from '../component/sport-mix/sport-mix.component'; import { MiniGameComponent } from '../component/mini-game/mini-game.component'; import { MiniGameSettingsComponent } from '../component/mini-game-settings/mini-game-settings.component'; import { ExcelRegistComponent } from '../component/excel-regist/excel-regist.component'; +import { BetHistoryComponent } from '../component/bet-history/bet-history.component'; +import { SettlementComponent } from '../component/settlement/settlement.component'; +import { ItemManagementComponent } from '../component/item-management/item-management.component'; +import { LeagueManagementComponent } from '../component/league-management/league-management.component'; +import { ExceptAutoRegistComponent } from '../component/except-auto-regist/except-auto-regist.component'; const routes: Routes = [ @@ -28,23 +33,27 @@ const routes: Routes = [ path: 'excel-regist', component: ExcelRegistComponent }, - // { - // path: 'connect', - // component: UserConnectComponent - // }, - // { - // path: 'regist', - // component: UserRegistComponent - // }, - // { - // path: 'fees', - // component: UserFeesComponent - // } - // , - // { - // path: 'attendance', - // component: UserAttendanceComponent - // } + { + path: 'bet-history', + component: BetHistoryComponent + }, + { + path: 'settlement', + component: SettlementComponent + }, + { + path: 'item-management', + component: ItemManagementComponent + } + , + { + path: 'league-management', + component: LeagueManagementComponent + }, + { + path: 'except-auto-regist', + component: ExceptAutoRegistComponent + } ]; @NgModule({