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>
29 lines
865 B
Plaintext
29 lines
865 B
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 centerLayout">
|
|
<main class="loginCard">
|
|
<h1>관리자 로그인</h1>
|
|
<% if (error) { %>
|
|
<p class="errorBanner"><%= error %></p>
|
|
<% } %>
|
|
<form method="post" action="/op" class="loginForm">
|
|
<label>
|
|
<span>아이디</span>
|
|
<input name="id" autocomplete="username" required autofocus />
|
|
</label>
|
|
<label>
|
|
<span>비밀번호</span>
|
|
<input name="password" type="password" autocomplete="current-password" required />
|
|
</label>
|
|
<button class="primaryButton" type="submit">로그인</button>
|
|
</form>
|
|
</main>
|
|
</body>
|
|
</html>
|