feat(project): move PC notifier entry into inbox header
Sidebar 'PC 알림' item removed; inbox header gets a [PC 알림] button, and the notifier page keeps the inbox highlighted with a breadcrumb. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
my_open_total 진행 중인 내 업무 개수 (내 업무 배지)
|
||||
nav_projects 프로젝트 목록(평면)
|
||||
current_pid 지금 보고 있는 프로젝트 id (내 업무/수신함 화면이면 0)
|
||||
side_active 'inbox' | 'mytasks' | 'notifier' | 'trash' | 'goals' | '' — 개인 메뉴 활성 표시
|
||||
side_active 'inbox' | 'mytasks' | 'trash' | 'goals' | '' — 개인 메뉴 활성 표시
|
||||
goal_years "목표" 아래 연도 목록(router._goal_years_nav — 올해는 항상 포함)
|
||||
goal_year_active 목표 화면에서 보고 있는 연도
|
||||
is_admin 프로젝트 생성/수정/삭제 권한
|
||||
@@ -44,11 +44,6 @@
|
||||
<span class="pj-side-navbadge pj-side-navbadge-open" id="pj-myopen-badge"
|
||||
{% if not my_open_total %}hidden{% endif %}>{{ my_open_total }}</span>
|
||||
</a>
|
||||
{# PC 알림 — 트레이 프로그램(desktop/notifier) 내려받기·연결 승인·연결된 PC 해제(023) #}
|
||||
<a class="pj-side-navlink {% if side_active == 'notifier' %}is-active{% endif %}" href="/project/notifier">
|
||||
<span class="material-symbols-outlined pj-side-navic">desktop_windows</span>
|
||||
<span class="pj-side-navtext">PC 알림</span>
|
||||
</a>
|
||||
{# 휴지통 — 관리자만 보이고(화면·복구 API 도 관리자 전용), 지운 업무를 3개월 보관. #}
|
||||
{% if is_admin %}
|
||||
<a class="pj-side-navlink {% if side_active == 'trash' %}is-active{% endif %}" href="/project/trash">
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
<div class="pj-section-head">
|
||||
<h2>수신함</h2>
|
||||
<div style="display:flex; gap:8px;">
|
||||
{# PC 알림 프로그램(023) — 연결·내려받기 화면은 수신함 안에서 들어간다 #}
|
||||
<a class="pj-btn pj-inbox-notifier" href="/project/notifier" title="브라우저가 뒤에 있어도 PC 화면에 알림 띄우기">
|
||||
<span class="material-symbols-outlined">desktop_windows</span>PC 알림</a>
|
||||
<button type="button" class="pj-btn" id="pj-mentions-readall">태그 모두 확인</button>
|
||||
<button type="button" class="pj-btn pj-btn-primary" id="pj-readall">알림 모두 읽음</button>
|
||||
</div>
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
토큰은 프로그램이 받아 PC 에 암호화 저장(Windows DPAPI). 이 화면은 토큰 원문을 보지 않는다. #}
|
||||
<div class="pj-wrap pj-inbox-view pj-notifier-view">
|
||||
<div class="pj-layout">
|
||||
{% with current_pid = 0, side_active = "notifier" %}{% include "project/_side.html" %}{% endwith %}
|
||||
{% with current_pid = 0, side_active = "inbox" %}{% include "project/_side.html" %}{% endwith %}
|
||||
|
||||
<section class="pj-main">
|
||||
<div class="pj-section-head"><h2>PC 알림 프로그램</h2></div>
|
||||
<div class="pj-section-head"><h2><a class="pj-notifier-back" href="/project/inbox">수신함</a> › PC 알림 프로그램</h2></div>
|
||||
<div class="pj-view pj-inbox-pane pj-notifier-pane">
|
||||
{% if not notifier_enabled %}
|
||||
<div class="pj-empty">PC 알림 연결이 아직 준비되지 않았습니다(DB 마이그레이션 023 필요).</div>
|
||||
|
||||
@@ -3005,3 +3005,7 @@ html[data-pj-font="nanum-square-round"] { --pj-font: "NanumSquareRound", var(--p
|
||||
.pj-notifier-note { color: var(--pj-ink-soft); font-size: 13px; }
|
||||
.pj-notifier-steps { margin: 4px 0 8px; padding-left: 20px; line-height: 1.9; }
|
||||
.pj-notifier-table { width: 100%; }
|
||||
.pj-notifier-back { color: var(--pj-ink-soft); text-decoration: none; }
|
||||
.pj-notifier-back:hover { color: var(--pj-accent-dark); text-decoration: underline; }
|
||||
.pj-inbox-notifier { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
|
||||
.pj-inbox-notifier .material-symbols-outlined { font-size: 18px; }
|
||||
|
||||
Reference in New Issue
Block a user