feat(project): 성공하기 버튼을 사이드바 프로젝트 목록 위로 + dbx.html 탭 순서·강조

- [성공하기] 수신함 머리 → 왼쪽 사이드바 프로젝트 목록 위(_side.html, 모든 Project 화면), 아이콘 120%
- 창 여는 코드는 project.js 문서 단위 클릭 위임(팝업 막힘 안내)
- dbx.html: "DBX 존재이유 / 일하는 법", 형광 노랑 <mark>, 탭 순서 변경, 일 잘한다·의문 줄 굵게, 마지막 질문 굵게+형광
- project.css 20261015d, project.js 20261015b

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-15 13:26:11 +09:00
parent f0aae513af
commit 0bb23c32de
14 changed files with 53 additions and 44 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261015c" />
<link rel="stylesheet" href="/static/project.css?v=20261015d" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -16,9 +16,6 @@
<section class="pj-main">
<div class="pj-section-head">
{# 성공하기 — 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 class="pj-inbox-titlebar">
<h2>수신함</h2>
</div>
@@ -109,15 +106,5 @@
{% include "project/_side_modals.html" %}
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project.js?v=20261015a" 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>
<script src="/static/project.js?v=20261015b" defer></script>
{% endblock %}