style(project): 주간 회의록 머리 정리 — 주차 탭은 제목 줄 끝 작은 탭, 이 달 계획은 그 아래(달력 앞까지), 달력 90% 축소
- 주차 탭: 한 줄짜리(1주차 10/5~11, 같은 달이면 끝 월 생략, 전체 기간은 말풍선), 회의록 있음 점은 왼쪽 위 - 이 달 계획 카드를 머리 왼쪽(주차 탭 자리)으로 옮겨 너비를 달력 앞까지 - 작은 달력 212px → 191px(글자·칸 높이도 같이) - project.css 캐시 버전 올림 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=20261001w" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001x" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
{% with current_pid = 0, side_active = "goals" %}{% include "project/_side.html" %}{% endwith %}
|
||||
|
||||
<section class="pj-main">
|
||||
{# 머리 — 왼쪽: 제목·이전/다음 달·인쇄·회의록 삭제 + 주차 탭 / 오른쪽 위: 작은 달력 #}
|
||||
{# 머리 — 왼쪽: 제목·이전/다음 달·인쇄·회의록 삭제·주차 탭(한 줄) + 이 달 계획(달력 앞까지) / 오른쪽 위: 작은 달력 #}
|
||||
<div class="pj-meet-headgrid">
|
||||
<div class="pj-meet-headleft">
|
||||
<div class="pj-meet-title">
|
||||
@@ -39,18 +39,39 @@
|
||||
{% else %}<span class="pj-goal-note">회의록은 관리자만 입력할 수 있습니다.</span>{% endif %}
|
||||
</span>
|
||||
{% endif %}
|
||||
{# 주차 탭 — 주 = 월요일~일요일, 1주차 = 그 달 첫 월요일이 있는 주(주는 월요일이 속한 달). 점 = 회의록 있음 #}
|
||||
<nav class="pj-meet-weeks" aria-label="주차">
|
||||
{% for w in weeks %}
|
||||
<a class="pj-meet-week{% if w.start == week %} is-on{% endif %}{% if w.now %} is-now{% endif %}"
|
||||
href="?week={{ w.start }}" title="{{ w.n }}주차 {{ w.label }}">
|
||||
{# 날짜는 짧게 — 같은 달이면 끝 월 생략(10/5~11), 달이 넘어가면 10/26~11/1 #}
|
||||
{% set ws = w.start.split('-') %}{% set we = w.end.split('-') %}
|
||||
<b>{{ w.n }}주차</b><span>{{ ws[1] | int }}/{{ ws[2] | int }}~{% if we[1] != ws[1] %}{{ we[1] | int }}/{% endif %}{{ we[2] | int }}</span>
|
||||
{% if w.has %}<i class="pj-meet-dot" title="회의록 있음"></i>{% endif %}
|
||||
{% if w.now %}<em>이번 주</em>{% endif %}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
</div>
|
||||
{# 주차 탭 — 주 = 월요일~일요일, 1주차 = 그 달 첫 월요일이 있는 주(주는 월요일이 속한 달). 점 = 회의록 있음 #}
|
||||
<nav class="pj-meet-weeks" aria-label="주차">
|
||||
{% for w in weeks %}
|
||||
<a class="pj-meet-week{% if w.start == week %} is-on{% endif %}{% if w.now %} is-now{% endif %}"
|
||||
href="?week={{ w.start }}">
|
||||
<b>{{ w.n }}주차</b><span>{{ w.label }}</span>
|
||||
{% if w.has %}<i class="pj-meet-dot" title="회의록 있음"></i>{% endif %}
|
||||
{% if w.now %}<em>이번 주</em>{% endif %}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{# 이 달 계획 — 연간 목표 표의 그 달 열 글(업무 영역별, router._month_plan) #}
|
||||
{% if month_plan is not none %}
|
||||
<section class="pj-meet-plan">
|
||||
<div class="pj-meet-plan-head"><span class="material-symbols-outlined">event_note</span>{{ goal_month }}월 계획
|
||||
<a href="/project/goals/{{ goal_year }}">목표 표에서 보기</a></div>
|
||||
{% if month_plan %}
|
||||
<div class="pj-meet-plan-grid">
|
||||
{% for a in month_plan %}
|
||||
<div class="pj-meet-plan-area" style="--goal-bg: {{ a.color or '#f4f5f7' }}">
|
||||
<b class="pj-meet-plan-name">{{ a.name }}</b>
|
||||
{% for it in a.lines %}
|
||||
<div class="pj-meet-plan-item">{% if it.label %}<span class="pj-meet-plan-label">{{ it.label }}</span>{% endif %}<span class="pj-meet-plan-text">{{ it.text }}</span>{% if it.range %}<em>{{ it.range }}</em>{% endif %}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}<p class="pj-meet-plan-empty">목표 표에 {{ goal_month }}월 계획이 아직 없습니다.</p>{% endif %}
|
||||
</section>
|
||||
{% endif %}
|
||||
</div>
|
||||
{# 작은 달력 — 월요일 시작(주 = 월~일), 보고 있는 주는 영역 표시, 줄을 누르면 그 주 회의록. 점 = 회의록 있음.
|
||||
1주차 = 그 달 첫 월요일이 있는 주 — 1일 앞쪽 날짜가 든 주는 앞 달 주(흐리게, 누르면 앞 달 회의록). #}
|
||||
@@ -70,26 +91,6 @@
|
||||
<div class="pj-view pj-meet-pane" id="pj-meet-pane" data-week="{{ week }}" data-year="{{ goal_year }}"
|
||||
data-month="{{ goal_month }}" data-admin="{{ 'true' if is_admin else 'false' }}">
|
||||
|
||||
{# 이 달 계획 — 연간 목표 표의 그 달 열 글(업무 영역별, router._month_plan) #}
|
||||
{% if month_plan is not none %}
|
||||
<section class="pj-meet-plan">
|
||||
<div class="pj-meet-plan-head"><span class="material-symbols-outlined">event_note</span>{{ goal_month }}월 계획
|
||||
<a href="/project/goals/{{ goal_year }}">목표 표에서 보기</a></div>
|
||||
{% if month_plan %}
|
||||
<div class="pj-meet-plan-grid">
|
||||
{% for a in month_plan %}
|
||||
<div class="pj-meet-plan-area" style="--goal-bg: {{ a.color or '#f4f5f7' }}">
|
||||
<b class="pj-meet-plan-name">{{ a.name }}</b>
|
||||
{% for it in a.lines %}
|
||||
<div class="pj-meet-plan-item">{% if it.label %}<span class="pj-meet-plan-label">{{ it.label }}</span>{% endif %}<span class="pj-meet-plan-text">{{ it.text }}</span>{% if it.range %}<em>{{ it.range }}</em>{% endif %}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}<p class="pj-meet-plan-empty">목표 표에 {{ goal_month }}월 계획이 아직 없습니다.</p>{% endif %}
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
{% if not meetings_enabled %}
|
||||
<div class="pj-empty">주간 회의록이 아직 준비되지 않았습니다(DB 마이그레이션 015 필요).</div>
|
||||
{% elif not meeting %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001w" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001x" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001w" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001x" />
|
||||
<link rel="stylesheet" href="/static/project-help.css?v=20260926v" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001w" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001x" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001w" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001x" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001w" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001x" />
|
||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<!-- 타임라인 vis-timeline — self-host -->
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001w" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261001x" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
+16
-15
@@ -2211,19 +2211,20 @@ html.pj-goal-selecting, html.pj-goal-selecting * { user-select: none !important;
|
||||
.pj-meet-goalbtn:hover { background: var(--pj-accent); border-color: var(--pj-accent); color: #fff; }
|
||||
.pj-goal-head-acts .pj-btn .material-symbols-outlined { font-size: 17px; vertical-align: -3px; }
|
||||
|
||||
/* 머리 — 왼쪽: 제목·인쇄·삭제 + 주차 탭 / 오른쪽 위: 작은 달력(90% 크기) */
|
||||
/* 머리 — 왼쪽: 제목·인쇄·삭제·주차 탭(한 줄) + 이 달 계획(달력 앞까지) / 오른쪽 위: 작은 달력(81% — 90%의 90%) */
|
||||
.pj-meet-headgrid { display: flex; align-items: flex-start; gap: 16px; margin: 8px 0 12px; }
|
||||
.pj-meet-headleft { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
|
||||
.pj-meet-headleft { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
|
||||
.pj-meet-headleft > .pj-meet-plan { margin: 0; }
|
||||
.pj-meet-title { flex-wrap: wrap; }
|
||||
.pj-meet-title-acts { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
|
||||
.pj-meet-title-acts { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; }
|
||||
.pj-meet-title-acts .material-symbols-outlined { font-size: 16px; margin-right: 3px; }
|
||||
.pj-meet-weeks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding-top: 9px; } /* "이번 주" 꼬리표 자리 */
|
||||
.pj-meet-weeks { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 0 6px; padding-top: 6px; } /* "이번 주" 꼬리표 자리 */
|
||||
.pj-meet-cal {
|
||||
flex: 0 0 auto; width: 212px; padding: 7px 10px 5px; border: 1px solid var(--pj-border); border-radius: 11px; background: #fff;
|
||||
flex: 0 0 auto; width: 191px; padding: 6px 9px 4px; border: 1px solid var(--pj-border); border-radius: 10px; background: #fff;
|
||||
}
|
||||
.pj-meet-cal-head { font-size: 11.5px; font-weight: 800; text-align: center; margin-bottom: 3px; }
|
||||
.pj-meet-cal-head { font-size: 10.5px; font-weight: 800; text-align: center; margin-bottom: 2px; }
|
||||
.pj-meet-cal-wd, .pj-meet-cal-row { display: grid; grid-template-columns: repeat(7, 1fr); }
|
||||
.pj-meet-cal-wd span { font-size: 9.5px; font-weight: 700; color: var(--pj-ink-soft); text-align: center; padding: 2px 0; }
|
||||
.pj-meet-cal-wd span { font-size: 8.5px; font-weight: 700; color: var(--pj-ink-soft); text-align: center; padding: 1px 0; }
|
||||
.pj-meet-cal-row {
|
||||
position: relative; margin: 1px 0; border-radius: 7px; color: var(--pj-ink); text-decoration: none; cursor: pointer;
|
||||
}
|
||||
@@ -2233,7 +2234,7 @@ html.pj-goal-selecting, html.pj-goal-selecting * { user-select: none !important;
|
||||
/* 앞뒤 달에 속한 주(월요일이 다른 달) — 흐리게, 누르면 그 달 회의록 */
|
||||
.pj-meet-cal-row.is-other { opacity: .55; }
|
||||
.pj-meet-cal-row.is-other:hover { opacity: 1; }
|
||||
.pj-meet-cal-d { height: 22px; line-height: 22px; text-align: center; font-size: 11px; font-variant-numeric: tabular-nums; }
|
||||
.pj-meet-cal-d { height: 20px; line-height: 20px; text-align: center; font-size: 10px; font-variant-numeric: tabular-nums; }
|
||||
.pj-meet-cal-d.is-sat { color: #2563eb; }
|
||||
.pj-meet-cal-d.is-sun { color: #dc2626; }
|
||||
.pj-meet-cal-d.is-out { opacity: .35; }
|
||||
@@ -2246,16 +2247,16 @@ html.pj-goal-selecting, html.pj-goal-selecting * { user-select: none !important;
|
||||
@media (max-width: 900px) { .pj-meet-headgrid { flex-direction: column; } .pj-meet-cal { align-self: flex-end; } }
|
||||
@media print { .pj-meet-cal { display: none !important; } }
|
||||
.pj-meet-week {
|
||||
position: relative; display: flex; flex-direction: column; gap: 1px; min-width: 104px; padding: 7px 12px;
|
||||
border: 1px solid var(--pj-border); border-radius: 10px; background: #fff; color: var(--pj-ink); text-decoration: none;
|
||||
position: relative; display: flex; align-items: baseline; gap: 3px; padding: 3px 10px 3px 7px; white-space: nowrap;
|
||||
border: 1px solid var(--pj-border); border-radius: 8px; background: #fff; color: var(--pj-ink); text-decoration: none;
|
||||
}
|
||||
.pj-meet-week b { font-size: 13px; }
|
||||
.pj-meet-week span { font-size: 11.5px; color: var(--pj-ink-soft); }
|
||||
.pj-meet-week em { position: absolute; top: -8px; right: 8px; font-style: normal; font-size: 10.5px; font-weight: 700;
|
||||
padding: 0 6px; border-radius: 999px; background: var(--pj-accent); color: #fff; }
|
||||
.pj-meet-week b { font-size: 11.5px; }
|
||||
.pj-meet-week span { font-size: 10px; color: var(--pj-ink-soft); font-variant-numeric: tabular-nums; }
|
||||
.pj-meet-week em { position: absolute; top: -8px; right: 6px; font-style: normal; font-size: 9.5px; font-weight: 700; line-height: 14px;
|
||||
padding: 0 5px; border-radius: 999px; background: var(--pj-accent); color: #fff; }
|
||||
.pj-meet-week:hover { border-color: #cfd3d8; background: #fafafb; }
|
||||
.pj-meet-week.is-on { border-color: var(--pj-accent); box-shadow: inset 0 0 0 1px var(--pj-accent); background: var(--pj-accent-tint); }
|
||||
.pj-meet-dot { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #34a853; }
|
||||
.pj-meet-dot { position: absolute; top: 3px; left: 3px; width: 6px; height: 6px; border-radius: 50%; background: #34a853; }
|
||||
|
||||
/* 매출 자료 갱신 상태 줄 */
|
||||
.pj-meet-sync {
|
||||
|
||||
@@ -610,7 +610,8 @@ description 을 항상 HTML로 취급하기 때문). 두 번 실행하면 이중
|
||||
- **월간 목표·누적은 늘 1일~말일**(주차와 따로): 월 누적 실적 = 1일 ~ 이 주 앞(지난주 일요일, 1주차면 첫 월요일 전날)까지,
|
||||
주당 필요 매출 = (월 목표 − 누적) ÷ 그 달 남은 주 수(이 주 포함).
|
||||
- 머리 배치: 왼쪽 = **[🚩 {연도}년 목표] 버튼**(연간 목표로, 큰 강조 버튼 `.pj-meet-goalbtn` — 예전 ← 화살표 대신)·제목·‹이전 달·다음 달›·
|
||||
인쇄·회의록 삭제(제목 줄) + 주차 탭, **오른쪽 위 = 작은 달력**(90% 크기, 212px). 목표·회의록 제목은 32px 굵게(`h2.pj-goal-title`).
|
||||
인쇄·회의록 삭제·**주차 탭(제목 줄 끝, 한 줄짜리 작은 탭 — `1주차 10/5~11`, 같은 달이면 끝 월 생략, 전체 기간은 말풍선)**,
|
||||
그 아래 **{월}월 계획**(달력 앞까지 너비), **오른쪽 위 = 작은 달력**(191px — 처음 크기의 81%). 목표·회의록 제목은 32px 굵게(`h2.pj-goal-title`).
|
||||
- **작은 달력**(`.pj-meet-cal`, `store.calendar_weeks`): 그 달 날짜가 든 주 전부(월요일 시작) — 앞 달에 속한 주(1일 앞쪽,
|
||||
예: 10월 달력의 9/28 주)는 흐리게, 누르면 그 달(9월) 회의록. 줄 = 주(월~일) — 보고 있는 주는 영역 표시(테두리·배경),
|
||||
오늘 동그라미, 토 파랑·일/공휴일(`store.KR_HOLIDAYS`) 빨강, 다른 달 날짜 흐리게, 회의록 있는 주는 왼쪽 점. 줄을 누르면 그 주 회의록
|
||||
@@ -621,7 +622,7 @@ description 을 항상 HTML로 취급하기 때문). 두 번 실행하면 이중
|
||||
금주 현재 실적. 실적·누적·결과는 **실적 모듈 `performance_store.daily_amounts`(대시보드 총매출과 같은 값, 매출 집계 쇼핑몰)** 에서
|
||||
읽기만 한다 — 실적 모듈이 없거나 오류면 빈칸("직접 입력" 안내), 회의록은 그대로 동작.
|
||||
숫자는 **한 줄 막대**(`.pj-meet-kpibar`, 칸 9개·값 15px, 좁은 화면 1300px 이하 두 줄) — 긴 설명은 말풍선(`title`).
|
||||
- **{월}월 계획**(`router._month_plan`, `.pj-meet-plan`, 숫자 막대 위): 연간 목표 표의 그 달 열 글을 업무 영역별 작은 카드로
|
||||
- **{월}월 계획**(`router._month_plan`, `.pj-meet-plan`, 머리 왼쪽 `.pj-meet-headleft` 안 — 제목 줄 아래·달력 왼쪽): 연간 목표 표의 그 달 열 글을 업무 영역별 작은 카드로
|
||||
(영역 색, `항목: 글`, 빈 칸·글 없는 영역은 뺌). 가로 병합 칸(예: 9~10월)에 적은 글도 그 달 계획으로 보이고 범위를 오른쪽에 작게,
|
||||
세로 병합은 한 번만, 묶인 줄(016 `label_cont`)은 묶음 항목 이름. 목표 표가 없으면(013 미적용) 칸 자체를 숨김, 읽기만.
|
||||
- **줄**(구역 = 목표 표 업무 영역, 표의 구역 칸 rowspan): 항목 | **이번주 할 일·행사** | **목표 금액** ‖ 지난주 리뷰: 지난주 할 일 |
|
||||
|
||||
Reference in New Issue
Block a user