공통게시판 ui수정, 제목 좌측정렬

master
Hyung Geun 2023-01-20 16:24:12 +09:00
parent 61aa8eef1f
commit 8e6b8760ce
9 changed files with 35 additions and 35 deletions

View File

@ -188,7 +188,7 @@ footer{
} }
.col-form-label-sm.text-start, .col-sm-10.form-control-sm{ .col-form-label-sm.text-start, .col-sm-11.form-control-sm, .col-sm-10.form-control-sm{
border: 1px solid rgba(var(--bs-secondary-rgb))!important; border: 1px solid rgba(var(--bs-secondary-rgb))!important;
} }

View File

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

View File

@ -61,7 +61,7 @@
<div class="col-12"> <div class="col-12">
<table class="table table-sm table-hover table-bordered"> <table class="table table-sm table-hover table-bordered">
<thead> <thead>
<tr class="table-secondary"> <tr class="table-color">
<th></th> <th></th>
<th>제목</th> <th>제목</th>
<th>관서</th> <th>관서</th>
@ -77,7 +77,7 @@
<tr class="planTr" th:each="board:${boardList}"> <tr class="planTr" th:each="board:${boardList}">
<input type="hidden" class="planKey" th:value="${board.publicKey}"> <input type="hidden" class="planKey" th:value="${board.publicKey}">
<td><input type="checkbox" class="trChkBox"></td> <td><input type="checkbox" class="trChkBox"></td>
<td th:text="${board.title}"></td> <td align="left" th:text="${board.title}"></td>
<th:block th:each="commonCode:${session.commonCode.get('OG')}"> <th:block th:each="commonCode:${session.commonCode.get('OG')}">
<td th:if="${board.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td> <td th:if="${board.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
</th:block> </th:block>

View File

@ -17,11 +17,11 @@
<div class="tab-content bg-white border border-top-0 p-2"> <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="tab-pane fade p-2 show active" id="boardTabPanel" role="tabpanel" tabindex="0">
<div class="row mb-1"> <div class="row mb-1">
<div class="col-sm-9"></div> <div class="col-sm-0"></div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">제목</label>
<label class="col-sm-5 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-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-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-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"> <label class="col-sm-2 col-form-label col-form-label-sm text-start">
<th:block th:each="commonCode:${session.commonCode.get('OG')}"> <th:block th:each="commonCode:${session.commonCode.get('OG')}">
@ -34,7 +34,7 @@
</label> </label>
<hr class="my-1"> <hr class="my-1">
<label for="content" class="col-sm-1 col-form-label col-form-label-sm text-center">내용</label> <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 class="col-sm-11 form-control-sm">
<div id="content" th:utext="${info.content}"></div> <div id="content" th:utext="${info.content}"></div>
</div> </div>
</div> </div>

View File

@ -17,11 +17,11 @@
<div class="tab-content bg-white border border-top-0 p-2"> <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="tab-pane fade p-2 show active" id="boardTabPanel" role="tabpanel" tabindex="0">
<div class="row mb-1"> <div class="row mb-1">
<div class="col-sm-9"></div> <div class="col-sm-0"></div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center bg-lightB">제목</label>
<label class="col-sm-5 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 bg-lightB">작성일시</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center bg-lightB">작성일시</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-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 bg-lightB">제목</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 bg-lightB">작성자</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center bg-lightB">작성자</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start"> <label class="col-sm-2 col-form-label col-form-label-sm text-start">
<th:block th:each="commonCode:${session.commonCode.get('OG')}"> <th:block th:each="commonCode:${session.commonCode.get('OG')}">
@ -34,7 +34,7 @@
</label> </label>
<hr class="my-1"> <hr class="my-1">
<label for="content" class="col-sm-1 col-form-label col-form-label-sm text-center bg-lightB">내용</label> <label for="content" class="col-sm-1 col-form-label col-form-label-sm text-center bg-lightB">내용</label>
<div class="col-sm-10 form-control-sm"> <div class="col-sm-11 form-control-sm">
<div id="content" th:utext="${info.content}"></div> <div id="content" th:utext="${info.content}"></div>
</div> </div>
</div> </div>

View File

@ -62,7 +62,7 @@
<div class="col-12"> <div class="col-12">
<table class="table table-sm table-hover table-bordered"> <table class="table table-sm table-hover table-bordered">
<thead> <thead>
<tr class="table-secondary"> <tr class="table-color">
<th></th> <th></th>
<th>제목</th> <th>제목</th>
<th>관서</th> <th>관서</th>
@ -78,7 +78,7 @@
<tr class="planTr" th:each="qna:${qnaList}"> <tr class="planTr" th:each="qna:${qnaList}">
<input type="hidden" class="planKey" th:value="${qna.publicKey}"> <input type="hidden" class="planKey" th:value="${qna.publicKey}">
<td><input type="checkbox" class="trChkBox"></td> <td><input type="checkbox" class="trChkBox"></td>
<td class="text-left" th:text="${qna.title}"></td> <td align="left" th:text="${qna.title}"></td>
<th:block th:each="commonCode:${session.commonCode.get('OG')}"> <th:block th:each="commonCode:${session.commonCode.get('OG')}">
<td th:if="${qna.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td> <td th:if="${qna.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
</th:block> </th:block>

View File

@ -67,7 +67,7 @@
<div class="col-12"> <div class="col-12">
<table class="table table-sm table-hover table-bordered"> <table class="table table-sm table-hover table-bordered">
<thead> <thead>
<tr class="table-secondary"> <tr class="table-color">
<th></th> <th></th>
<th>제목</th> <th>제목</th>
<th>관서</th> <th>관서</th>
@ -83,7 +83,7 @@
<tr class="planTr" th:each="reference:${referenceList}"> <tr class="planTr" th:each="reference:${referenceList}">
<input type="hidden" class="planKey" th:value="${reference.publicKey}"> <input type="hidden" class="planKey" th:value="${reference.publicKey}">
<td><input type="checkbox" class="trChkBox"></td> <td><input type="checkbox" class="trChkBox"></td>
<td th:text="${reference.title}"></td> <td align="left" th:text="${reference.title}"></td>
<th:block th:each="commonCode:${session.commonCode.get('OG')}"> <th:block th:each="commonCode:${session.commonCode.get('OG')}">
<td th:if="${reference.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td> <td th:if="${reference.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
</th:block> </th:block>

View File

@ -23,11 +23,11 @@
<th:block th:if="${code.itemCd eq info.tabStatus}" th:text="${code.itemValue}"></th:block> <th:block th:if="${code.itemCd eq info.tabStatus}" th:text="${code.itemValue}"></th:block>
</th:block> </th:block>
</label> </label>
<div class="col-sm-7"></div> <div class="col-sm-0"></div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">제목</label>
<label class="col-sm-5 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-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-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-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"> <label class="col-sm-2 col-form-label col-form-label-sm text-start">
<th:block th:each="commonCode:${session.commonCode.get('OG')}"> <th:block th:each="commonCode:${session.commonCode.get('OG')}">
@ -40,7 +40,7 @@
</label> </label>
<hr class="my-1"> <hr class="my-1">
<label for="content" class="col-sm-1 col-form-label col-form-label-sm text-center">내용</label> <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 class="col-sm-11 form-control-sm">
<div id="content" th:utext="${info.content}"></div> <div id="content" th:utext="${info.content}"></div>
</div> </div>
</div> </div>