20232baf06
Restore the board header add button to the task side panel while keeping footer quick entry. Add safe, persisted goal text formatting and self-hosted Project font preferences with shared help updates and regression coverage.
38 lines
1.9 KiB
HTML
38 lines
1.9 KiB
HTML
{# 화면 배율 토글 — 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>
|
||
{% include "project/_options.html" %}
|