Implements the full spec described in README.md: Management site (Node + TypeScript + Express + EJS): - Public main page lists packs registered in manifest.json. - /op login (account.json, internal-only), /op/dashboard manages packs with horizontal-scroll cards, add/select-and-delete flow, and the /op/dashboard/:packName editor (Mojang release dropdown, dynamic mods/resourcepacks lists, platform/RAM fields, file rename). - Routes for /manifest.json (public) and /file/* (server pack files). - Middleware blocks /account.json and /manifest/* directory access. Installer (Electron): - Five page renderer driven by IPC (preload contextBridge API): pack pick → single/multi → server install (path no-Korean check, JDK detect, file download, EULA, RAM gating, local web config editor, UPnP/port-forward check) → client install (.mc_custom mods + resourcepacks + launcher_profiles.json gameDir/javaArgs) → finish toggles (server folder, shortcut, server start, launcher start). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
<!doctype html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>음악퀴즈 목록</title>
|
|
<link rel="stylesheet" href="/static/styles.css" />
|
|
</head>
|
|
<body class="siteBody">
|
|
<main class="pageWrap">
|
|
<section class="hero">
|
|
<h1>마인크래프트 음악퀴즈</h1>
|
|
<p>설치기에서 사용 가능한 음악퀴즈 목록입니다.</p>
|
|
</section>
|
|
|
|
<section class="cardRow horizontalScroll">
|
|
<% if (packs.length === 0) { %>
|
|
<p class="muted">등록된 음악퀴즈가 없습니다.</p>
|
|
<% } %>
|
|
<% packs.forEach(function (entry) { %>
|
|
<article class="packCard">
|
|
<h2><%= entry.name %></h2>
|
|
<p class="muted">파일: <%= entry.file %>.json</p>
|
|
<% if (entry.definition) { %>
|
|
<ul class="metaList">
|
|
<li>마인크래프트 <strong><%= entry.definition.mcVersion %></strong></li>
|
|
<li>플랫폼 <strong><%= entry.definition.platform.type %></strong></li>
|
|
<li>모드 <%= entry.definition.mods.length %>개 / 리소스팩 <%= entry.definition.resourcepacks.length %>개</li>
|
|
</ul>
|
|
<% } %>
|
|
</article>
|
|
<% }) %>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|