feat(project): 수신함도 좌측 사이드바 + 우측 프레임 2단 레이아웃으로
수신함이 사이드바 없이 화면 전체를 쓰고 있어, 내 업무·프로젝트 화면과
같은 2단 구조로 맞췄다. 내용은 오른쪽 프레임 안에서만 스크롤한다.
- inbox.html 을 .pj-layout + 공용 _side.html + <section class="pj-main">
으로 감쌌다. 사이드바로 이동할 수 있으니 "← 프로젝트" 버튼은 뺐다.
- _side.html 에 side_active('inbox' | 'mytasks' | '')를 받아 지금 보고 있는
개인 메뉴를 강조한다. 새 프로젝트 "+" 는 그 모달을 갖고 배선하는 화면
(내 업무·프로젝트)에서만 보인다.
- 라우터: 사이드바 데이터를 세 화면이 같이 쓰므로 _nav_projects 헬퍼로
묶고, 수신함에도 nav_projects/my_open_total 을 넘긴다.
- 내 업무·수신함 본문은 폭 1180px 로 제한 — 표/목록이 화면 끝까지 늘어나
눈이 따라가기 힘들던 문제(보드·달력 등은 종전대로 전체 폭).
Co-Authored-By: Claude Opus 5 (1M context) <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=20260922d" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260922e" />
|
||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<!-- 타임라인 vis-timeline — self-host -->
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
<div class="pj-layout">
|
||||
<!-- ── 좌측 사이드바 — 내 업무 화면과 공용(project/_side.html) ── -->
|
||||
{% with current_pid = project.id %}{% include "project/_side.html" %}{% endwith %}
|
||||
{% with current_pid = project.id, side_active = "" %}{% include "project/_side.html" %}{% endwith %}
|
||||
|
||||
<!-- ── 우측: 뷰 ── -->
|
||||
<section class="pj-main">
|
||||
@@ -453,5 +453,5 @@
|
||||
</script>
|
||||
|
||||
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
|
||||
<script src="/static/project.js?v=20260922d" defer></script>
|
||||
<script src="/static/project.js?v=20260922e" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user