- Phase 1: 모든 서비스 헤더에 알림 벨 UI 추가 (notification-bell.js) - Phase 2: VAPID Web Push 구독/전송 (push-sw.js, pushSubscription API) - Phase 3: 내부 알림 API + notifyHelper로 서비스간 알림 연동 - tksafety: 출입 승인/반려, 안전교육 완료, 방문자 체크인 - tkpurchase: 일용공 신청, 작업보고서 제출 - system2-report: 신고 접수/확인/처리완료 - Phase 4: 30일 이상 알림 자동 정리 cron, Redis 캐싱 - CORS에 tkuser/tkpurchase/tksafety 서브도메인 추가 - HTML cache busting 버전 갱신 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
1.5 KiB
HTML
39 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<title>AI 신고 도우미 | (주)테크니컬코리아</title>
|
|
<link rel="icon" type="image/png" href="/img/favicon.png">
|
|
<link rel="stylesheet" href="/css/chat-report.css?v=3">
|
|
<script src="/js/api-base.js?v=20260313"></script>
|
|
<script src="/js/app-init.js?v=20260313" defer></script>
|
|
</head>
|
|
<body>
|
|
<!-- Header -->
|
|
<div class="chat-header">
|
|
<button class="chat-header-back" onclick="history.back()" aria-label="뒤로가기">←</button>
|
|
<div>
|
|
<div class="chat-header-title">AI 신고 도우미</div>
|
|
<div class="chat-header-subtitle">대화형 신고 접수</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Chat Area -->
|
|
<div class="chat-area" id="chatArea"></div>
|
|
|
|
<!-- Input Bar -->
|
|
<div class="chat-input-bar">
|
|
<button class="chat-photo-btn" id="photoBtn" aria-label="사진 첨부">📎</button>
|
|
<textarea class="chat-text-input" id="textInput" rows="1" placeholder="문제 상황을 설명해주세요..." enterkeyhint="send"></textarea>
|
|
<button class="chat-send-btn" id="sendBtn" disabled aria-label="전송">➤</button>
|
|
</div>
|
|
|
|
<!-- Hidden file input -->
|
|
<input type="file" id="chatPhotoInput" accept="image/*" style="display:none">
|
|
|
|
<script src="/js/cross-nav.js?v=1"></script>
|
|
<script src="/js/chat-report.js?v=3"></script>
|
|
</body>
|
|
</html>
|