game menu added

This commit is contained in:
byung eun park 2019-07-31 15:12:13 +09:00
parent 29313a6aff
commit 928b2d419d
24 changed files with 243 additions and 22 deletions

View File

@ -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',
}
]
},

View File

@ -0,0 +1 @@
<p>bet-history works!</p>

View File

@ -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<BetHistoryComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ BetHistoryComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(BetHistoryComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -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() {
}
}

View File

@ -0,0 +1 @@
<p>except-auto-regist works!</p>

View File

@ -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<ExceptAutoRegistComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ExceptAutoRegistComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ExceptAutoRegistComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -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() {
}
}

View File

@ -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
];

View File

@ -0,0 +1 @@
<p>item-management works!</p>

View File

@ -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<ItemManagementComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ItemManagementComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ItemManagementComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -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() {
}
}

View File

@ -0,0 +1 @@
<p>league-management works!</p>

View File

@ -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<LeagueManagementComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ LeagueManagementComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(LeagueManagementComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -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() {
}
}

View File

@ -0,0 +1 @@
<p>settlement works!</p>

View File

@ -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<SettlementComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ SettlementComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SettlementComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -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() {
}
}

View File

@ -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 { }

View File

@ -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({