Build installer and management site from spec
This commit is contained in:
33
views/op/dashboard.ejs
Normal file
33
views/op/dashboard.ejs
Normal file
@@ -0,0 +1,33 @@
|
||||
<!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">
|
||||
<%- include('../partials/navbar', { userId }) %>
|
||||
|
||||
<main class="pageWrap">
|
||||
<section class="toolbar">
|
||||
<form method="post" action="/op/dashboard/packs">
|
||||
<button class="primaryButton" type="submit">서버팩 추가</button>
|
||||
</form>
|
||||
<form method="post" action="/op/dashboard/packs/delete" class="deleteForm">
|
||||
<button class="dangerButton" type="submit">선택 삭제</button>
|
||||
<div class="cardRow">
|
||||
<% packs.forEach((pack) => { %>
|
||||
<label class="packCard selectableCard">
|
||||
<input type="checkbox" name="packKeys" value="<%= pack.file %>" />
|
||||
<span class="selectionTitle"><%= pack.name %></span>
|
||||
<span><code><%= pack.file %></code></span>
|
||||
<a class="ghostLink" href="/op/dashboard/<%= pack.file %>">편집</a>
|
||||
</label>
|
||||
<% }) %>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user