강석 최 2023-01-20 16:53:42 +09:00
commit 24cb233d87
15 changed files with 192 additions and 172 deletions

View File

@ -150,8 +150,11 @@
background-color: #253660; background-color: #253660;
z-index: 100; z-index: 100;
} }
#footer{ #wrapper{
z-index: 1; min-height: 91%;
}
.footer{
transform : translateY(91%);
} }
.bg-label{ .bg-label{
background-color: lightblue; background-color: lightblue;
@ -174,9 +177,19 @@
color: #24396c; color: #24396c;
text-align: center; text-align: center;
} }
.col-form-label-sm.text-center{
.col-form-label-sm.text-center {
background-color: #aabfe178; background-color: #aabfe178;
border: 1px solid rgba(var(--bs-secondary-rgb))!important;
} }
.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;
}
@font-face {font-family:'GmarketSansMedium';src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');} @font-face {font-family:'GmarketSansMedium';src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');}
.dash-title .dash-title
@ -184,3 +197,7 @@
font-family: 'GmarketSansMedium'; font-family: 'GmarketSansMedium';
font-size: 18px; font-size: 18px;
} }
.bg-light.text-center{
background-color: #deebff78!important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,45 +1,45 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org"> <html lang="ko" xmlns:th="http://www.thymeleaf.org">
<footer th:fragment="footerFragment" class="d-flex flex-wrap py-2 mt-auto"> <!-- <footer th:fragment="footerFragment" class="d-flex flex-wrap py-2 mt-auto">-->
<div class="row mx-3"> <!-- <div class="row mx-3">-->
<div class="col-auto"> <!-- <div class="col-auto">-->
<img th:src="@{/img/ft_logo.png}" alt="logo" title="logo" style="height: 40px;"/> <!-- <img th:src="@{/img/ft_logo.png}" alt="logo" title="logo" style="height: 40px;"/>-->
</div> <!-- </div>-->
<div class="col-auto row"> <!-- <div class="col-auto row">-->
<div class="col-12"> <!-- <div class="col-12">-->
<span class="text-muted">21995 인천광역시 연수구 해돋이로 130 해양경찰청</span> <!-- <span class="text-muted">21995 인천광역시 연수구 해돋이로 130 해양경찰청</span>-->
</div> <!-- </div>-->
<div class="col-12"> <!-- <div class="col-12">-->
<span class="text-muted">COPYRIGHT(C)2022 MINISTRY OF REPUBLIC ADMINISTRATION AND SECURITY. ALL RIGHT RESERVED</span> <!-- <span class="text-muted">COPYRIGHT(C)2022 MINISTRY OF REPUBLIC ADMINISTRATION AND SECURITY. ALL RIGHT RESERVED</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</footer> <!-- </footer>-->
<!--<div id="footer" th:fragment="footerFragment" class="d-flex flex-wrap border-top"> <!--<div id="footer" th:fragment="footerFragment" class="d-flex flex-wrap border-top">
<ul> <ul>
<li><img th:src="@{/img/ft_logo.png}" alt="사이버외사정보시스템로고"></li> <li><img th:src="@{/img/ft_logo.png}" alt="사이버외사정보시스템로고"></li>
<li><p>사이버외사정보시스템</p> <li><p>사이버외사정보시스템</p>
<span>FOREIGN AFFAIRS INTELLIGENCE CYBER SYSTEM</span> <span>FOREIGN AFFAIRS INTELLIGENCE CYBER SYSTEM</span>
21995 인천광역시 연수구 해돋이로 130 해양경찰청<br/> 21995 인천광역시 연수구 해돋이로 130 해양경찰청<br/>
Copyright ⓒ 2011 MINISTRY OF REPUBLIC ADMINISTRATION AND SECURITY. All right reserved.</li> Copyright ⓒ 2011 MINISTRY OF REPUBLIC ADMINISTRATION AND SECURITY. All right reserved.</li>
&lt;!&ndash;<li style="margin-left: auto;"><img src="image/wa_logo.png" alt="웹접근성"></li>&ndash;&gt; &lt;!&ndash;<li style="margin-left: auto;"><img src="image/wa_logo.png" alt="웹접근성"></li>&ndash;&gt;
</ul> </ul>
</div>--> </div>-->
<!--<div class="row w-100 mt-3 justify-content-center" id="footerRow" th:fragment="footerFragment">--> <div class="d-flex flex-wrap py-2 mt-auto" id="footerRow" th:fragment="footerFragment">
<!-- <div class="col-auto">--> <div class="col-auto">
<!-- <img src="/img/ft_logo.png" alt="사이버외사정보시스템로고" class="h-75">--> <img src="/img/ft_logo.png" alt="사이버외사정보시스템로고" class="h-75">
<!-- </div>--> </div>
<!-- <div class="col-auto">--> <div class="col-auto">
<!-- <p id="footerSiteName">사이버외사정보시스템</p>--> <p id="footerSiteName">사이버외사정보시스템</p>
<!-- <span id="footerSiteNameEng">FOREIGN AFFAIRS INTELLIGENCE CYBER SYSTEM</span>--> <span id="footerSiteNameEng">FOREIGN AFFAIRS INTELLIGENCE CYBER SYSTEM</span>
<!-- </div>--> </div>
<!-- <div class="col-auto">--> <div class="col-auto">
<!-- <p class="mb-1">21995 인천광역시 연수구 해돋이로 130 해양경찰청</p>--> <p class="mb-1">21995 인천광역시 연수구 해돋이로 130 해양경찰청</p>
<!-- <p class="mb-1">Copyright ⓒ 2011 MINISTRY OF REPUBLIC ADMINISTRATION AND SECURITY. All right reserved.</p>--> <p class="mb-1">Copyright ⓒ 2011 MINISTRY OF REPUBLIC ADMINISTRATION AND SECURITY. All right reserved.</p>
<!-- </div>--> </div>
<!--</div>--> </div>
</html> </html>

View File

@ -6,9 +6,7 @@
<div class="col-auto row justify-content-start"> <div class="col-auto row justify-content-start">
<div class="col-auto"> <div class="col-auto">
<div class="navbar-header"> <div class="navbar-header">
<a href="/" class="navbar-brand">
<img id="logo" th:src="@{/img/logo2.png}" alt="logo" title="logo" sec:authorize="isAnonymous()"> <img id="logo" th:src="@{/img/logo2.png}" alt="logo" title="logo" sec:authorize="isAnonymous()">
</a>
</div> </div>
</div> </div>
<div class="col-auto my-auto"> <div class="col-auto my-auto">

View File

@ -1,11 +1,13 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org"> <html lang="ko" xmlns:th="http://www.thymeleaf.org">
<div class="pt-3" th:fragment="leftMenuFragment"> <div class="pt-3" th:fragment="leftMenuFragment">
<div> <div class="ps-5">
<a href="/" >
<img id="logoNew" th:src="@{/img/logoNew.png}" alt="logoNew" title="logoNew">
</a>
</div> </div>
<div class="flex-shrink-0 py-3 bg-transparent" id="leftMenu"> <div class="flex-shrink-0 py-3 bg-transparent" id="leftMenu">
<ul class="list-unstyled ps-0"> <ul class="list-unstyled border-top border-secondary ps-0">
<li class="mb-1 border-bottom border-secondary" th:each="firstMenu:${session.menuList}"> <li class="mb-1 border-bottom border-secondary" th:each="firstMenu:${session.menuList}">
<th:block th:each="cat1Code:${session.commonCode.get('CAT1')}"> <th:block th:each="cat1Code:${session.commonCode.get('CAT1')}">
<th:block th:if="${cat1Code.itemCd eq firstMenu.cat1Cd}"> <th:block th:if="${cat1Code.itemCd eq firstMenu.cat1Cd}">

View File

@ -1,106 +1,109 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ko" class="h-100" <html lang="ko" class="h-100"
xmlns:th="http://www.thymeleaf.org" xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5"> xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title>해양경찰청 외사종합포털</title> <title>해양경찰청 외사종합포털</title>
<!--bootstrap--> <!--bootstrap-->
<link rel="stylesheet" th:href="@{/vendor/bootstrap-5.2.0-dist/css/bootstrap.min.css}"> <link rel="stylesheet" th:href="@{/vendor/bootstrap-5.2.0-dist/css/bootstrap.min.css}">
<link rel="stylesheet" th:href="@{/img/bootstrap-icons-1.9.1/bootstrap-icons.css}"> <link rel="stylesheet" th:href="@{/img/bootstrap-icons-1.9.1/bootstrap-icons.css}">
<!--bootstrap-datepicker--> <!--bootstrap-datepicker-->
<link rel="stylesheet" th:href="@{/vendor/bootstrap-datepicker-1.9.0-dist/css/bootstrap-datepicker.min.css}"> <link rel="stylesheet" th:href="@{/vendor/bootstrap-datepicker-1.9.0-dist/css/bootstrap-datepicker.min.css}">
<!--datetimepicker--> <!--datetimepicker-->
<link rel="stylesheet" th:href="@{/vendor/datetimepicker/css/datetimepicker.css}"> <link rel="stylesheet" th:href="@{/vendor/datetimepicker/css/datetimepicker.css}">
<!--summernote--> <!--summernote-->
<link rel="stylesheet" th:href="@{/vendor/summernote-0.8.18-dist/summernote-lite.min.css}"> <link rel="stylesheet" th:href="@{/vendor/summernote-0.8.18-dist/summernote-lite.min.css}">
<link rel="stylesheet" th:href="@{/css/common.css}"> <link rel="stylesheet" th:href="@{/css/common.css}">
<!-- 컨텐츠페이지의 CSS 영역이 들어감 --> <!-- 컨텐츠페이지의 CSS 영역이 들어감 -->
<th:block layout:fragment="css"></th:block> <th:block layout:fragment="css"></th:block>
<!--jquery--> <!--jquery-->
<script type="text/javascript" th:src="@{/vendor/jquery-3.6.0/jquery-3.6.0.min.js}"></script> <script type="text/javascript" th:src="@{/vendor/jquery-3.6.0/jquery-3.6.0.min.js}"></script>
<!--bootstrap--> <!--bootstrap-->
<script type="text/javascript" th:src="@{/vendor/bootstrap-5.2.0-dist/js/bootstrap.bundle.min.js}"></script> <script type="text/javascript" th:src="@{/vendor/bootstrap-5.2.0-dist/js/bootstrap.bundle.min.js}"></script>
<!--bootstrap-datepicker--> <!--bootstrap-datepicker-->
<script type="text/javascript" th:src="@{/vendor/bootstrap-datepicker-1.9.0-dist/js/bootstrap-datepicker.min.js}"></script> <script type="text/javascript"
<script type="text/javascript" th:src="@{/vendor/bootstrap-datepicker-1.9.0-dist/locales/bootstrap-datepicker.ko.min.js}"></script> th:src="@{/vendor/bootstrap-datepicker-1.9.0-dist/js/bootstrap-datepicker.min.js}"></script>
<!--datetimepicker--> <script type="text/javascript"
<script type="text/javascript" th:src="@{/vendor/datetimepicker/js/datetimepicker.full.min.js}"></script> th:src="@{/vendor/bootstrap-datepicker-1.9.0-dist/locales/bootstrap-datepicker.ko.min.js}"></script>
<script type="text/javascript" th:src="@{/vendor/datetimepicker/js/datetimepicker.js}"></script> <!--datetimepicker-->
<!--summernote--> <script type="text/javascript" th:src="@{/vendor/datetimepicker/js/datetimepicker.full.min.js}"></script>
<script type="text/javascript" th:src="@{/vendor/summernote-0.8.18-dist/summernote-lite.min.js}"></script> <script type="text/javascript" th:src="@{/vendor/datetimepicker/js/datetimepicker.js}"></script>
<script type="text/javascript" th:src="@{/vendor/summernote-0.8.18-dist/lang/summernote-ko-KR.min.js}"></script> <!--summernote-->
<!--namo cross editor--> <script type="text/javascript" th:src="@{/vendor/summernote-0.8.18-dist/summernote-lite.min.js}"></script>
<script type="text/javascript" th:src="@{/Crosseditor/js/namo_scripteditor.js}"></script> <script type="text/javascript" th:src="@{/vendor/summernote-0.8.18-dist/lang/summernote-ko-KR.min.js}"></script>
<!--namo cross editor-->
<script type="text/javascript" th:src="@{/Crosseditor/js/namo_scripteditor.js}"></script>
<!--sheetJs(excel)--> <!--sheetJs(excel)-->
<script type="text/javascript" th:src="@{/vendor/excel/FileSaver.min.js}"></script> <script type="text/javascript" th:src="@{/vendor/excel/FileSaver.min.js}"></script>
<script type="text/javascript" th:src="@{/vendor/excel/xlsx.full.min.js}"></script> <script type="text/javascript" th:src="@{/vendor/excel/xlsx.full.min.js}"></script>
<script type="text/javascript" th:src="@{/js/common.js}"></script> <script type="text/javascript" th:src="@{/js/common.js}"></script>
<!-- 컨텐츠페이지의 스크립트 영역이 들어감 --> <!-- 컨텐츠페이지의 스크립트 영역이 들어감 -->
<th:block layout:fragment="script"></th:block> <th:block layout:fragment="script"></th:block>
</head> </head>
<body class="d-flex flex-column h-100"> <body class="d-flex flex-column h-100 ">
<!--<header th:replace="fragments/header :: headerFragment"></header> <!--<header th:replace="fragments/header :: headerFragment"></header>
<div sec:authorize="isAnonymous()" layout:fragment="content"> <div sec:authorize="isAnonymous()" layout:fragment="content">
</div>
<div sec:authorize="isAuthenticated()" class="d-flex flex-nowrap h-100" style="max-height: 888px;">
<div class="flex-shrink-0 bg-leftMenu border-end overflow-auto" style="width: 260px;">
<div th:replace="fragments/leftMenu :: leftMenuFragment"></div>
</div> </div>
<div sec:authorize="isAuthenticated()" class="d-flex flex-nowrap h-100" style="max-height: 888px;"> <div class="flex-shrink-0 px-3 py-2 overflow-auto" style="width: 1660px; background-color: #f8f8f8;">
<div class="flex-shrink-0 bg-leftMenu border-end overflow-auto" style="width: 260px;"> <div layout:fragment="content"></div>
<div th:replace="fragments/leftMenu :: leftMenuFragment"></div> </div>
</div>
<div th:replace="fragments/footer :: footerFragment"></div>
<div id="fadeDiv" style="display: none;">
<div class="p-5 rounded text-center">
<div>
<div class="spinner-border text-info" id="loading-spinner" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div> </div>
<div class="flex-shrink-0 px-3 py-2 overflow-auto" style="width: 1660px; background-color: #f8f8f8;"> <div id="loading-spinner-text">
<div layout:fragment="content"></div> <h3>Loading</h3>
</div> </div>
</div> </div>
<div th:replace="fragments/footer :: footerFragment"></div> </div>-->
<div id="fadeDiv" style="display: none;"> <div class="d-flex flex-nowrap h-100" sec:authorize="isAnonymous()">
<div class="p-5 rounded text-center"> <div class="flex-shrink-0 overflow-auto w-100 bg-light">
<div> <header th:replace="fragments/header :: headerFragment"></header>
<div class="spinner-border text-info" id="loading-spinner" role="status"> <div layout:fragment="content"></div>
<span class="visually-hidden">Loading...</span> </div>
</div>
<div class="d-flex flex-nowrap h-100" sec:authorize="isAuthenticated()">
<div class="bg-leftMenu border-end overflow-auto" style="width: 260px;">
<div th:replace="fragments/leftMenu :: leftMenuFragment"></div>
</div>
<div class=" overflow-auto" style="width: 1660px;">
<div class="bg-light" id="wrapper" >
<header th:replace="fragments/header :: headerFragment"></header>
<div class="px-3 py-2" layout:fragment="content"></div>
</div> </div>
</div> <div class="footer" th:replace="fragments/footer :: footerFragment"></div>
<div id="loading-spinner-text">
<h3>Loading</h3>
</div>
</div> </div>
</div>--> </div>
<div class="d-flex flex-nowrap h-100" sec:authorize="isAnonymous()"> <div id="fadeDiv" style="display: none;">
<div class="flex-shrink-0 overflow-auto w-100" style="background-color: #f8f8f8;">
<header th:replace="fragments/header :: headerFragment"></header>
<div layout:fragment="content"></div>
<div th:replace="fragments/footer :: footerFragment"></div>
</div>
</div>
<div class="d-flex flex-nowrap h-100" sec:authorize="isAuthenticated()">
<div class="flex-shrink-0 bg-leftMenu border-end overflow-auto" style="width: 260px;">
<div th:replace="fragments/leftMenu :: leftMenuFragment"></div>
</div>
<div class="flex-shrink-0 overflow-auto" style="width: 1660px;">
<header th:replace="fragments/header :: headerFragment"></header>
<div class="bg-light px-3 py-2" layout:fragment="content"></div>
<div th:replace="fragments/footer :: footerFragment"></div>
</div>
</div>
<div id="fadeDiv" style="display: none;">
<div class="p-5 rounded text-center"> <div class="p-5 rounded text-center">
<div> <div>
<div class="spinner-border text-info" id="loading-spinner" role="status"> <div class="spinner-border text-info" id="loading-spinner" role="status">
<span class="visually-hidden">Loading...</span> <span class="visually-hidden">Loading...</span>
</div>
</div>
<div id="loading-spinner-text">
<h3>Loading</h3>
</div> </div>
</div>
<div id="loading-spinner-text">
<h3>Loading</h3>
</div>
</div> </div>
</div> </div>
<th:block layout:fragment="modal"></th:block> <th:block layout:fragment="modal"></th:block>
</body> </body>
</html> </html>

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

@ -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 align-items-center 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

@ -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>
@ -75,10 +75,10 @@
</tr> </tr>
</thead> </thead>
<tbody class="table-group-divider"> <tbody class="table-group-divider">
<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 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

@ -15,15 +15,15 @@
</li> </li>
</ul> </ul>
<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-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" th:text="${#temporals.format(info.wrtDt, 'yyyy-MM-dd HH:mm')}"></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">제목</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center border border-secondary">작성일시</label>
<label class="col-sm-8 col-form-label col-form-label-sm text-start" th:text="${info.title}"></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">작성자</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"> <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:each="commonCode:${session.commonCode.get('OG')}">
<th:block th:if="${commonCode.itemCd eq info.wrtOrgan}" th:text="${commonCode.itemValue}"></th:block> <th:block th:if="${commonCode.itemCd eq info.wrtOrgan}" th:text="${commonCode.itemValue}"></th:block>
</th:block> </th:block>
@ -33,9 +33,9 @@
<th:block th:text="${info.wrtUserNm}"></th:block> <th:block th:text="${info.wrtUserNm}"></th:block>
</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 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"> <div class="col-sm-10 form-control-sm border border-secondary">
<div id="content" th:utext="${info.content}"></div> <div id="content border border-secondary" th:utext="${info.content}"></div>
</div> </div>
</div> </div>
</div> </div>

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>