21a2225df7
- Restore admin/index.html to working state (relative script paths) - Ensure MapRazorComponents + MapFallbackToFile combination - Fix admin page routes to use relative paths (without /admin prefix) - Add password reset API endpoint for admin account management - Verify WASM bootstrap and login form rendering works correctly - All admin pages now properly routed through WASM rendering pipeline Server verification: ✅ HTML renders with login form correctly ✅ blazor.webassembly.js loads successfully ✅ admin-session.js binds form events ✅ No server-side errors in logs Note: Client-side caching may require browser refresh (Ctrl+Shift+Delete) to see latest WASM updates. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
70 lines
2.9 KiB
HTML
70 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>백원숙 세무회계 - 관리자</title>
|
|
<base href="/taxbaik/admin/" />
|
|
<link rel="icon" type="image/svg+xml" href="/taxbaik/favicon.svg" />
|
|
<link rel="alternate icon" href="/taxbaik/favicon.ico" />
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
|
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
|
<link href="css/admin.css" rel="stylesheet" />
|
|
<script>
|
|
window.taxbaikAdminBuildVersion = 'unknown';
|
|
window.taxbaikAdminComponent = 'AdminWasmApp';
|
|
document.documentElement.classList.toggle(
|
|
'admin-login-route',
|
|
window.location.pathname.toLowerCase().endsWith('/admin/login'));
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<div id="blazor-loading" class="blazor-loading-overlay show">
|
|
<div class="blazor-loading-spinner smartadmin-boot-card">
|
|
<div class="spinner"></div>
|
|
<strong>TaxBaik Admin</strong>
|
|
<p>관리 콘솔을 준비 중입니다.</p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="components-reconnect-modal" class="admin-reconnect-modal">
|
|
<div class="admin-reconnect-card">
|
|
<strong>연결 재설정 중...</strong>
|
|
<span>새로운 버전으로 업데이트되었습니다.</span>
|
|
<span style="font-size: 0.85rem; margin-top: 0.5rem; opacity: 0.8;">자동으로 페이지를 새로고침합니다. 잠시만 기다려주세요.</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="blazor-error-ui">
|
|
<p>관리자 화면을 불러오는 중 오류가 발생했습니다. 브라우저 콘솔 또는 서버 client-logs를 확인하세요.</p>
|
|
<a href="" class="reload">새로고침</a>
|
|
<a class="dismiss">닫기</a>
|
|
</div>
|
|
|
|
<script src="js/admin-session.js"></script>
|
|
<script>
|
|
function initSession() {
|
|
if (window.taxbaikAdminSession) {
|
|
if (typeof window.taxbaikAdminSession.initErrorLogging === 'function') {
|
|
window.taxbaikAdminSession.initErrorLogging();
|
|
}
|
|
if (typeof window.taxbaikAdminSession.bindLoginForm === 'function') {
|
|
window.taxbaikAdminSession.bindLoginForm();
|
|
}
|
|
if (typeof window.taxbaikAdminSession.watchReconnect === 'function') {
|
|
window.taxbaikAdminSession.watchReconnect();
|
|
}
|
|
} else {
|
|
setTimeout(initSession, 50);
|
|
}
|
|
}
|
|
initSession();
|
|
</script>
|
|
</body>
|
|
</html>
|