Files
dbx-main/app/modules/project/templates/project/_help_btn.html
T
king 4fb8b37d9c feat(project): 실시간 저장·댓글 답글/반응·완료 이력·수신함 오른쪽 작업 창·화면 배율 토글
- 작업 창 저장 버튼 제거 → 칸별 실시간 저장(새 작업은 제목 입력 시 생성)
- 댓글 답글·이모티콘 반응(마이그레이션 012), @태그 아이콘+이름 칩, 이모티콘 선택기
- 작업 완료 시 댓글 사이에 "OO 님이 이 작업을 완료했습니다" 이력 표시
- 수신함 "확인" → 페이지 이동 없이 오른쪽 패널(iframe embed)에 작업 창
- 프로젝트 제목 클릭 수정, 긴 작업 제목 자동 줄바꿈
- 상단 바 화면 배율 토글(2880x1620·200%용, .erp-app zoom .75)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 18:11:34 +09:00

37 lines
1.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{# 화면 배율 토글 — 2880×1620·200%(CSS 화면 폭 1440px)에서도 1920×1080 기준 화면처럼
보이도록 앱 화면을 0.75 로 줄인다(project.css html.pj-ui-scale, project.js initUiScaleToggle).
선택은 브라우저별로 기억(localStorage) — 그리기 전에 바로 적용해 깜빡임을 줄인다. #}
<script>
try { if (localStorage.getItem("pj_ui_scale") === "1") document.documentElement.classList.add("pj-ui-scale"); } catch (_) {}
</script>
<button type="button" class="pj-help-btn pj-ui-scale-btn" id="pj-ui-scale-btn" aria-label="화면 배율 전환">
<span class="material-symbols-outlined">fit_screen</span>
</button>
<script>
(function () {
var root = document.documentElement;
var btn = document.getElementById("pj-ui-scale-btn");
function sync() {
var on = root.classList.contains("pj-ui-scale");
btn.classList.toggle("is-on", on);
btn.title = on
? "화면 배율: 고해상도(2880×1620·200%)용 — 누르면 기본(1920×1080)"
: "화면 배율: 기본(1920×1080) — 누르면 고해상도(2880×1620·200%)용";
}
btn.addEventListener("click", function () {
var on = !root.classList.contains("pj-ui-scale");
root.classList.toggle("pj-ui-scale", on);
try { localStorage.setItem("pj_ui_scale", on ? "1" : "0"); } catch (_) {}
sync();
window.dispatchEvent(new Event("resize")); // 보드·타임라인 등 크기 다시 재기
});
sync();
})();
</script>
{# 프로젝트 관리 도움말 — 상단 바 로그아웃 오른쪽의 ? 아이콘(erp_base 의 topbar_after_logout).
새 탭으로 열어 하던 작업이 끊기지 않게 한다. #}
<a class="pj-help-btn" href="/project/help" target="_blank" rel="noopener"
title="프로젝트 관리 도움말" aria-label="프로젝트 관리 도움말">
<span class="material-symbols-outlined">help</span>
</a>