FO 로딩바 추가
This commit is contained in:
@@ -18,7 +18,6 @@ import app.module.admin.usecase.household.tab.dailyRecord.getDailyRecordStatusDe
|
||||
import java.util.Optional;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
|
||||
@@ -1598,6 +1598,17 @@ hr::before {
|
||||
border-radius: 3.2rem 0rem 0rem 0rem;
|
||||
}
|
||||
|
||||
.loading {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
width: 4.8rem !important;
|
||||
height: 4.8rem !important;
|
||||
z-index: 3200;
|
||||
}
|
||||
|
||||
/*약관 폰트 가이드 규칙*/
|
||||
.term-wrap .modal-content-inner {
|
||||
margin-top: 3.2rem;
|
||||
|
||||
@@ -323,10 +323,13 @@ var ajaxUtil = {
|
||||
if (ajaxUtil.loadingStatus) {
|
||||
ajaxUtil.loadingStatus = false;
|
||||
// TODO : 로딩바 숨김
|
||||
document.querySelector('#loadingBar').style.display = 'none';
|
||||
}
|
||||
},
|
||||
_showWaiting:function(){
|
||||
ajaxUtil.loadingStatus = true;
|
||||
// TODO : 로딩바 활성화
|
||||
document.querySelector('#loadingBar').style.display = 'block';
|
||||
debugger
|
||||
},
|
||||
};
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
<body>
|
||||
<div id="wrap">
|
||||
<div class="loading" id="loadingBar" style="display: none"><i class="ico-spinner" aria-hidden="true"></i></div>
|
||||
<section th:replace="~{common/components :: header(true)}"></section>
|
||||
|
||||
<div id="container" layout:fragment="content">
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
<body>
|
||||
<div id="wrap">
|
||||
<div class="loading" id="loadingBar" style="display: none"><i class="ico-spinner" aria-hidden="true"></i></div>
|
||||
<section th:replace="~{common/components :: header(true)}"></section>
|
||||
|
||||
<div id="container" layout:fragment="content">
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
<body>
|
||||
<div id="wrap">
|
||||
<div class="loading" id="loadingBar" style="display: none"><i class="ico-spinner" aria-hidden="true"></i></div>
|
||||
<section th:replace="~{common/components :: header(false)}"></section>
|
||||
|
||||
<div id="container" layout:fragment="content">
|
||||
|
||||
@@ -303,6 +303,7 @@
|
||||
|
||||
let formData = new FormData();
|
||||
formData.append('file', file);
|
||||
|
||||
ajaxUtil._showWaiting();
|
||||
$.ajax({
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user