feat(project): 모든 날짜 칸을 아사나식 날짜 팝업으로(브라우저 기본 달력 제거)

- enhanceDateInput: input[type=date] 를 숨기고 날짜 버튼을 붙여 openDatePopover 를
  연다. input 은 값 저장소로 남아 기존 .value·change 코드가 그대로 동작
- 새 프로젝트 마감일, 프로젝트 수정 시작일·마감일(버튼 하나, 팝업의 "+ 시작일"),
  하위 작업 추가 줄 마감일에 적용
- 정적 파일 버전 20260925h

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 19:50:32 +09:00
parent 3620482913
commit d9fba4ad1f
8 changed files with 93 additions and 12 deletions
@@ -12,7 +12,9 @@
<h3>새 프로젝트</h3>
<label>이름<input type="text" id="pj-f-name" placeholder="프로젝트 이름" /></label>
<label>설명<textarea id="pj-f-desc" rows="2"></textarea></label>
<label>마감일<input type="date" id="pj-f-due" /></label>
{# 날짜 칸은 project.js enhanceDateInput 이 아사나식 날짜 버튼으로 바꾼다(input 은 숨긴 값 저장소).
label 로 감싸지 않는다 — label 안의 버튼을 누르면 숨긴 input 이 다시 눌리는 문제가 생긴다. #}
<div class="pj-field-label">마감일<input type="date" id="pj-f-due" /></div>
<label>색상
<span class="pj-color-palette" id="pj-f-colors"></span>
</label>
@@ -33,9 +35,10 @@
<input type="hidden" id="pj-e-id" />
<label>이름<input type="text" id="pj-e-name" placeholder="프로젝트 이름" /></label>
<label>설명<textarea id="pj-e-desc" rows="2"></textarea></label>
<div class="pj-form-row">
<label>시작일<input type="date" id="pj-e-start" /></label>
<label>마감일<input type="date" id="pj-e-due" /></label>
{# 시작일·마감일은 버튼 하나(아사나식 날짜 팝업의 "+ 시작일") — enhanceDateInput(startInput) #}
<div class="pj-field-label">시작일 · 마감일
<input type="date" id="pj-e-start" />
<input type="date" id="pj-e-due" />
</div>
<label>색상
<span class="pj-color-palette" id="pj-e-colors"></span>
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925g" />
<link rel="stylesheet" href="/static/project.css?v=20260925h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -99,5 +99,5 @@
{% include "project/_side_modals.html" %}
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project.js?v=20260925g" defer></script>
<script src="/static/project.js?v=20260925h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925g" />
<link rel="stylesheet" href="/static/project.css?v=20260925h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -98,5 +98,5 @@
"today": {{ today | tojson }}
}
</script>
<script src="/static/project.js?v=20260925g" defer></script>
<script src="/static/project.js?v=20260925h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925g" />
<link rel="stylesheet" href="/static/project.css?v=20260925h" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -465,5 +465,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20260925g" defer></script>
<script src="/static/project.js?v=20260925h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925g" />
<link rel="stylesheet" href="/static/project.css?v=20260925h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -68,5 +68,5 @@
{% include "project/_side_modals.html" %}
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project.js?v=20260925g" defer></script>
<script src="/static/project.js?v=20260925h" defer></script>
{% endblock %}