Updated 20250623 대문수정 등 반영

This commit is contained in:
CPABONG 2025-06-23 11:45:12 +09:00
parent e6a775383b
commit 2f5c6a2d12
4 changed files with 39 additions and 30 deletions

View File

@ -141,5 +141,5 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
# STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
SESSION_COOKIE_AGE = 600 # 10분
SESSION_COOKIE_AGE = 1800 # 30분
SESSION_EXPIRE_AT_BROWSER_CLOSE = True

View File

@ -135,7 +135,7 @@ PEOPLE = [
{'이름' : '주진우','소속' : '국민의힘 부산 해운대구(갑)','생년월일' : '1975.05.25','직책' : '국회의원','연락처' : '010-9004-9330','주소' : '','사진' : 'B_main/images/주진우.png',},
{'이름' : '주효정','소속' : '우리돼지국밥','생년월일' : '1971.07.29','직책' : '대표','연락처' : '010-4480-7724','주소' : '부산 동구 초량로 27-1','사진' : 'B_main/images/주효정.png',},
{'이름' : '진서윤','소속' : '㈜파나','생년월일' : '1966.04.20','직책' : '상무','연락처' : '010-3855-7758','주소' : '양산시 상북면 양산대로 1266-3 ㈜ 파나','사진' : 'B_main/images/진서윤.png','TITLE':'부회장','SEQUENCE':'',},
{'이름' : '진종규','소속' : '㈜ 화승이엔씨','생년월일' : '1968.10.25','직책' : '대표','연락처' : '010-9331-4119','주소' : '부산광역시 부산진구 중앙대로 979번길 6 뉴라이웰 203호','사진' : 'B_main/images/진종규.jpeg',},
{'이름' : '진종규','소속' : '㈜ 화승이엔씨','생년월일' : '1968.10.25','직책' : '대표','연락처' : '010-9331-4119','주소' : '부산광역시 부산진구 중앙대로 979번길 6 뉴라이웰 203호','사진' : 'B_main/images/진종규.png',},
{'이름' : '최대경','소속' : '수원대학교','생년월일' : '1961.11.12','직책' : '특임교수','연락처' : '010-3582-5164','주소' : '경기도 화성시 봉담융 와우안길 17','사진' : 'B_main/images/최대경.png',},
{'이름' : '최승자','소속' : '플로스 플라워','생년월일' : '1959.12.21','직책' : '대표','연락처' : '010-9315-4755','주소' : '부산시 중구 중앙대로 41번길 3 ','사진' : 'B_main/images/최승자.png','TITLE':'고문','SEQUENCE':'',},
{'이름' : '최유심','소속' : '㈜정수인더스트리','생년월일' : '1964.05.21','직책' : '대표','연락처' : '010-4554-6226','주소' : '부산시 부산진구 가야대로 749-1 1307호','사진' : 'B_main/images/최유심.png','TITLE':'재무국','SEQUENCE':'',},

View File

@ -55,7 +55,7 @@
placeholder="검색..."
class="w-full px-4 py-2 rounded-lg bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white border border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 transition-colors duration-200"
hx-get="/search/"
hx-trigger="keyup changed delay:200ms"
hx-trigger="keyup changed delay:500ms"
hx-target="#card-container"
hx-include="#search-input"
autocomplete="off"

View File

@ -1,41 +1,50 @@
{% load static %}
<!DOCTYPE html>
<html lang="ko">
<html lang="ko" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>신라대학교 AMP 제8기</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Enter Access Code | 신라 AMP</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif']
}
}
}
};
</script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet" />
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen flex items-center justify-center">
<div class="bg-gray-800 p-8 rounded-lg shadow-lg w-full max-w-md">
<h2 class="text-2xl font-bold text-center mb-6">Welcome</h2>
<body class="bg-gradient-to-br from-gray-900 via-gray-800 to-black text-white min-h-screen flex items-center justify-center px-4 font-sans">
{% if error %}
<p class="text-red-500 text-sm mb-4 text-center">{{ error }}</p>
{% endif %}
<div class="bg-gray-800 bg-opacity-70 backdrop-blur-lg p-8 rounded-2xl shadow-2xl w-full max-w-sm transition-all">
<div class="text-center mb-6">
<h1 class="text-3xl font-bold tracking-tight text-white">신라 AMP</h1>
<p class="text-sm text-gray-400 mt-2">Enter access code to continue</p>
</div>
<form method="post" class="space-y-4">
<form method="POST" action="/password/">
{% csrf_token %}
<div>
<div class="mb-5">
<input
type="password"
name="password"
placeholder="password..."
class="w-full px-4 py-2 rounded-lg bg-gray-700 text-white border border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500"
required
>
</div>
<input type="hidden" name="next" value="{{ next }}">
<div>
<button
type="submit"
class="w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-4 rounded-lg transition"
>
Login
</button>
placeholder="Access code..."
class="w-full px-4 py-3 rounded-xl bg-gray-700 bg-opacity-80 text-white placeholder-gray-400 border border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 transition"
/>
</div>
<button
type="submit"
class="w-full py-3 bg-blue-600 hover:bg-blue-700 active:bg-blue-800 rounded-xl text-white font-semibold text-base transition duration-200 shadow-md hover:shadow-lg"
>
Enter
</button>
</form>
</div>
</body>
</html>