From fc94ec2aacda5e7504124ac96a8fe4d1dac11331 Mon Sep 17 00:00:00 2001 From: Park Byung Eun Date: Tue, 26 Jul 2022 10:12:57 +0000 Subject: [PATCH] =?UTF-8?q?=EC=AA=BD=EC=A7=80=ED=95=A8=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../message/components/list.component.html | 245 +++++++----------- .../message/components/list.component.ts | 17 +- 2 files changed, 110 insertions(+), 152 deletions(-) diff --git a/src/app/modules/admin/board/message/components/list.component.html b/src/app/modules/admin/board/message/components/list.component.html index 000857b..67dbf14 100644 --- a/src/app/modules/admin/board/message/components/list.component.html +++ b/src/app/modules/admin/board/message/components/list.component.html @@ -13,30 +13,23 @@
쪽지함
- - + + +
+ + + +
+ +
- - - - 아이디 - 작성자 - 글제목 - 글내용 - 사이트명 - - - - - - - - - +
@@ -151,24 +76,38 @@ class="flex flex-col flex-auto sm:mb-18 overflow-hidden sm:overflow-y-auto" > - +
- - - - - - - - - - + + + + + +
@@ -178,53 +117,63 @@
- diff --git a/src/app/modules/admin/board/message/components/list.component.ts b/src/app/modules/admin/board/message/components/list.component.ts index 469b933..0642129 100644 --- a/src/app/modules/admin/board/message/components/list.component.ts +++ b/src/app/modules/admin/board/message/components/list.component.ts @@ -42,18 +42,18 @@ import { Router } from '@angular/router'; /* language=SCSS */ ` .inventory-grid { - grid-template-columns: 60px auto 40px; + grid-template-columns: 20px auto 200px 200px; @screen sm { - grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px; + grid-template-columns: 20px auto 300px 300px; } @screen md { - grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px; + grid-template-columns: 20px auto 300px 300px; } @screen lg { - grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px; + grid-template-columns: 20px auto 300px 300px; } } `, @@ -73,6 +73,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { searchInputControl = new FormControl(); selectedMessage?: Message; pagination?: MessagePagination; + __isSearchOpened = false; private _unsubscribeAll: Subject = new Subject(); @@ -179,6 +180,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { */ __createProduct(): void {} + /** + * toggle the search + * Used in 'bar' + */ + __onClickSearch(): void { + this.__isSearchOpened = !this.__isSearchOpened; + } + /** * Toggle product details *