feat(라이브): 달력 보기 세로 2분할과 전체 너비

날짜로 이동 줄을 없애고 달력을 화면 오른쪽 위에 고정한다.
라이브 커머스 화면은 공용 최대 폭(1550px)을 풀고 안쪽 여백을 16px 로 줄여 화면 전체 너비를 쓴다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 18:55:54 +09:00
parent db32d03e07
commit 97b9729671
10 changed files with 51 additions and 42 deletions
@@ -1,11 +1,12 @@
{% extends "erp_base.html" %}
{#- 라이브 커머스 달력 보기(2026-11-04) — 줄 = 2시간 칸, 열 = 날짜, 맨 아래 = 날짜별 합계. 카드 머리 = 호스트 간단한 이름 + 그 방송의 틱톡 계정.
카드 머리를 끌어 빈 칸으로 옮기거나 다른 카드 위에 놓아 맞바꾼다(live.js). 문구 = t()(i18n.py), 영문은 CSS 로 대문자(받은 화면과 같게). -#}
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261105b" />
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261105c" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<link rel="stylesheet" href="/static/erp-datepop.css?v=20261102a" />{% endblock %}
{% block content %}
<div class="lv-split">
<section class="lv" lang="{{ lang }}">
{% include "live/_bar.html" %}
@@ -16,13 +17,8 @@
<div class="lv-kpi"><span>ROAS</span><b>{{ cal.totals.roas }}</b></div>
</div>
<nav class="lv-jump" aria-label="{{ t('날짜로 이동') }}">
<span class="lv-jump-label">{{ t('날짜로 이동') }}:</span>
{% for d in cal.days %}<button type="button" class="lv-jump-day{% if d.is_weekend %} is-weekend{% endif %}{% if d.is_today %} is-today{% endif %}" data-jump="{{ d.iso }}">{{ d.day }}</button>{% endfor %}
</nav>
<p class="lv-tip">{{ t('팁: 카드 머리를 끌어 옮기거나 맞바꿀 수 있습니다. 오른쪽으로 스크롤하면 이달 {n}일을 모두 볼 수 있습니다.').format(n=cal.days | length) }}</p>
<div class="lv-cal-row">
<div class="lv-cal-wrap" id="lv-cal-wrap">
<table class="lv-cal">
<thead>
@@ -81,10 +77,10 @@
</tfoot>
</table>
</div>
{#- 오른쪽 달력 — 날짜를 누르면 그 날이 표 맨 왼쪽(live.js), 말레이시아 공휴일(holidays.py) -#}
<aside class="lv-side-cal" id="lv-side-cal"></aside>
</div>
</section>
{#- 화면 오른쪽 위에 붙는 달력 — 날짜를 누르면 그 날이 표 맨 왼쪽(live.js), 말레이시아 공휴일(holidays.py) -#}
<aside class="lv-side-cal" id="lv-side-cal"></aside>
</div>
{% include "live/_dialog.html" %}
{% endblock %}