menu modify

This commit is contained in:
byung eun park 2019-08-07 14:51:10 +09:00
parent a8af79c2ce
commit 16d721e5be
5 changed files with 263 additions and 200 deletions

View File

@ -2,31 +2,32 @@ export const locale = {
lang: 'en',
data: {
NAV: {
DASHBOARD: 'Dashboard',
USERS: 'User-Management',
APPLICATIONS: 'Application',
USER_LIST: {
DASHBOARD: '대시보드',
APPLICATIONS: '어플리케이션',
USERS: {
TITLE: 'User-Management',
LIST: {
TITLE: 'User List',
BADGE: '15'
},
USER_CONNECT_LIST: {
CONNECT_LIST: {
TITLE: 'Current Connect List',
BADGE: '15'
},
USER_REGIST: {
REGIST: {
TITLE: 'SignUp',
},
USER_FEES_MANAGEMENT: {
FEES_MANAGEMENT: {
TITLE: 'Fees Management',
},
USER_ATTENDANCE_MANAGEMENT: {
ATTENDANCE_MANAGEMENT: {
TITLE: 'Attendance Management',
},
GAME_MANAGEMENT: 'Game Management',
SPORT_RESULT_MANAGEMENT: {
},
GAME: {
TITLE: 'Game Management',
SPORT_RESULT: {
TITLE: 'Sport Result Management',
},
SPORT_MIX_MANAGEMENT: {
SPORT_MIX: {
TITLE: 'Sport Mix Management',
},
MINI_GAME: {
@ -53,7 +54,9 @@ export const locale = {
EXCEPT_AUTO_REGIST: {
TITLE: 'Except Auto Regist'
},
DEPOSIT_WITHDRAWAL_MANAGEMENT: 'Depost/Withdrawal Management',
},
DEPOSIT_WITHDRAWAL: {
TITLE: 'Depost/Withdrawal Management',
DEPOST: {
TITLE: 'Deposit Management'
},
@ -69,8 +72,9 @@ export const locale = {
DAILY_SETTLEMENT: {
TITLE: 'Daily Settlement'
},
INFO_MANAGEMENT: 'Info Management',
},
INFO: {
TITLE: 'Info Management',
SERVICE_CENTER_MANAGEMENT: {
TITLE: 'Service Center'
},
@ -96,8 +100,29 @@ export const locale = {
TITLE: 'Board Regist'
}
},
SITE_MANAGEMENT: 'Site Management',
SITE: {
TITLE: 'Site Management',
DEFAULT_SET: {
TITLE: 'Default Setting'
},
ACCOUNT_SEPARATE: {
TITLE: 'Account Separate'
},
SET_BET_AMOUNT: {
TITLE: 'Set Bet Amount'
},
BLOCK_IP: {
TITLE: 'Block IP'
},
ADMIN_IP: {
TITLE: 'Admin IP'
},
SET_LEVEL: {
TITLE: 'Level Manage'
},
},
SPECIAL: {
TITLE: '특수관리',
ROULETTE_COUPON: {
TITLE: 'Roulette Coupon Manage'
},
@ -114,8 +139,9 @@ export const locale = {
TITLE: 'Check Notice'
},
},
SPECIAL_MANAGEMENT: 'Special Management',
SUPPORT_MANAGEMENT: 'Support Management'
SUPPORT: {
TITLE: 'Support Management',
}
}
}
};

View File

@ -3,28 +3,31 @@ export const locale = {
data: {
NAV: {
DASHBOARD: '대시보드',
USERS: '회원 관리',
APPLICATIONS: '어플리케이션',
USER_LIST: {
USERS: {
TITLE: '회원관리',
LIST: {
TITLE: '회원 리스트',
},
USER_CONNECT_LIST: {
CONNECT_LIST: {
TITLE: '현재접속자',
},
USER_REGIST: {
REGIST: {
TITLE: '회원가입',
},
USER_FEES_MANAGEMENT: {
FEES_MANAGEMENT: {
TITLE: '커미션 설정',
},
USER_ATTENDANCE_MANAGEMENT: {
ATTENDANCE_MANAGEMENT: {
TITLE: '출석 관리',
},
GAME_MANAGEMENT: '게임관리',
SPORT_RESULT_MANAGEMENT: {
},
GAME: {
TITLE: '게임관리',
SPORT_RESULT: {
TITLE: '결과입력 및 수정',
},
SPORT_MIX_MANAGEMENT: {
SPORT_MIX: {
TITLE: '스포츠 조합설정',
},
MINI_GAME: {
@ -51,7 +54,9 @@ export const locale = {
EXCEPT_AUTO_REGIST: {
TITLE: '자동등록 제외'
},
DEPOSIT_WITHDRAWAL_MANAGEMENT: '입출금 관리',
},
DEPOSIT_WITHDRAWAL: {
TITLE: '입출금 관리',
DEPOST: {
TITLE: '충전 관리'
},
@ -67,8 +72,9 @@ export const locale = {
DAILY_SETTLEMENT: {
TITLE: '일일정산'
},
INFO_MANAGEMENT: '정보관리',
},
INFO: {
TITLE: '정보관리',
SERVICE_CENTER_MANAGEMENT: {
TITLE: '고객센터 관리'
},
@ -94,8 +100,8 @@ export const locale = {
TITLE: '게시판 작성'
}
},
SITE_MANAGEMENT: '사이트 관리',
SITE: {
TITLE: '사이트 관리',
DEFAULT_SET: {
TITLE: '기본설정 관리'
},
@ -115,8 +121,8 @@ export const locale = {
TITLE: '레벨 설정관리'
},
},
SPECIAL_MANAGEMENT: '특수관리',
SPECIAL: {
TITLE: '특수관리',
ROULETTE_COUPON: {
TITLE: '룰렛쿠폰관리'
},
@ -133,7 +139,9 @@ export const locale = {
TITLE: '점검공지 관리'
},
},
SUPPORT_MANAGEMENT: '받치기관리'
SUPPORT: {
TITLE: '받치기관리',
}
}
}
};

View File

@ -12,13 +12,13 @@ export const navigation: FuseNavigation[] = [
{
id: 'users',
title: '회원 관리',
translate: 'NAV.USERS',
translate: 'NAV.USERS.TITLE',
type: 'collapsable',
children: [
{
id: 'user_list',
title: '회원 리스트',
translate: 'NAV.USER_LIST.TITLE',
translate: 'NAV.USERS.LIST.TITLE',
type: 'item',
icon: 'email',
url: '/pages/users/management/list',
@ -27,7 +27,7 @@ export const navigation: FuseNavigation[] = [
{
id: 'user_connect_list',
title: '현재접속자',
translate: 'NAV.USER_CONNECT_LIST.TITLE',
translate: 'NAV.USERS.CONNECT_LIST.TITLE',
type: 'item',
icon: 'email',
url: '/pages/users/management/connect',
@ -36,7 +36,7 @@ export const navigation: FuseNavigation[] = [
{
id: 'user_regist',
title: '회원가입',
translate: 'NAV.USER_REGIST.TITLE',
translate: 'NAV.USERS.REGIST.TITLE',
type: 'item',
icon: 'email',
url: '/pages/users/management/regist'
@ -44,7 +44,7 @@ export const navigation: FuseNavigation[] = [
{
id: 'user_fees_management',
title: '커미션 설정',
translate: 'NAV.USER_FEES_MANAGEMENT.TITLE',
translate: 'NAV.USERS.FEES_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/pages/users/management/fees'
@ -52,7 +52,7 @@ export const navigation: FuseNavigation[] = [
{
id: 'user_attendance_management',
title: '출석관리',
translate: 'NAV.USER_ATTENDANCE_MANAGEMENT.TITLE',
translate: 'NAV.USERS.ATTENDANCE_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/pages/users/management/attendance'
@ -62,53 +62,53 @@ export const navigation: FuseNavigation[] = [
{
id: 'gameManagement',
title: '게임관리',
translate: 'NAV.GAME_MANAGEMENT',
translate: 'NAV.GAME.TITLE',
type: 'collapsable',
children: [
{
id: 'sportResultManagement',
id: 'sportResult_management',
title: '결과입력 및 수정',
translate: 'NAV.SPORT_RESULT_MANAGEMENT.TITLE',
translate: 'NAV.GAME.SPORT_RESULT.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/sport-result',
},
{
id: 'sportMixManagement',
id: 'sportMix_management',
title: '스포츠 조합설정',
translate: 'NAV.SPORT_MIX_MANAGEMENT.TITLE',
translate: 'NAV.GAME.SPORT_MIX.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/sport-mix',
},
{
id: 'miniGame',
id: 'mini_game',
title: '미니게임',
translate: 'NAV.MINI_GAME.TITLE',
translate: 'NAV.GAME.MINI_GAME.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/mini-game',
},
{
id: 'miniGameManagement',
id: 'mini_game_management',
title: '미니게임 관리',
translate: 'NAV.MINI_GAME_MANAGEMENT.TITLE',
translate: 'NAV.GAME.MINI_GAME_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/mini-game-settings',
},
{
id: 'excelRegist',
id: 'excel_regist',
title: '엑셀등록',
translate: 'NAV.EXCEL_REGIST.TITLE',
translate: 'NAV.GAME.EXCEL_REGIST.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/excel-regist',
},
{
id: 'betHistory',
id: 'bet_history',
title: '배팅내역',
translate: 'NAV.BET_HISTORY.TITLE',
translate: 'NAV.GAME.BET_HISTORY.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/bet-history',
@ -116,31 +116,31 @@ export const navigation: FuseNavigation[] = [
{
id: 'settlement',
title: '정산하기',
translate: 'NAV.SETTLEMENT.TITLE',
translate: 'NAV.GAME.SETTLEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/settlement',
},
{
id: 'itemManagement',
id: 'item_management',
title: '종목관리',
translate: 'NAV.ITEM_MANAGEMENT.TITLE',
translate: 'NAV.GAME.ITEM_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/item-management',
},
{
id: 'leagueManagement',
id: 'league_management',
title: '리그관리',
translate: 'NAV.LEAGUE_MANAGEMENT.TITLE',
translate: 'NAV.GAME.LEAGUE_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/league-management',
},
{
id: 'exceptAutoRegist',
id: 'except_auto_regist',
title: '자동등록 제외',
translate: 'NAV.EXCEPT_AUTO_REGIST.TITLE',
translate: 'NAV.GAME.EXCEPT_AUTO_REGIST.TITLE',
type: 'item',
icon: 'email',
url: '/pages/games/management/except-auto-regist',
@ -148,15 +148,15 @@ export const navigation: FuseNavigation[] = [
]
},
{
id: 'depositWithdrawalManagemnet',
id: 'deposit_withdrawal_managemnet',
title: '입출금관리',
translate: 'NAV.DEPOSIT_WITHDRAWAL_MANAGEMENT',
translate: 'NAV.DEPOSIT_WITHDRAWAL.TITLE',
type: 'collapsable',
children: [
{
id: 'deposit',
title: '충전관리',
translate: 'NAV.DEPOST.TITLE',
translate: 'NAV.DEPOSIT_WITHDRAWAL.DEPOST.TITLE',
type: 'item',
icon: 'email',
url: '/pages/deposit/management/deposit-management',
@ -164,31 +164,31 @@ export const navigation: FuseNavigation[] = [
{
id: 'withdrawal',
title: '환전관리',
translate: 'NAV.WITHDRAWAL.TITLE',
translate: 'NAV.DEPOSIT_WITHDRAWAL.WITHDRAWAL.TITLE',
type: 'item',
icon: 'email',
url: '/pages/deposit/management/withdrawal-management',
},
{
id: 'moneyLog',
id: 'money_log',
title: '머니 LOG',
translate: 'NAV.MONEY_LOG.TITLE',
translate: 'NAV.DEPOSIT_WITHDRAWAL.MONEY_LOG.TITLE',
type: 'item',
icon: 'email',
url: '/pages/deposit/management/money-log',
},
{
id: 'pointLog',
id: 'point_log',
title: '포인트 LOG',
translate: 'NAV.POINT_LOG.TITLE',
translate: 'NAV.DEPOSIT_WITHDRAWAL.POINT_LOG.TITLE',
type: 'item',
icon: 'email',
url: '/pages/deposit/management/point-log',
},
{
id: 'dailySettlement',
id: 'daily_settlement',
title: '일일정산',
translate: 'NAV.DAILY_SETTLEMENT.TITLE',
translate: 'NAV.DEPOSIT_WITHDRAWAL.DAILY_SETTLEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/pages/deposit/management/dauly-settlement',
@ -196,13 +196,13 @@ export const navigation: FuseNavigation[] = [
]
},
{
id: 'infoManagement',
id: 'info_management',
title: '정보관리',
translate: 'NAV.INFO_MANAGEMENT',
translate: 'NAV.INFO.TITLE',
type: 'collapsable',
children: [
{
id: 'serviceCenter',
id: 'service_center',
title: '고객센터 관리',
translate: 'NAV.INFO.SERVICE_CENTER_MANAGEMENT.TITLE',
type: 'item',
@ -210,7 +210,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'sendMessage',
id: 'send_message',
title: '보낸메세지 관리',
translate: 'NAV.INFO.SEND_MESSAGE_MANAGEMENT.TITLE',
type: 'item',
@ -218,7 +218,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'freeBoard',
id: 'free_board',
title: '자유게시판 관리',
translate: 'NAV.INFO.FREE_BOARD_MANAGEMENT.TITLE',
type: 'item',
@ -227,7 +227,7 @@ export const navigation: FuseNavigation[] = [
}
,
{
id: 'betRule',
id: 'bet_rule',
title: '배팅규정',
translate: 'NAV.INFO.BET_RULE.TITLE',
type: 'item',
@ -236,7 +236,7 @@ export const navigation: FuseNavigation[] = [
}
,
{
id: 'popupSetting',
id: 'popup_setting',
title: '팝업창',
translate: 'NAV.INFO.POPUP_SETTING.TITLE',
type: 'item',
@ -245,7 +245,7 @@ export const navigation: FuseNavigation[] = [
}
,
{
id: 'mainEventRegist',
id: 'main_event_regist',
title: '메인 이벤트 등록',
translate: 'NAV.INFO.MAIN_EVENT_REGIST.TITLE',
type: 'item',
@ -254,7 +254,7 @@ export const navigation: FuseNavigation[] = [
}
,
{
id: 'noticeBoard',
id: 'notice_board',
title: '공지사항 관리',
translate: 'NAV.INFO.NOTICE_BOARD_MANAGEMENT.TITLE',
type: 'item',
@ -262,7 +262,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'boardRegist',
id: 'board_regist',
title: '게시판 작성',
translate: 'NAV.INFO.BOARD_REGIST.TITLE',
type: 'item',
@ -272,13 +272,13 @@ export const navigation: FuseNavigation[] = [
]
},
{
id: 'siteManagement',
id: 'site_management',
title: '사이트 관리',
translate: 'NAV.SITE_MANAGEMENT',
translate: 'NAV.SITE.TITLE',
type: 'collapsable',
children: [
{
id: 'defaultSet',
id: 'default_set',
title: '기본설정 관리',
translate: 'NAV.SITE.DEFAULT_SET.TITLE',
type: 'item',
@ -286,7 +286,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'accountSeparate',
id: 'account_separate',
title: '계좌분리',
translate: 'NAV.SITE.ACCOUNT_SEPARATE.TITLE',
type: 'item',
@ -294,7 +294,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'setBetAmount',
id: 'set_bet_amount',
title: '배팅금액 설정',
translate: 'NAV.SITE.SET_BET_AMOUNT.TITLE',
type: 'item',
@ -302,7 +302,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'blockIp',
id: 'block_ip',
title: '차단 아이피 관리',
translate: 'NAV.SITE.BLOCK_IP.TITLE',
type: 'item',
@ -310,7 +310,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'adminIp',
id: 'admin_ip',
title: '어드민 아이피 관리',
translate: 'NAV.SITE.ADMIN_IP.TITLE',
type: 'item',
@ -318,7 +318,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'setLevel',
id: 'set_level',
title: '레벨 설정관리',
translate: 'NAV.SITE.SET_LEVEL.TITLE',
type: 'item',
@ -328,13 +328,13 @@ export const navigation: FuseNavigation[] = [
]
},
{
id: 'specialManagement',
id: 'special_management',
title: '특수 관리',
translate: 'NAV.SPECIAL_MANAGEMENT',
translate: 'NAV.SPECIAL.TITLE',
type: 'collapsable',
children: [
{
id: 'rouletteCoupon',
id: 'roulette_coupon',
title: '룰렛쿠폰관리',
translate: 'NAV.SPECIAL.ROULETTE_COUPON.TITLE',
type: 'item',
@ -342,7 +342,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'fixBonus',
id: 'fix_bonus',
title: '고정 보너스',
translate: 'NAV.SPECIAL.FIX_BONUS.TITLE',
type: 'item',
@ -350,7 +350,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'miniGameMartin',
id: 'mini_game_martin',
title: '미니게임 마틴관리',
translate: 'NAV.SPECIAL.MINI_GAME_MARTIN.TITLE',
type: 'item',
@ -358,7 +358,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'setAlert',
id: 'set_alert',
title: '알람설정',
translate: 'NAV.SPECIAL.SET_ALERT.TITLE',
type: 'item',
@ -366,7 +366,7 @@ export const navigation: FuseNavigation[] = [
url: '/sample',
},
{
id: 'checkNotice',
id: 'check_notice',
title: '점검공지 관리',
translate: 'NAV.SPECIAL.CHECK_NOTICE.TITLE',
type: 'item',
@ -376,9 +376,9 @@ export const navigation: FuseNavigation[] = [
]
},
{
id: 'supportManagement',
id: 'support_management',
title: '받치기 관리',
translate: 'NAV.SUPPORT_MANAGEMENT',
translate: 'NAV.SUPPORT.TITLE',
type: 'collapsable',
children: [
{

View File

@ -18,12 +18,12 @@
<!-- / APP TITLE -->
<!-- SEARCH -->
<div class="search-wrapper ml-sm-32">
<!-- <div class="search-wrapper ml-sm-32">
<div class="search" fxFlex fxLayout="row" fxLayoutAlign="start center">
<mat-icon>search</mat-icon>
<input #filter placeholder="Search for an order" />
</div>
</div>
</div> -->
<!-- / SEARCH -->
</div>
<!-- / HEADER -->
@ -119,7 +119,18 @@
</mat-paginator>
</div>
<!-- / CONTENT CARD -->
<div class="mb-24" fxLayout="column" fxLayoutAlign="center" fxLayout.gt-md="row">
<form class="mat-card mat-elevation-z4 p-24 mr-24" fxLayout="column" fxLayoutAlign="start" fxFlex="1 0 auto"
name="form" [formGroup]="form">
<div fxLayout="row" fxLayoutAlign="start center" fxFlex="1 0 auto">
<mat-form-field appearance="outline" fxFlex="25" class="pr-4">
<mat-label>First name</mat-label>
<input matInput formControlName="firstName">
<mat-icon matSuffix class="secondary-text">account_circle</mat-icon>
</mat-form-field>
</div>
</form>
</div>
</div>
<!-- / CENTER -->
</div>
쪽지보내기 들어갈 자리

View File

@ -11,6 +11,7 @@ import { fuseAnimations } from 'src/@fuse/animations';
import { BehaviorSubject, fromEvent, merge, Observable, Subject } from 'rxjs';
import { MatPaginator } from '@angular/material/paginator';
import { MatSort } from '@angular/material/sort';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
@Component({
selector: 'app-user-connect',
@ -20,6 +21,7 @@ import { MatSort } from '@angular/material/sort';
encapsulation: ViewEncapsulation.None
})
export class UserConnectComponent implements OnInit, OnDestroy {
form: FormGroup;
displayedColumns = [
'id',
@ -49,13 +51,29 @@ export class UserConnectComponent implements OnInit, OnDestroy {
* Constructor
*/
constructor(
private _formBuilder: FormBuilder
) {
// Set the private defaults
this._unsubscribeAll = new Subject();
}
ngOnInit() {
this.form = this._formBuilder.group({
// company: [
// {
// value: 'Google',
// disabled: true
// }, Validators.required
// ],
firstName: ['', Validators.required],
// lastName: ['', Validators.required],
// address: ['', Validators.required],
// address2: ['', Validators.required],
// city: ['', Validators.required],
// state: ['', Validators.required],
// postalCode: ['', [Validators.required, Validators.maxLength(5)]],
// country: ['', Validators.required]
});
}
ngOnDestroy(): void {