게시물관리 디자인 수정, 선택 삭제

thkim
유민형 2024-05-03 09:58:11 +09:00
parent c7c8f80843
commit 4326dd805b
3 changed files with 14 additions and 13 deletions

View File

@ -56,6 +56,7 @@
.board_list .result .list_item {display: table; width: 100%; table-layout: fixed;}
/* changed by lim padding: 18px 0 20px 0; */
.board_list .result .list_item > div {display: table-cell; padding: 7px 0 7px 0; border-bottom: 1px solid #dde2e5; color: #666; font-size: 14px; text-align: center; vertical-align: middle;}
.board_list .result .list_item > .left_align {text-align: left;}
.board_list .result .list_item > div.al {padding: 18px 30px 20px 30px; text-align: left;}
.board_list .result .list_item > div.reply {position: relative; padding: 18px 30px 20px 52px;}
.board_list .result .list_item > div.reply::before {content: ""; display: block; position: absolute; left: 27px; top: 24px; width: 22px; height: 14px; background: url(css/images/ico_reply.png) no-repeat;}

View File

@ -253,16 +253,17 @@
.PDS_LIST .recent > ul li .ymd {display: block; position: absolute; right: 0; top: 0; height: 30px; color: #666; font-size: 16px; line-height: 30px;}
.PDS_LIST .tit_5 {margin-top: 42px;}
.PDS_LIST .board_list {margin-top: 50px;}
/* 사이트관리 > 게시판현황 > 게시물관리 */
.BRD007 .head > span:nth-child(1) {width: 70px;}
.BRD007 .head > span:nth-child(3) {width: 160px;}
.BRD007 .head > span:nth-child(3) {width: 70px;}
.BRD007 .head > span:nth-child(4) {width: 120px;}
.BRD007 .head > span:nth-child(5) {width: 70px;}
.BRD007 .head > span:nth-child(5) {width: 160px;}
.BRD007 .head > span:nth-child(6) {width: 120px;}
.BRD007 .head > span:nth-child(7) {width: 140px;}
.BRD007 .result .list_item > div:nth-child(1) {width: 70px;}
.BRD007 .result .list_item > div:nth-child(3) {width: 160px;}
.BRD007 .result .list_item > div:nth-child(3) {width: 70px;}
.BRD007 .result .list_item > div:nth-child(4) {width: 120px;}
.BRD007 .result .list_item > div:nth-child(5) {width: 70px;}
.BRD007 .result .list_item > div:nth-child(5) {width: 160px;}
.BRD007 .result .list_item > div:nth-child(6) {width: 120px;}
.BRD007 .result .list_item > div:nth-child(7) {width: 140px;}

View File

@ -69,11 +69,11 @@ function AdminPostMgtList(props) {
mutListTag.push(
<div className="list_item">
<div>공지</div>
<div>{item?.bbsContTitle}</div>
<div>{item?.frstCrtId}</div>
<div>{formattedDate}</div>
<div className="left_align">{item?.bbsContTitle}</div>
<div>{item?.bbsReadCnt}</div>
<div>{item?.fileGrpId && <img src={fileIconPath} alt="File Icon" />}</div>
<div>{item?.frstCrtId}</div>
<div>{formattedDate}</div>
<div><button className={"btn btn_blue_h31 px-1"} onClick={()=>{editPost(item)}}>수정</button></div>
</div>
);
@ -85,11 +85,11 @@ function AdminPostMgtList(props) {
mutListTag.push(
<div className="list_item">
<div>{resp.result.resultCnt - (resp.result.paginationInfo.pageIndex -1) * resp.result.paginationInfo.rowCnt - index}</div>
<div>{item?.bbsContTitle}</div>
<div>{item?.frstCrtId}</div>
<div>{formattedDate}</div>
<div className="left_align">{item?.bbsContTitle}</div>
<div>{item?.bbsReadCnt}</div>
<div>{item?.fileGrpId && <img src={fileIconPath} alt="File Icon" />}</div>
<div>{item?.frstCrtId}</div>
<div>{formattedDate}</div>
<div><button className={"btn btn_blue_h31 px-1"} onClick={()=>{editPost(item)}}>수정</button></div>
</div>
);
@ -160,7 +160,6 @@ function AdminPostMgtList(props) {
<span className="lb">게시판선택</span>
<label className="f_select" htmlFor="searchCnd">
<Form.Select id="select1" name="bbsSeq" value={searchCondition.bbsSeq} onChange={handleSelectChange}>
<option value="">선택</option>
{categoryList.map((item) => (
<option key={item.bbsSeq} value={item.bbsSeq}>{item.bbsTitle}</option>
))}
@ -184,10 +183,10 @@ function AdminPostMgtList(props) {
<div className="head">
<span>번호</span>
<span>제목</span>
<span>작성자</span>
<span>최종수정일</span>
<span>조회수</span>
<span>파일</span>
<span>작성자</span>
<span>작성일</span>
<span><button className={"btn btn_blue_h31 px-1"} onClick={()=>{editPost(undefined)}}>추가</button></span>
</div>
<div className="result">