feat: 로그인 페이지 추가 (Basic Auth 제거)
- 산뜻한 로그인 페이지 (다크 테마 + 글로우 배경) - 쿠키 기반 세션 인증 (24시간 유지) - 로그아웃 버튼 (사이드바 + 상단바) - 미인증 시 로그인 페이지로 리다이렉트 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -101,12 +101,18 @@ tr:hover td{background:rgba(255,255,255,.02)}
|
||||
<a href="/admin/adsense" class="<%= typeof page !== 'undefined' && page === 'adsense' ? 'active' : '' %>">💰 AdSense 관리</a>
|
||||
<a href="/admin/domains" class="<%= typeof page !== 'undefined' && page === 'domains' ? 'active' : '' %>">🔗 도메인 매핑</a>
|
||||
<a href="/admin/logs" class="<%= typeof page !== 'undefined' && page === 'logs' ? 'active' : '' %>">📝 로그</a>
|
||||
<div style="border-top:1px solid var(--border);margin-top:auto;padding-top:.5rem;margin-top:1rem">
|
||||
<a href="/logout" style="color:var(--danger)">🚪 로그아웃</a>
|
||||
</div>
|
||||
</nav>
|
||||
</aside>
|
||||
<div class="main">
|
||||
<div class="topbar">
|
||||
<h1><%= typeof pageTitle !== 'undefined' ? pageTitle : '' %></h1>
|
||||
<span class="text-muted" style="font-size:.8rem">Crawl Manager v1.0</span>
|
||||
<div class="flex" style="gap:1rem">
|
||||
<span class="text-muted" style="font-size:.8rem">Crawl Manager v1.0</span>
|
||||
<a href="/logout" class="btn btn-outline btn-sm" style="font-size:.75rem">로그아웃</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<%- body %>
|
||||
|
||||
Reference in New Issue
Block a user