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 *