Scaffold project layout
This commit is contained in:
13
static/admin.html
Normal file
13
static/admin.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Quiz Admin</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<main id="admin-app"></main>
|
||||
<script type="module" src="/static/admin.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
2
static/admin.js
Normal file
2
static/admin.js
Normal file
@@ -0,0 +1,2 @@
|
||||
const app = document.querySelector("#admin-app");
|
||||
app.textContent = "Loading admin...";
|
||||
15
static/observer.html
Normal file
15
static/observer.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Quiz Observer</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
<h1>Quiz Observer</h1>
|
||||
<p>This read-only view is reserved for a future classroom display.</p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
2
static/quiz.js
Normal file
2
static/quiz.js
Normal file
@@ -0,0 +1,2 @@
|
||||
const app = document.querySelector("#app");
|
||||
app.textContent = "Loading quiz...";
|
||||
13
static/student.html
Normal file
13
static/student.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Quiz</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<main id="app"></main>
|
||||
<script type="module" src="/static/quiz.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
17
static/style.css
Normal file
17
static/style.css
Normal file
@@ -0,0 +1,17 @@
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
background: #f6f7f9;
|
||||
color: #18212f;
|
||||
}
|
||||
|
||||
.shell {
|
||||
max-width: 960px;
|
||||
margin: 0 auto;
|
||||
padding: 24px;
|
||||
}
|
||||
Reference in New Issue
Block a user