feat(project): 업무 팝업 담당자·세션·우선순위·마감일 한 줄 + 마감일 달력 아이콘

- 네 항목을 한 줄(칸 사이 세로선)로 묶었다. 칸 안 아이콘은 빼고 라벨 글자만,
  담당자·세션 칸이 남는 폭을 나눠 갖는다. "담당자 없음" → "없음".
- 마감일은 달력 아이콘 버튼 하나. 날짜가 있으면 옆에 "09/25(목)", 지났으면
  빨간색. 누르면 showPicker() 로 브라우저 달력(지우기 포함). 실제 값은 숨긴
  #pj-t-due 가 그대로 들고 있어 저장·변경감지 로직은 바뀌지 않는다.
- 패널이 520px 이하면 2×2(담당자|세션 / 우선순위|마감일)로 접힌다.
- 캐시 버전 20260923e.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-23 13:42:46 +09:00
parent 4c2f4fce6a
commit 1471e0f89e
6 changed files with 74 additions and 41 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260923d" />
<link rel="stylesheet" href="/static/project.css?v=20260923e" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -96,5 +96,5 @@
</div>
</div>
<script src="/static/project.js?v=20260923d" defer></script>
<script src="/static/project.js?v=20260923e" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260923d" />
<link rel="stylesheet" href="/static/project.css?v=20260923e" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -117,5 +117,5 @@
"today": {{ today | tojson }}
}
</script>
<script src="/static/project.js?v=20260923d" defer></script>
<script src="/static/project.js?v=20260923e" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260923d" />
<link rel="stylesheet" href="/static/project.css?v=20260923e" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -291,27 +291,24 @@
<div class="pj-modal-col-main">
<!-- 메타 정보 — 아사나처럼 "라벨(좌) + 아이콘/값(우)" 목록형 한 줄씩. -->
<div class="pj-meta-list">
<div class="pj-meta-row2">
<span class="pj-meta-label2">담당자</span>
<span class="pj-meta-value2">
<span class="material-symbols-outlined pj-meta-ic">account_circle</span>
<!-- 담당자 · 세션 · 우선순위 · 마감일 — 한 줄에 넷을 나란히(칸 사이 세로선).
칸 안 아이콘은 빼고 라벨 글자만 둔다. 마감일은 달력 아이콘 버튼 하나 —
날짜가 있으면 옆에 "09/25(목)" 처럼 짧게. 누르면 브라우저 달력이 뜬다
(진짜 값은 숨긴 #pj-t-due 가 들고 있다). 패널이 좁으면 2×2 로 접힌다. -->
<div class="pj-meta-row2 pj-meta-row-multi">
<div class="pj-meta-cell pj-meta-cell-assignee">
<span class="pj-meta-cell-label">담당자</span>
<select id="pj-t-assignee">
<option value="">담당자 없음</option>
<option value="">없음</option>
{% for m in members %}
<option value="{{ m.user_email }}" data-name="{{ m.user_email.split('@')[0] }}">
{{ m.user_email.split('@')[0] }}
</option>
{% endfor %}
</select>
</span>
</div>
<!-- 세션 · 우선순위 · 마감일 — 짧은 값이라 한 줄에 셋을 나란히 둔다
(예전엔 한 줄씩 3행). 아이콘은 첫 칸만(나머지는 라벨 글자로 충분하고
폭을 아낀다). 패널이 좁으면 마감일 칸이 다음 줄로 넘어간다. -->
<div class="pj-meta-row2 pj-meta-row-multi">
</div>
<div class="pj-meta-cell pj-meta-cell-stage">
<span class="pj-meta-cell-label">세션</span>
<span class="material-symbols-outlined pj-meta-ic">view_column</span>
<select id="pj-t-stage">
{% for s in stages %}
<option value="{{ s.id }}">{{ s.name }}</option>
@@ -327,8 +324,11 @@
</select>
</div>
<div class="pj-meta-cell pj-meta-cell-due">
<span class="pj-meta-cell-label">마감일</span>
<input type="date" id="pj-t-due" />
<button type="button" class="pj-due-btn" id="pj-t-due-btn" title="마감일 지정">
<span class="material-symbols-outlined">calendar_month</span>
<span class="pj-due-text" id="pj-t-due-text"></span>
</button>
<input type="date" id="pj-t-due" class="pj-due-native" tabindex="-1" aria-label="마감일" />
</div>
</div>
<!-- 팔로워(아사나의 협업자) — 완료·댓글 알림을 받는 사람. 만든 사람·담당자·
@@ -516,5 +516,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20260923d" defer></script>
<script src="/static/project.js?v=20260923e" defer></script>
{% endblock %}