ee09e8bfd1
- 구분 cell: right-click or ⋯ menu → 구역 위로 / 구역 아래로 / 구역 끝에 줄 추가
- POST /api/goals/meeting-items/{id}/move-section swaps the contiguous section block
with its neighbour under the meeting lock (row order and merges follow; 409 after completion)
- Next meetings inherit the new order; help + docs; tests (DB-less, real PostgreSQL, jsdom)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
105 lines
4.4 KiB
HTML
105 lines
4.4 KiB
HTML
{% extends "erp_base.html" %}
|
|
|
|
{% block head_extra %}
|
|
<link rel="stylesheet" href="/static/project.css?v=20261012b" />
|
|
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
|
{% endblock %}
|
|
|
|
{% block topbar_actions %}
|
|
<a class="pj-bell" href="/project/inbox" title="수신함">
|
|
<span class="material-symbols-outlined">notifications</span>
|
|
<span class="pj-bell-badge" id="pj-bell-badge" hidden>0</span>
|
|
</a>
|
|
{% endblock %}
|
|
|
|
{% block topbar_after_logout %}{% include "project/_help_btn.html" %}{% endblock %}
|
|
|
|
{% block content %}
|
|
{# 프로젝트 모듈의 첫 화면 = 내 업무. 예전 프로젝트 홈(카드 그리드)은 없앴다. #}
|
|
<div class="pj-wrap pj-mytasks-view" data-me="{{ user.email }}"
|
|
data-is-pro="{{ 'true' if pj_pro else 'false' }}" data-is-padmin="{{ 'true' if pj_admin else 'false' }}"
|
|
data-is-super="{{ 'true' if user.is_super_admin else 'false' }}">
|
|
<div class="pj-layout">
|
|
{% with current_pid = 0, side_active = "mytasks" %}{% include "project/_side.html" %}{% endwith %}
|
|
|
|
<section class="pj-main">
|
|
<div class="pj-toolbar">
|
|
<div class="pj-view-tabs" id="pj-mt-filter">
|
|
<button type="button" class="pj-tab is-active" data-filter="open">진행 중</button>
|
|
<button type="button" class="pj-tab" data-filter="done">완료</button>
|
|
<button type="button" class="pj-tab" data-filter="all">전체</button>
|
|
</div>
|
|
<div class="pj-title-wrap">
|
|
<h1 class="pj-project-title">
|
|
<span class="pj-project-title-pill" style="--pj-color: #7b68ee">내 작업</span>
|
|
</h1>
|
|
</div>
|
|
<div class="pj-mytasks-summary" id="pj-mytasks-summary"></div>
|
|
</div>
|
|
<!-- 검색·필터 — 정렬은 표 머리글 클릭(마감·우선순위 등). -->
|
|
<div class="pj-filterbar" id="pj-mt-filterbar">
|
|
<label class="pj-fb-search">
|
|
<span class="material-symbols-outlined">filter_list</span>
|
|
<input type="search" id="pj-mt-q" placeholder="내 작업에서 찾기 (제목·설명·프로젝트)" autocomplete="off" />
|
|
</label>
|
|
<select id="pj-mt-due" class="pj-fb-select" title="마감일">
|
|
<option value="all">마감: 전체</option>
|
|
<option value="overdue">마감 지남</option>
|
|
<option value="today">오늘 마감</option>
|
|
<option value="week">이번 주 마감</option>
|
|
<option value="none">마감일 없음</option>
|
|
</select>
|
|
<select id="pj-mt-priority" class="pj-fb-select" title="우선순위">
|
|
<option value="all">우선순위: 전체</option>
|
|
<option value="high">높음</option>
|
|
<option value="normal">보통</option>
|
|
<option value="low">낮음</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="pj-view pj-mytasks-pane">
|
|
<table class="pj-table pj-mytasks-table" id="pj-mytasks-table">
|
|
<thead></thead>
|
|
<tbody></tbody>
|
|
</table>
|
|
<div class="pj-empty" id="pj-mytasks-empty" hidden>표시할 작업이 없습니다.</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
{% include "project/_side_modals.html" %}
|
|
|
|
<!-- 댓글만 보는 채팅형 팝업 — 작업 행의 말풍선 아이콘 한 번 클릭 -->
|
|
<div class="pj-modal" id="pj-modal-comments" hidden>
|
|
<div class="pj-modal-card pj-modal-chat">
|
|
<div class="pj-chat-head">
|
|
<h3 id="pj-cm-title">댓글</h3>
|
|
</div>
|
|
<input type="hidden" id="pj-cm-task-id" />
|
|
<ul class="pj-chat-list" id="pj-chat-list"></ul>
|
|
<div class="pj-chat-pending" id="pj-cm-pending" hidden></div>
|
|
<div class="pj-comment-form">
|
|
<label class="pj-chat-attach-btn" title="파일 추가">
|
|
<span class="material-symbols-outlined">attach_file</span>
|
|
<input type="file" id="pj-cm-file-input" multiple hidden />
|
|
</label>
|
|
<textarea id="pj-cm-input" class="pj-composer-ta" rows="1" placeholder="댓글 입력… (Shift+Enter 줄바꿈, 이미지는 붙여넣기 가능)" autocomplete="off"></textarea>
|
|
<button type="button" class="pj-btn pj-btn-primary" id="pj-cm-send">전송</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% include "project/_member_tasks_modal.html" %}
|
|
|
|
<script id="pj-mytasks-data" type="application/json">
|
|
{
|
|
"tasks": {{ my_tasks | tojson }},
|
|
"priorityLabels": {{ priority_labels | tojson }},
|
|
"avatars": {{ avatars | tojson }},
|
|
"today": {{ today | tojson }}
|
|
}
|
|
</script>
|
|
<script src="/static/project.js?v=20261012c" defer></script>
|
|
{% endblock %}
|