feat(project): 수신함 [성공하기] 별도 창(dbx.html) + 모두 확인/읽음 아이콘 버튼 + PC 알림 프로그램 설치
- GET /project/dbx: 모듈 폴더 dbx.html 을 그대로(로그인·project 권한), 수신함 제목 옆 버튼 → 닫기만 있는 팝업 창 - 태그 모두 확인·알림 모두 읽음은 아이콘만(title 말풍선), [PC 알림] → [PC 알림 프로그램 설치] - project.css 버전 20261015a, 도움말·PROJECT_MODULE.md 6-21 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261014a" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261015a" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -16,13 +16,20 @@
|
||||
|
||||
<section class="pj-main">
|
||||
<div class="pj-section-head">
|
||||
<h2>수신함</h2>
|
||||
<div class="pj-inbox-titlebar">
|
||||
<h2>수신함</h2>
|
||||
{# 성공하기 — dbx.html(GET /project/dbx)을 닫기 버튼만 있는 별도 창으로 연다 #}
|
||||
<button type="button" class="pj-btn pj-inbox-dbx" id="pj-dbx-open">
|
||||
<span class="material-symbols-outlined">emoji_events</span>성공하기</button>
|
||||
</div>
|
||||
<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>
|
||||
<span class="material-symbols-outlined">desktop_windows</span>PC 알림 프로그램 설치</a>
|
||||
<button type="button" class="pj-btn pj-inbox-iconbtn" id="pj-mentions-readall" title="태그 모두 확인" aria-label="태그 모두 확인">
|
||||
<span class="material-symbols-outlined">done_all</span></button>
|
||||
<button type="button" class="pj-btn pj-btn-primary pj-inbox-iconbtn" id="pj-readall" title="알림 모두 읽음" aria-label="알림 모두 읽음">
|
||||
<span class="material-symbols-outlined">mark_email_read</span></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pj-view pj-inbox-pane">
|
||||
@@ -103,4 +110,14 @@
|
||||
{% include "project/_member_tasks_modal.html" %}
|
||||
|
||||
<script src="/static/project.js?v=20261014a" defer></script>
|
||||
<script>
|
||||
// 성공하기 — 닫기 버튼만 있는 별도 창(같은 이름이라 여러 번 눌러도 창 하나).
|
||||
document.getElementById("pj-dbx-open").addEventListener("click", function () {
|
||||
var w = Math.min(960, screen.availWidth - 40), h = Math.min(860, screen.availHeight - 60);
|
||||
var win = window.open("/project/dbx", "pj-dbx",
|
||||
"popup=yes,width=" + w + ",height=" + h +
|
||||
",left=" + Math.max(0, (screen.availWidth - w) / 2) + ",top=" + Math.max(0, (screen.availHeight - h) / 2));
|
||||
if (win) win.focus();
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user