테이블 테두리 공통 적용(일부 제외)

master
Hyung Geun 2023-01-20 15:37:13 +09:00
parent eaaafa71c5
commit e396a5a3b4
4 changed files with 33 additions and 19 deletions

View File

@ -174,9 +174,19 @@
color: #24396c;
text-align: center;
}
.col-form-label-sm.text-center {
background-color: #aabfe178;
border: 1px solid rgba(var(--bs-secondary-rgb))!important;
}
.col-form-label-sm.text-start, .col-sm-10.form-control-sm{
border: 1px solid rgba(var(--bs-secondary-rgb))!important;
}
@font-face {font-family:'GmarketSansMedium';src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');}
.dash-title
@ -184,3 +194,7 @@
font-family: 'GmarketSansMedium';
font-size: 18px;
}
.bg-light.text-center{
background-color: #deebff78!important;
}

View File

@ -16,7 +16,7 @@
<input type="hidden" name="wrtUserGrd" th:value="${info.wrtUserGrd}">
<input type="hidden" name="wrtUserNm" th:value="${info.wrtUserNm}">
<div class="row mb-1">
<label for="wrtUserNm" class="col-sm-2 col-form-label text-center">작성자</label>
<label for="wrtUserNm" class="col-sm-2 col-form-label-sm text-center">작성자</label>
<div class="col-sm-2">
<th:block th:each="commonCode:${session.commonCode.get('JT')}">
<th:block th:if="${commonCode.itemCd eq info.wrtUserGrd}">
@ -24,7 +24,7 @@
</th:block>
</th:block>
</div>
<label for="wrtDt" class="col-sm-2 col-form-label text-center">작성일시</label>
<label for="wrtDt" class="col-sm-2 col-form-label-sm text-center">작성일시</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="wrtDt" name="wrtDt" th:value="${#temporals.format(info.wrtDt, 'yyyy-MM-dd HH:mm')}" readonly>
</div>
@ -34,20 +34,20 @@
<label for="organChk" class="col-sm-3 col-form-label text-left">소속관서에만 노출</label>
</div>
<div class="row mb-1">
<label for="title" class="col-sm-2 col-form-label text-center">제목</label>
<label for="title" class="col-sm-2 col-form-label-sm text-center">제목</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="title" name="title" th:value="${info.title}" autocomplete="off">
</div>
</div>
<div class="row mb-1 justify-content-center">
<label for="content" class="col-sm-2 col-form-label text-center">내용</label>
<label for="content" class="col-sm-2 col-form-label-sm align-items-center text-center">내용</label>
<div class="col-sm-10">
<div id="editor"></div>
<textarea id="content" class="d-none" th:utext="${info.content}"></textarea>
</div>
</div>
<div class="row mb-3">
<label for="fileInputer" class="col-sm-2 col-form-label text-center">첨부파일</label>
<label for="fileInputer" class="col-sm-2 col-form-label-sm text-center">첨부파일</label>
<div class="col-sm-10" style="min-height: 70px;">
<div class="w-100 h-100 border border-info rounded text-center" id="uploadDiv">
<th:block th:if="${#arrays.isEmpty(info.fileList)}">

View File

@ -78,7 +78,7 @@
<tr class="planTr" th:each="qna:${qnaList}">
<input type="hidden" class="planKey" th:value="${qna.publicKey}">
<td><input type="checkbox" class="trChkBox"></td>
<td th:text="${qna.title}"></td>
<td class="text-left" th:text="${qna.title}"></td>
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
<td th:if="${qna.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
</th:block>

View File

@ -17,13 +17,13 @@
<div class="tab-content bg-white border border-top-0 p-2">
<div class="tab-pane fade p-2 show active " id="boardTabPanel" role="tabpanel" tabindex="0">
<div class="row mb-1">
<div class="col-sm-9"></div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성일시</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${#temporals.format(info.wrtDt, 'yyyy-MM-dd HH:mm')}"></label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">제목</label>
<label class="col-sm-8 col-form-label col-form-label-sm text-start" th:text="${info.title}"></label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성자</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start">
<div class="col-sm-0"></div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center border border-secondary">제목</label>
<label class="col-sm-4 col-form-label col-form-label-sm text-start border border-secondary" th:text="${info.title}"></label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center border border-secondary">작성일시</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start border border-secondary" th:text="${#temporals.format(info.wrtDt, 'yyyy-MM-dd HH:mm')}"></label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center border border-secondary">작성자</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start border border-secondary">
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
<th:block th:if="${commonCode.itemCd eq info.wrtOrgan}" th:text="${commonCode.itemValue}"></th:block>
</th:block>
@ -33,9 +33,9 @@
<th:block th:text="${info.wrtUserNm}"></th:block>
</label>
<hr class="my-1">
<label for="content" class="col-sm-1 col-form-label col-form-label-sm text-center">내용</label>
<div class="col-sm-10 form-control-sm">
<div id="content" th:utext="${info.content}"></div>
<label for="content border border-secondary" class="col-sm-1 col-form-label col-form-label-sm text-center border border-secondary">내용</label>
<div class="col-sm-10 form-control-sm border border-secondary">
<div id="content border border-secondary" th:utext="${info.content}"></div>
</div>
</div>
</div>