first commit

This commit is contained in:
peregr1nus
2025-12-10 13:27:48 +09:00
commit 8019a7e4ba
19 changed files with 2028 additions and 0 deletions

27
static/script.js Normal file
View File

@@ -0,0 +1,27 @@
// 공통 JavaScript 함수들
// 폼 유효성 검사
function validateForm(formId) {
const form = document.getElementById(formId);
if (!form.checkValidity()) {
form.reportValidity();
return false;
}
return true;
}
// 로딩 표시
function showLoading() {
const modal = document.getElementById('loadingModal');
if (modal) {
modal.style.display = 'flex';
}
}
function hideLoading() {
const modal = document.getElementById('loadingModal');
if (modal) {
modal.style.display = 'none';
}
}