fix(project): 회의록 머리 배치 — 인쇄·삭제는 제목 옆, 달력은 오른쪽 위 90% 크기, 매출 갱신 상태 줄 제거
- 인쇄·회의록 삭제 버튼을 제목 줄(‹이전 달·다음 달› 뒤)로 - 작은 달력을 오른쪽 위(예전 버튼 자리)로 올리고 90% 크기(212px) - 매출 자료 갱신 상태 줄·[매출 갱신] 버튼 제거 — 주차를 열면 표시 없이 다시 받아 숫자만 갱신(10분에 한 번) - 캐시 버전 20261001h, 문서 갱신 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+15
-12
@@ -2167,38 +2167,41 @@ html.pj-goal-selecting, html.pj-goal-selecting * { user-select: none !important;
|
||||
════════════════════════════════════════════════════════════ */
|
||||
.pj-meet-pane { flex: 1 1 auto; min-height: 0; overflow: auto; }
|
||||
.pj-meet-title { display: flex; align-items: center; gap: 8px; }
|
||||
.pj-meet-title h2 { margin: 0 6px 0 0; }
|
||||
.pj-meet-title h2 { margin: 0 6px 0 0; font-size: 16px; font-weight: 700; } /* .pj-section-head h2 와 같게 */
|
||||
.pj-meet-back { display: inline-flex; color: var(--pj-ink-soft); border-radius: 6px; padding: 2px; }
|
||||
.pj-meet-back:hover { background: #f1f2f4; color: var(--pj-ink); }
|
||||
.pj-goal-head-acts .pj-btn .material-symbols-outlined { font-size: 17px; vertical-align: -3px; }
|
||||
|
||||
/* 주차 탭(왼쪽) + 작은 달력(오른쪽) */
|
||||
.pj-meet-top { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 14px; }
|
||||
.pj-meet-weeks { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding-top: 9px; } /* "이번 주" 꼬리표 자리 */
|
||||
/* 머리 — 왼쪽: 제목·인쇄·삭제 + 주차 탭 / 오른쪽 위: 작은 달력(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-title { flex-wrap: wrap; }
|
||||
.pj-meet-title-acts { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
|
||||
.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-cal {
|
||||
flex: 0 0 auto; width: 236px; padding: 8px 12px 6px; border: 1px solid var(--pj-border); border-radius: 12px; background: #fff;
|
||||
flex: 0 0 auto; width: 212px; padding: 7px 10px 5px; border: 1px solid var(--pj-border); border-radius: 11px; background: #fff;
|
||||
}
|
||||
.pj-meet-cal-head { font-size: 12.5px; font-weight: 800; text-align: center; margin-bottom: 4px; }
|
||||
.pj-meet-cal-head { font-size: 11.5px; font-weight: 800; text-align: center; margin-bottom: 3px; }
|
||||
.pj-meet-cal-wd, .pj-meet-cal-row { display: grid; grid-template-columns: repeat(7, 1fr); }
|
||||
.pj-meet-cal-wd span { font-size: 10.5px; font-weight: 700; color: var(--pj-ink-soft); text-align: center; padding: 2px 0; }
|
||||
.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-row {
|
||||
position: relative; margin: 1px 0; border-radius: 8px; color: var(--pj-ink); text-decoration: none; cursor: pointer;
|
||||
position: relative; margin: 1px 0; border-radius: 7px; color: var(--pj-ink); text-decoration: none; cursor: pointer;
|
||||
}
|
||||
.pj-meet-cal-row:hover { background: #f3f4f6; }
|
||||
/* 보고 있는 주 = 영역 표시 */
|
||||
.pj-meet-cal-row.is-on { background: var(--pj-accent-tint); box-shadow: inset 0 0 0 1.5px var(--pj-accent); }
|
||||
.pj-meet-cal-d { height: 24px; line-height: 24px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
|
||||
.pj-meet-cal-d { height: 22px; line-height: 22px; text-align: center; font-size: 11px; 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; }
|
||||
.pj-meet-cal-d.is-today { position: relative; color: #fff; font-weight: 800; }
|
||||
.pj-meet-cal-d.is-today { position: relative; color: #fff; font-weight: 800; z-index: 0; }
|
||||
.pj-meet-cal-d.is-today::before {
|
||||
content: ""; position: absolute; inset: 1px 3px; border-radius: 999px; background: var(--pj-accent); z-index: -1;
|
||||
}
|
||||
.pj-meet-cal-d.is-today { z-index: 0; }
|
||||
.pj-meet-cal-row.is-on .pj-meet-cal-d { font-weight: 700; }
|
||||
.pj-meet-cal-dot { position: absolute; left: -8px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #34a853; }
|
||||
@media (max-width: 900px) { .pj-meet-top { flex-direction: column; } .pj-meet-cal { align-self: flex-end; } }
|
||||
@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;
|
||||
|
||||
@@ -8637,17 +8637,18 @@
|
||||
|
||||
// ── 회의록 매출 자료 갱신 — 주차를 열면 실적 모듈 [매출 업데이트](지난주 월요일 ~ 이번 주 오늘, 백그라운드)를 한 번 더
|
||||
// 돌리고, 끝나면 이 화면을 서버에서 다시 그려 숫자 칸만 바꿔 끼운다(입력 중인 칸·저장 안 된 글은 건드리지 않는다).
|
||||
// 같은 주는 10분에 한 번만 자동(새로고침마다 쇼핑몰 API 를 부르지 않게), [매출 갱신] 버튼은 언제나.
|
||||
// 실적 권한이 없거나 이미 다른 업데이트가 돌면 그 상태를 보여 준다(다른 사람 업데이트면 그게 끝나길 기다려 다시 그림).
|
||||
// 같은 주는 10분에 한 번만 자동(새로고침마다 쇼핑몰 API 를 부르지 않게). 다른 업데이트가 돌면 그게 끝나길 기다려 다시 그림.
|
||||
// 상태 줄·[매출 갱신] 버튼은 2026-10-01 요청으로 뺐다(#pj-meet-sync 는 기간만 가진 숨은 요소) — 있으면 쓰고 없으면 조용히.
|
||||
function initMeetingSync(pane) {
|
||||
const box = el("pj-meet-sync");
|
||||
if (!box) return;
|
||||
const text = box.querySelector(".pj-meet-sync-text");
|
||||
const text = box.querySelector(".pj-meet-sync-text"); // 상태 줄(없을 수 있음)
|
||||
const btn = el("pj-meet-sync-btn");
|
||||
const KEY = "pj_meet_sync:" + pane.dataset.week;
|
||||
const THROTTLE_MS = 10 * 60 * 1000;
|
||||
let running = false;
|
||||
function say(msg, cls) {
|
||||
if (!text) return;
|
||||
text.textContent = msg;
|
||||
box.classList.remove("is-running", "is-done", "is-warn");
|
||||
if (cls) box.classList.add(cls);
|
||||
@@ -8693,7 +8694,7 @@
|
||||
} catch (_) {}
|
||||
}
|
||||
running = true;
|
||||
btn.disabled = true;
|
||||
if (btn) btn.disabled = true;
|
||||
say("쇼핑몰에서 매출 자료를 다시 받는 중…", "is-running");
|
||||
try {
|
||||
let r = await api("POST", "/performance/api/sync", { from: box.dataset.from, to: box.dataset.to, background: true });
|
||||
@@ -8716,10 +8717,10 @@
|
||||
say(e.status === 403 ? "실적 권한이 없어 저장된 실적으로 보여 줍니다" : "매출 갱신 실패: " + e.message, "is-warn");
|
||||
} finally {
|
||||
running = false;
|
||||
btn.disabled = false;
|
||||
if (btn) btn.disabled = false;
|
||||
}
|
||||
}
|
||||
btn.addEventListener("click", function () { run(true); });
|
||||
if (btn) btn.addEventListener("click", function () { run(true); });
|
||||
run(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user