bug fix
This commit is contained in:
parent
266e2e3593
commit
849d8bb8b9
|
@ -128,7 +128,7 @@
|
|||
matSort
|
||||
matSortDisableClear
|
||||
>
|
||||
<div></div>
|
||||
<div class="hidden sm:block">요율</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'management'">
|
||||
관리
|
||||
</div>
|
||||
|
@ -162,18 +162,6 @@
|
|||
상태
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'top'">상부</div>
|
||||
<!-- <div class="hidden md:block" [mat-sort-header]="'sku'">SKU</div>
|
||||
<div [mat-sort-header]="'name'">Name</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'price'">
|
||||
Price
|
||||
</div>
|
||||
<div class="hidden lg:block" [mat-sort-header]="'stock'">
|
||||
Stock
|
||||
</div>
|
||||
<div class="hidden lg:block" [mat-sort-header]="'active'">
|
||||
Active
|
||||
</div>
|
||||
<div class="hidden sm:block">Details</div> -->
|
||||
</div>
|
||||
<!-- Rows -->
|
||||
<ng-container *ngIf="casinomoneys$ | async as casinomoneys">
|
||||
|
@ -237,7 +225,7 @@
|
|||
<div class="hidden sm:block truncate">
|
||||
LV.{{ casinomoney.level }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- id -->
|
||||
<ng-container *ngIf="users$ | async as users">
|
||||
<ng-container
|
||||
|
@ -318,100 +306,7 @@
|
|||
<div class="hidden sm:block truncate">
|
||||
<button mat-flat-button [color]="'primary'">상부</button>
|
||||
</div>
|
||||
<!-- Image -->
|
||||
<!-- <div class="flex items-center">
|
||||
<div
|
||||
class="relative flex flex-0 items-center justify-center w-12 h-12 mr-6 rounded overflow-hidden border"
|
||||
>
|
||||
<img
|
||||
class="w-8"
|
||||
*ngIf="user.thumbnail"
|
||||
[alt]="'Product thumbnail image'"
|
||||
[src]="user.thumbnail"
|
||||
/>
|
||||
<div
|
||||
class="flex items-center justify-center w-full h-full text-xs font-semibold leading-none text-center uppercase"
|
||||
*ngIf="!user.thumbnail"
|
||||
>
|
||||
NO THUMB
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- SKU -->
|
||||
<!-- <div class="hidden md:block truncate">
|
||||
{{ user.sku }}
|
||||
</div> -->
|
||||
|
||||
<!-- Name -->
|
||||
<!-- <div class="truncate">
|
||||
{{ user.name }}
|
||||
</div> -->
|
||||
|
||||
<!-- Price -->
|
||||
<!-- <div class="hidden sm:block">
|
||||
{{ user.price | currency: "USD":"symbol":"1.2-2" }}
|
||||
</div> -->
|
||||
|
||||
<!-- Stock -->
|
||||
<!-- <div class="hidden lg:flex items-center">
|
||||
<div class="min-w-4">{{ user.stock }}</div> -->
|
||||
<!-- Low stock -->
|
||||
<!-- <div
|
||||
class="flex items-end ml-2 w-1 h-4 bg-red-200 rounded overflow-hidden"
|
||||
*ngIf="user.stock < 20"
|
||||
>
|
||||
<div class="flex w-full h-1/3 bg-red-600"></div>
|
||||
</div> -->
|
||||
<!-- Medium stock -->
|
||||
<!-- <div
|
||||
class="flex items-end ml-2 w-1 h-4 bg-orange-200 rounded overflow-hidden"
|
||||
*ngIf="user.stock >= 20 && user.stock < 30"
|
||||
>
|
||||
<div class="flex w-full h-2/4 bg-orange-400"></div>
|
||||
</div> -->
|
||||
<!-- High stock -->
|
||||
<!-- <div
|
||||
class="flex items-end ml-2 w-1 h-4 bg-green-100 rounded overflow-hidden"
|
||||
*ngIf="user.stock >= 30"
|
||||
>
|
||||
<div class="flex w-full h-full bg-green-400"></div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- Active -->
|
||||
<!-- <div class="hidden lg:block">
|
||||
<ng-container *ngIf="user.active">
|
||||
<mat-icon
|
||||
class="text-green-400 icon-size-5"
|
||||
[svgIcon]="'heroicons_solid:check'"
|
||||
></mat-icon>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="!user.active">
|
||||
<mat-icon
|
||||
class="text-gray-400 icon-size-5"
|
||||
[svgIcon]="'heroicons_solid:x'"
|
||||
></mat-icon>
|
||||
</ng-container>
|
||||
</div> -->
|
||||
|
||||
<!-- Details button -->
|
||||
<!-- <div>
|
||||
<button
|
||||
class="min-w-10 min-h-7 h-7 px-2 leading-6"
|
||||
mat-stroked-button
|
||||
(click)="__toggleDetails(user.id)"
|
||||
>
|
||||
<mat-icon
|
||||
class="icon-size-5"
|
||||
[svgIcon]="
|
||||
selectedUser?.id === user.id
|
||||
? 'heroicons_solid:chevron-up'
|
||||
: 'heroicons_solid:chevron-down'
|
||||
"
|
||||
></mat-icon>
|
||||
</button>
|
||||
</div> -->
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
</div>
|
||||
|
|
|
@ -45,15 +45,15 @@ import { Router } from '@angular/router';
|
|||
grid-template-columns: 60px auto 40px;
|
||||
|
||||
@screen sm {
|
||||
grid-template-columns: 60px auto 60px 72px;
|
||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px;
|
||||
}
|
||||
|
||||
@screen md {
|
||||
grid-template-columns: 60px 60px auto 112px 72px;
|
||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px;
|
||||
}
|
||||
|
||||
@screen lg {
|
||||
grid-template-columns: 60px 60px auto 112px 96px 96px 72px;
|
||||
grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px;
|
||||
}
|
||||
}
|
||||
`,
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
</div>
|
||||
<!-- Title -->
|
||||
<div class="text-4xl font-extrabold tracking-tight">장기미접속회원</div>
|
||||
|
||||
<!-- Actions -->
|
||||
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
||||
<!-- button -->
|
||||
|
@ -20,6 +21,9 @@
|
|||
<button mat-flat-button [color]="'primary'">90일</button>
|
||||
<button mat-flat-button [color]="'primary'">120일</button>
|
||||
<button mat-flat-button [color]="'primary'">가입후미접속</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Main -->
|
||||
<div class="flex flex-auto overflow-hidden">
|
||||
<!-- Products list -->
|
||||
|
@ -36,39 +40,25 @@
|
|||
matSortDisableClear
|
||||
>
|
||||
<div></div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'rank'">
|
||||
등급
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'id'">
|
||||
아이디
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'rank'">등급</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'id'">아이디</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'nickname'">
|
||||
닉네임
|
||||
</div>
|
||||
<div
|
||||
class="hidden sm:block"
|
||||
[mat-sort-header]="'accountHolder'"
|
||||
>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'accountHolder'">
|
||||
예금주
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'level'">
|
||||
레벨
|
||||
</div>
|
||||
<div
|
||||
class="hidden sm:block"
|
||||
[mat-sort-header]="'calculateType'"
|
||||
>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'calculateType'">
|
||||
정산종류
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'contact'">
|
||||
연락처
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'cash'">
|
||||
캐쉬
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'comp'">
|
||||
콤프
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'cash'">캐쉬</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'comp'">콤프</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'charge'">
|
||||
충전금
|
||||
</div>
|
||||
|
@ -97,26 +87,11 @@
|
|||
<div class="hidden sm:block" [mat-sort-header]="'members'">
|
||||
회원수
|
||||
</div>
|
||||
<!-- <div class="hidden md:block" [mat-sort-header]="'sku'">SKU</div>
|
||||
<div [mat-sort-header]="'name'">Name</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'price'">
|
||||
Price
|
||||
</div>
|
||||
<div class="hidden lg:block" [mat-sort-header]="'stock'">
|
||||
Stock
|
||||
</div>
|
||||
<div class="hidden lg:block" [mat-sort-header]="'active'">
|
||||
Active
|
||||
</div>
|
||||
<div class="hidden sm:block">Details</div> -->
|
||||
</div>
|
||||
<!-- Rows -->
|
||||
<ng-container *ngIf="unconnecteds$ | async as unconnecteds">
|
||||
<ng-container
|
||||
*ngFor="
|
||||
let unconnected of unconnecteds;
|
||||
trackBy: __trackByFn
|
||||
"
|
||||
*ngFor="let unconnected of unconnecteds; trackBy: __trackByFn"
|
||||
>
|
||||
<div
|
||||
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
||||
|
@ -126,18 +101,13 @@
|
|||
{{ unconnected.rank }}
|
||||
</div>
|
||||
<!-- id -->
|
||||
<ng-container *ngIf="users$ | async as users">
|
||||
<ng-container
|
||||
*ngFor="let user of users; trackBy: __trackByFn"
|
||||
>
|
||||
|
||||
<div
|
||||
class="hidden sm:block truncate"
|
||||
(click)="viewUserDetail(user.id!)"
|
||||
(click)="viewUserDetail(unconnected.id!)"
|
||||
>
|
||||
{{ unconnected.id }}
|
||||
</div>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
<!-- nickname -->
|
||||
<div class="hidden sm:block truncate">
|
||||
{{ unconnected.nickname }}
|
||||
|
@ -220,100 +190,6 @@
|
|||
<div class="hidden sm:block truncate">
|
||||
{{ unconnected.members }}
|
||||
</div>
|
||||
<!-- Image -->
|
||||
<!-- <div class="flex items-center">
|
||||
<div
|
||||
class="relative flex flex-0 items-center justify-center w-12 h-12 mr-6 rounded overflow-hidden border"
|
||||
>
|
||||
<img
|
||||
class="w-8"
|
||||
*ngIf="user.thumbnail"
|
||||
[alt]="'Product thumbnail image'"
|
||||
[src]="user.thumbnail"
|
||||
/>
|
||||
<div
|
||||
class="flex items-center justify-center w-full h-full text-xs font-semibold leading-none text-center uppercase"
|
||||
*ngIf="!user.thumbnail"
|
||||
>
|
||||
NO THUMB
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- SKU -->
|
||||
<!-- <div class="hidden md:block truncate">
|
||||
{{ user.sku }}
|
||||
</div> -->
|
||||
|
||||
<!-- Name -->
|
||||
<!-- <div class="truncate">
|
||||
{{ user.name }}
|
||||
</div> -->
|
||||
|
||||
<!-- Price -->
|
||||
<!-- <div class="hidden sm:block">
|
||||
{{ user.price | currency: "USD":"symbol":"1.2-2" }}
|
||||
</div> -->
|
||||
|
||||
<!-- Stock -->
|
||||
<!-- <div class="hidden lg:flex items-center">
|
||||
<div class="min-w-4">{{ user.stock }}</div> -->
|
||||
<!-- Low stock -->
|
||||
<!-- <div
|
||||
class="flex items-end ml-2 w-1 h-4 bg-red-200 rounded overflow-hidden"
|
||||
*ngIf="user.stock < 20"
|
||||
>
|
||||
<div class="flex w-full h-1/3 bg-red-600"></div>
|
||||
</div> -->
|
||||
<!-- Medium stock -->
|
||||
<!-- <div
|
||||
class="flex items-end ml-2 w-1 h-4 bg-orange-200 rounded overflow-hidden"
|
||||
*ngIf="user.stock >= 20 && user.stock < 30"
|
||||
>
|
||||
<div class="flex w-full h-2/4 bg-orange-400"></div>
|
||||
</div> -->
|
||||
<!-- High stock -->
|
||||
<!-- <div
|
||||
class="flex items-end ml-2 w-1 h-4 bg-green-100 rounded overflow-hidden"
|
||||
*ngIf="user.stock >= 30"
|
||||
>
|
||||
<div class="flex w-full h-full bg-green-400"></div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- Active -->
|
||||
<!-- <div class="hidden lg:block">
|
||||
<ng-container *ngIf="user.active">
|
||||
<mat-icon
|
||||
class="text-green-400 icon-size-5"
|
||||
[svgIcon]="'heroicons_solid:check'"
|
||||
></mat-icon>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="!user.active">
|
||||
<mat-icon
|
||||
class="text-gray-400 icon-size-5"
|
||||
[svgIcon]="'heroicons_solid:x'"
|
||||
></mat-icon>
|
||||
</ng-container>
|
||||
</div> -->
|
||||
|
||||
<!-- Details button -->
|
||||
<!-- <div>
|
||||
<button
|
||||
class="min-w-10 min-h-7 h-7 px-2 leading-6"
|
||||
mat-stroked-button
|
||||
(click)="__toggleDetails(user.id)"
|
||||
>
|
||||
<mat-icon
|
||||
class="icon-size-5"
|
||||
[svgIcon]="
|
||||
selectedUser?.id === user.id
|
||||
? 'heroicons_solid:chevron-up'
|
||||
: 'heroicons_solid:chevron-down'
|
||||
"
|
||||
></mat-icon>
|
||||
</button>
|
||||
</div> -->
|
||||
</div>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
|
@ -341,5 +217,3 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -44,15 +44,15 @@ import { Router } from '@angular/router';
|
|||
grid-template-columns: 60px auto 40px;
|
||||
|
||||
@screen sm {
|
||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 72px;
|
||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px;
|
||||
}
|
||||
|
||||
@screen md {
|
||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 112px 72px;
|
||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px;
|
||||
}
|
||||
|
||||
@screen lg {
|
||||
grid-template-columns: 50px 50px 50px 50px 70px 40px 60px 60px auto 112px 96px 96px 72px;
|
||||
grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px;
|
||||
}
|
||||
}
|
||||
`,
|
||||
|
|
Loading…
Reference in New Issue
Block a user