해당 서비스 도커화 성공, 룰 추가, 로그인 오류 수정, 소문자 룰 어느정도 해결

This commit is contained in:
Hyungi Ahn
2025-08-01 15:55:27 +09:00
parent ef06cec8d6
commit 809b2af53e
6418 changed files with 1922672 additions and 69 deletions

View File

@@ -0,0 +1,394 @@
/* 테크니컬코리아 문서 시스템 CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* 헤더 스타일 */
.header {
text-align: center;
background: rgba(255, 255, 255, 0.95);
padding: 40px 30px;
border-radius: 20px;
margin-bottom: 30px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
background: linear-gradient(45deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.header p {
font-size: 1.2rem;
color: #666;
opacity: 0.8;
}
/* 메인 콘텐츠 */
.main-content {
flex: 1;
margin-bottom: 30px;
}
/* 카드 그리드 */
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
margin-bottom: 30px;
}
/* 카드 스타일 */
.card {
background: rgba(255, 255, 255, 0.95);
border-radius: 20px;
padding: 30px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.card-icon {
font-size: 3rem;
margin-bottom: 20px;
display: block;
}
.card h3 {
font-size: 1.4rem;
margin-bottom: 15px;
color: #333;
}
.card p {
color: #666;
margin-bottom: 20px;
line-height: 1.6;
}
.card-link {
display: inline-block;
background: linear-gradient(45deg, #667eea, #764ba2);
color: white;
text-decoration: none;
padding: 12px 30px;
border-radius: 25px;
font-weight: 500;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.card-link:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
/* 검색 카드 특별 스타일 */
.search-card {
grid-column: 1 / -1;
max-width: 600px;
margin: 0 auto;
width: 100%;
}
.search-box {
display: flex;
gap: 10px;
margin-top: 20px;
}
.search-box input {
flex: 1;
padding: 15px 20px;
border: 2px solid #e1e5e9;
border-radius: 25px;
font-size: 1rem;
outline: none;
transition: all 0.3s ease;
}
.search-box input:focus {
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.search-box button {
background: linear-gradient(45deg, #667eea, #764ba2);
color: white;
border: none;
padding: 15px 30px;
border-radius: 25px;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.search-box button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
/* 문서 목록 스타일 */
.document-list {
display: grid;
gap: 20px;
}
.document-item {
background: rgba(255, 255, 255, 0.95);
border-radius: 15px;
padding: 25px;
display: flex;
align-items: center;
gap: 20px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.document-item:hover {
transform: translateX(10px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.document-icon {
font-size: 2rem;
width: 60px;
text-align: center;
}
.document-content {
flex: 1;
}
.document-content h3 {
font-size: 1.2rem;
margin-bottom: 5px;
color: #333;
}
.document-content p {
color: #666;
font-size: 0.9rem;
}
.document-meta {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 5px;
}
.document-date {
font-size: 0.8rem;
color: #999;
}
.download-btn {
background: #28a745;
color: white;
text-decoration: none;
padding: 8px 16px;
border-radius: 20px;
font-size: 0.9rem;
transition: all 0.3s ease;
}
.download-btn:hover {
background: #218838;
transform: translateY(-2px);
}
/* 네비게이션 브레드크럼 */
.breadcrumb {
background: rgba(255, 255, 255, 0.9);
padding: 15px 25px;
border-radius: 15px;
margin-bottom: 20px;
backdrop-filter: blur(10px);
}
.breadcrumb a {
color: #667eea;
text-decoration: none;
font-weight: 500;
}
.breadcrumb a:hover {
text-decoration: underline;
}
.breadcrumb span {
color: #999;
margin: 0 10px;
}
/* 페이지 헤더 */
.page-header {
background: rgba(255, 255, 255, 0.95);
padding: 30px;
border-radius: 20px;
margin-bottom: 30px;
text-align: center;
backdrop-filter: blur(10px);
}
.page-header h2 {
font-size: 2rem;
margin-bottom: 10px;
background: linear-gradient(45deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* 푸터 */
.footer {
background: rgba(255, 255, 255, 0.9);
padding: 25px;
border-radius: 15px;
text-align: center;
backdrop-filter: blur(10px);
margin-top: auto;
}
.footer p {
color: #666;
font-size: 0.9rem;
margin-bottom: 5px;
}
.footer p:last-child {
margin-bottom: 0;
font-family: 'Courier New', monospace;
color: #999;
}
/* 반응형 디자인 */
@media (max-width: 768px) {
.container {
padding: 15px;
}
.header {
padding: 25px 20px;
}
.header h1 {
font-size: 2rem;
}
.card-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.card {
padding: 25px 20px;
}
.search-box {
flex-direction: column;
}
.search-box button {
width: 100%;
}
.document-item {
flex-direction: column;
text-align: center;
}
.document-meta {
align-items: center;
}
}
@media (max-width: 480px) {
.header h1 {
font-size: 1.8rem;
}
.header p {
font-size: 1rem;
}
.card {
padding: 20px 15px;
}
.card h3 {
font-size: 1.2rem;
}
}
/* 로딩 애니메이션 */
.loading {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* 알림 메시지 */
.alert {
padding: 15px 20px;
border-radius: 10px;
margin-bottom: 20px;
background: rgba(255, 255, 255, 0.9);
border-left: 5px solid #667eea;
backdrop-filter: blur(10px);
}
.alert-success {
border-left-color: #28a745;
}
.alert-warning {
border-left-color: #ffc107;
}
.alert-error {
border-left-color: #dc3545;
}

View File

@@ -0,0 +1,60 @@
// 문서 검색 기능
function searchDocuments() {
const searchTerm = document.getElementById('searchInput').value.toLowerCase();
if (searchTerm.trim() === '') {
alert('검색어를 입력해주세요.');
return;
}
// 간단한 검색 구현 (실제로는 서버 검색 또는 더 복잡한 로직 필요)
window.location.href = `search.html?q=${encodeURIComponent(searchTerm)}`;
}
// 문서 필터링 기능 (문서 목록 페이지용)
function filterDocuments(searchTerm) {
const documents = document.querySelectorAll('.document-item');
const term = searchTerm.toLowerCase();
documents.forEach(doc => {
const keywords = doc.getAttribute('data-keywords').toLowerCase();
const title = doc.querySelector('h3').textContent.toLowerCase();
const description = doc.querySelector('p').textContent.toLowerCase();
if (keywords.includes(term) || title.includes(term) || description.includes(term)) {
doc.style.display = 'flex';
} else {
doc.style.display = 'none';
}
});
}
// QR 코드 생성 (선택사항)
function generateQR() {
const url = 'http://192.168.0.3:10080';
const qrAPI = `https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${encodeURIComponent(url)}`;
const qrModal = document.createElement('div');
qrModal.innerHTML = `
<div style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: flex; justify-content: center; align-items: center; z-index: 1000;">
<div style="background: white; padding: 30px; border-radius: 15px; text-align: center;">
<h3>QR 코드로 접속</h3>
<img src="${qrAPI}" alt="QR Code" style="margin: 20px 0;">
<p>${url}</p>
<button onclick="this.parentElement.parentElement.remove()">닫기</button>
</div>
</div>
`;
document.body.appendChild(qrModal);
}
// Enter 키 검색
document.addEventListener('DOMContentLoaded', function() {
const searchInput = document.getElementById('searchInput');
if (searchInput) {
searchInput.addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
searchDocuments();
}
});
}
});