중간저장
parent
21a36958ab
commit
422bb5630c
|
|
@ -55,7 +55,7 @@ public class BoardService {
|
|||
@Transactional
|
||||
public Integer saveContent(Board content){
|
||||
Integer contentSeq = boardRepository.save(content).getContentSeq();
|
||||
saveBoardLog(content.getContentSeq(), LogStatus.WRITE, null, content.getCreateId());
|
||||
saveBoardLog(content.getContentSeq(), LogStatus.WRITE, content.getTitle(), content.getCreateId());
|
||||
saveHashTagLink(contentSeq, content.getHashTagStr());
|
||||
saveUploadFiles(content, content.getCreateId());
|
||||
return contentSeq;
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@
|
|||
<div class="card-body">
|
||||
<div class="row justify-content-start">
|
||||
<div class="col-4">
|
||||
<h5><i class="bi bi-square-fill"></i><span> 저장공간</span></h5>
|
||||
<h5 class="mx-2"><i class="bi bi-square-fill"></i><span> 저장공간</span></h5>
|
||||
<th:block th:each="diskInfo:${diskInfoList}">
|
||||
<div class="row justify-content-center py-3 border rounded">
|
||||
<div class="row justify-content-center py-3 m-2 border rounded">
|
||||
<div class="col-12"><h5 th:text="${diskInfo.driveName}"></h5></div>
|
||||
<div class="col-auto">
|
||||
<div class="pie-chart" th:style="|background: conic-gradient(#ACACAC 0% ${diskInfo.useSizePer}%, #26A0DA ${diskInfo.useSizePer}% 100%)|">
|
||||
|
|
@ -48,7 +48,9 @@
|
|||
</th:block>
|
||||
</div>
|
||||
<div class="col-8">
|
||||
<h5><i class="bi bi-square-fill"></i><span> 전체 이력</span></h5>
|
||||
<h5 class="mx-2"><i class="bi bi-square-fill"></i><span> 전체 이력</span></h5>
|
||||
<div class="row p-3 mx-2 border rounded">
|
||||
<div class="col-12">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -77,6 +79,8 @@
|
|||
</th:block>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-auto">
|
||||
<nav aria-label="Page navigation">
|
||||
|
|
@ -109,6 +113,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</html>
|
||||
|
|
@ -19,10 +19,10 @@
|
|||
<!-- 컨텐츠페이지의 CSS 영역이 들어감 -->
|
||||
<th:block layout:fragment="css"></th:block>
|
||||
|
||||
<!--bootstrap-->
|
||||
<script type="text/javascript" th:src="@{/vendor/bootstrap-5.1.3-dist/js/bootstrap.bundle.min.js}"></script>
|
||||
<!--jquery-->
|
||||
<script type="text/javascript" th:src="@{/vendor/jquery-3.6.0/jquery-3.6.0.min.js}"></script>
|
||||
<!--bootstrap-->
|
||||
<script type="text/javascript" th:src="@{/vendor/bootstrap-5.1.3-dist/js/bootstrap.min.js}"></script>
|
||||
<!--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" th:src="@{/vendor/bootstrap-datepicker-1.9.0-dist/locales/bootstrap-datepicker.ko.min.js}"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue