feat(M01): 로직 탭 - sub_laptop_4 로직 화면(mountM01Logic) 연결

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WRFJmmhPi4exAzHgPZHMT
This commit is contained in:
2026-09-19 18:46:31 +09:00
co-authored by Claude Sonnet 5
parent 19a5a8c499
commit f856e62209
2 changed files with 19 additions and 0 deletions
+18
View File
@@ -207,6 +207,24 @@ function buildPage(groups: GroupInfo[]): HTMLElement {
tabs.append(tab);
}
const logicTab = el("button", {
className: "m01-master__tab",
attrs: { type: "button" },
text: L("M01_LogicTab"),
});
logicTab.addEventListener("click", () => {
tabs.querySelector(".is-active")?.classList.remove("is-active");
logicTab.classList.add("is-active");
group = "";
current = null;
dispose();
files.replaceChildren();
body.replaceChildren();
title.textContent = L("M01_LogicTab");
void import("./M01_MasterData_UI_Logic_Page").then((m) => m.mountM01Logic(body));
});
tabs.append(logicTab);
const layout = el("div", { className: "ui-workflow-layout m01-master" });
const main = el("main", {
className: "ui-workflow-layout__main",
+1
View File
@@ -5,6 +5,7 @@
export const ui_locales_m1 = {
B01_Dashboard_MasterElements: ["마스터 요소", "Master Elements"],
M01_LogicTab: ["로직", "Logic"],
M01_Title: ["마스터 요소", "Master Elements"],
M01_AdminOnly: ["시스템 관리자만 볼 수 있음", "System administrators only"],
M01_LoadFailed: ["마스터 요소를 못 읽음", "Failed to load master elements"],