- Express + EJS + express-session stack (auth/navbar ported from minecraft_launcher)
- Public: main folder list, folder video grid, internal popup player (/player/:videoId)
- Admin (/op): login, folder CRUD with right-click context menu + add-folder modal
- Admin folder: video grid with right-click edit/rename/delete, "영상 추가" -> editor
- Video editor: drag-drop upload, file picker, YouTube URL probe (ETA + 5분 경고),
background yt-dlp download with progress polling, navbar title edit, trim controls,
save runs ffmpeg trim (original preserved)
- Filesystem storage under data/folders/<name>/<videoId>/{meta.json, original.<ext>, edited.<ext>}
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
25 lines
767 B
Plaintext
25 lines
767 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="password" type="password" autocomplete="current-password" required autofocus />
|
|
</label>
|
|
<button class="primaryButton" type="submit">로그인</button>
|
|
</form>
|
|
</main>
|
|
</body>
|
|
</html>
|