style(project): 업무 팝업 담당자 칸 축소 + 마감일 라벨 뒤 달력 아이콘
- 담당자 칸은 이름 길이만큼만(최대 150px), 남는 폭은 세션 칸이 쓴다. - 마감일 칸에 "마감일" 라벨을 다시 두고 그 뒤에 달력 아이콘(날짜가 있으면 아이콘 옆에 "09/25(목)"). - 캐시 버전 20260923f. 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=20260923e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260923f" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -96,5 +96,5 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/project.js?v=20260923e" defer></script>
|
||||
<script src="/static/project.js?v=20260923f" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260923e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260923f" />
|
||||
<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=20260923e" defer></script>
|
||||
<script src="/static/project.js?v=20260923f" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260923e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260923f" />
|
||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<!-- 타임라인 vis-timeline — self-host -->
|
||||
@@ -292,8 +292,9 @@
|
||||
<!-- 메타 정보 — 아사나처럼 "라벨(좌) + 아이콘/값(우)" 목록형 한 줄씩. -->
|
||||
<div class="pj-meta-list">
|
||||
<!-- 담당자 · 세션 · 우선순위 · 마감일 — 한 줄에 넷을 나란히(칸 사이 세로선).
|
||||
칸 안 아이콘은 빼고 라벨 글자만 둔다. 마감일은 달력 아이콘 버튼 하나 —
|
||||
날짜가 있으면 옆에 "09/25(목)" 처럼 짧게. 누르면 브라우저 달력이 뜬다
|
||||
칸 안 아이콘은 빼고 라벨 글자만 둔다. 담당자 칸은 이름 길이만큼만(최대
|
||||
150px), 남는 폭은 세션 칸이 쓴다. 마감일은 "마감일" 라벨 + 달력 아이콘
|
||||
버튼 — 날짜가 있으면 아이콘 옆에 "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">
|
||||
@@ -324,6 +325,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="pj-meta-cell pj-meta-cell-due">
|
||||
<span class="pj-meta-cell-label">마감일</span>
|
||||
<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>
|
||||
@@ -516,5 +518,5 @@
|
||||
</script>
|
||||
|
||||
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
|
||||
<script src="/static/project.js?v=20260923e" defer></script>
|
||||
<script src="/static/project.js?v=20260923f" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -482,15 +482,17 @@
|
||||
border-color: var(--pj-border) !important; background: #f6f7f8 !important; outline: none;
|
||||
}
|
||||
/* 담당자 · 세션 · 우선순위 · 마감일 한 줄 — 칸마다 "작은 라벨 + 값", 칸 사이는
|
||||
얇은 세로선. 이름이 길 수 있는 담당자·세션 칸이 남는 폭을 나눠 갖는다. */
|
||||
얇은 세로선. 담당자는 이름 길이만큼만(최대 150px), 남는 폭은 세션 칸이 쓴다. */
|
||||
.pj-meta-row-multi { gap: 0; padding: 2px 0; }
|
||||
.pj-meta-cell { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 36px; }
|
||||
.pj-meta-cell + .pj-meta-cell { border-left: 1px solid #eef0f2; padding-left: 10px; margin-left: 10px; }
|
||||
.pj-meta-cell-assignee, .pj-meta-cell-stage { flex: 1 1 0; }
|
||||
.pj-meta-cell-stage { flex: 1 1 0; }
|
||||
.pj-meta-cell-assignee { flex: 0 1 auto; }
|
||||
.pj-meta-cell-priority, .pj-meta-cell-due { flex: 0 0 auto; }
|
||||
.pj-meta-cell-label { font-size: 13px; font-weight: 600; color: var(--pj-ink-soft); white-space: nowrap; flex: none; }
|
||||
.pj-meta-cell select { flex: 1 1 auto; min-width: 0; width: 100%; text-overflow: ellipsis; }
|
||||
.pj-meta-cell-priority select { width: auto; }
|
||||
.pj-meta-cell-assignee select { width: auto; max-width: 150px; }
|
||||
/* 마감일 — 달력 아이콘 버튼 하나. 진짜 값은 숨긴 input[type=date] 가 들고 있고,
|
||||
버튼을 누르면 JS 가 showPicker() 로 브라우저 달력을 띄운다(달력의 "삭제"로 지움). */
|
||||
.pj-meta-cell-due { position: relative; }
|
||||
@@ -506,7 +508,7 @@
|
||||
.pj-due-text:empty { display: none; }
|
||||
/* 화면엔 안 보이지만 달력이 버튼 자리에 뜨도록 렌더는 유지(display:none 이면 showPicker 불가) */
|
||||
.pj-meta-row-multi .pj-meta-cell-due input.pj-due-native {
|
||||
position: absolute; left: 10px; bottom: 2px; width: 1px !important; height: 1px;
|
||||
position: absolute; left: 60px; bottom: 2px; width: 1px !important; height: 1px;
|
||||
padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0; pointer-events: none;
|
||||
}
|
||||
/* 패널이 좁으면(너비 조절/작은 화면) 2×2 로 접는다 — 담당자|세션 / 우선순위|마감일. */
|
||||
|
||||
Reference in New Issue
Block a user