카카오톡 인앱 WebView는 서브도메인 간 쿠키를 공유하지 않아 tkds에서 로그인 후 tkfb로 리다이렉트 시 인증이 풀리는 문제. - sso-relay.js: URL hash의 _sso= 토큰을 로컬 쿠키+localStorage로 설정 - gateway dashboard: 로그인 후 redirect URL에 #_sso=<token> 추가 - 전 서비스 HTML: core JS 직전에 sso-relay.js 로드 (81개 파일) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
88 lines
4.9 KiB
HTML
88 lines
4.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>생산회의록 - TK 공장관리</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
<link rel="stylesheet" href="/static/css/tkfb.css?v=2026040103">
|
|
</head>
|
|
<body class="bg-gray-50">
|
|
<header class="bg-orange-700 text-white sticky top-0 z-50">
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
<div class="flex justify-between items-center h-14">
|
|
<div class="flex items-center gap-3">
|
|
<button id="mobileMenuBtn" class="lg:hidden text-orange-200 hover:text-white">
|
|
<i class="fas fa-bars text-xl"></i>
|
|
</button>
|
|
<i class="fas fa-industry text-xl text-orange-200"></i>
|
|
<h1 class="text-lg font-semibold">TK 공장관리</h1>
|
|
</div>
|
|
<div class="flex items-center gap-4">
|
|
<span id="headerUserName" class="text-sm hidden sm:block">-</span>
|
|
<div id="headerUserAvatar" class="w-8 h-8 bg-orange-600 rounded-full flex items-center justify-center text-sm font-bold">-</div>
|
|
<button onclick="doLogout()" class="text-orange-200 hover:text-white" title="로그아웃">
|
|
<i class="fas fa-sign-out-alt"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<div id="mobileOverlay" class="hidden fixed inset-0 bg-black/50 z-30 lg:hidden"></div>
|
|
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 fade-in">
|
|
<div class="flex gap-6">
|
|
<nav id="sideNav" class="hidden lg:flex flex-col gap-1 w-52 flex-shrink-0 pt-2 fixed lg:static z-40 bg-white lg:bg-transparent p-4 lg:p-0 rounded-lg lg:rounded-none shadow-lg lg:shadow-none top-14 left-0 bottom-0 overflow-y-auto"></nav>
|
|
|
|
<div class="flex-1 min-w-0">
|
|
<div class="mb-5">
|
|
<h2 class="text-xl font-bold text-gray-800">생산회의록</h2>
|
|
<p class="text-sm text-gray-500 mt-0.5">생산회의 기록을 관리합니다</p>
|
|
</div>
|
|
|
|
<!-- 필터 + 버튼 -->
|
|
<div class="bg-white rounded-xl shadow-sm p-4 mb-4 flex flex-wrap items-center gap-3">
|
|
<div class="flex items-center gap-2">
|
|
<select id="yearFilter" class="input-field rounded-lg px-3 py-1.5 text-sm w-24"></select>
|
|
<select id="monthFilter" class="input-field rounded-lg px-3 py-1.5 text-sm w-20">
|
|
<option value="">전체</option>
|
|
<option value="1">1월</option><option value="2">2월</option><option value="3">3월</option>
|
|
<option value="4">4월</option><option value="5">5월</option><option value="6">6월</option>
|
|
<option value="7">7월</option><option value="8">8월</option><option value="9">9월</option>
|
|
<option value="10">10월</option><option value="11">11월</option><option value="12">12월</option>
|
|
</select>
|
|
</div>
|
|
<input type="text" id="searchInput" class="input-field rounded-lg px-3 py-1.5 text-sm w-48" placeholder="제목/내용 검색">
|
|
<button id="btnNewMeeting" class="hidden ml-auto bg-orange-600 text-white px-4 py-1.5 rounded-lg text-sm hover:bg-orange-700">
|
|
<i class="fas fa-plus mr-1"></i>새 회의록
|
|
</button>
|
|
</div>
|
|
|
|
<!-- 미완료 조치사항 요약 -->
|
|
<div id="actionSummary" class="hidden bg-amber-50 border border-amber-200 rounded-xl p-4 mb-4">
|
|
<div class="flex items-center gap-2 mb-2">
|
|
<i class="fas fa-exclamation-triangle text-amber-600"></i>
|
|
<span class="font-semibold text-amber-800 text-sm">미완료 조치사항</span>
|
|
<span id="actionCount" class="badge badge-amber">0</span>
|
|
</div>
|
|
<div id="actionList" class="space-y-1 text-sm max-h-40 overflow-y-auto"></div>
|
|
</div>
|
|
|
|
<!-- 회의록 목록 -->
|
|
<div id="meetingList" class="space-y-3"></div>
|
|
<div id="emptyState" class="hidden text-center py-12 text-gray-400">
|
|
<i class="fas fa-clipboard text-4xl mb-3"></i>
|
|
<p>회의록이 없습니다.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/js/sso-relay.js?v=20260401"></script>
|
|
<script src="/static/js/tkfb-core.js?v=2026040105"></script>
|
|
<script src="/js/meetings.js?v=2026031701"></script>
|
|
</body>
|
|
</html>
|