💼🎋 Checkpoint
./views/index.html:530995/821 ./package.json:530995/1294 ./server.js:530995/1216 ./views/index.handlebars:530995/43 ./public/script.js:530995/1310 ./views/room.handlebars:530995/874
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
<!-- This is a static file -->
|
||||
<!-- served from your routes in server.js -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Welcome to Glitch!</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A cool thing made with Glitch">
|
||||
<link id="favicon" rel="icon" href="https://glitch.com/edit/favicon-app.ico" type="image/x-icon">
|
||||
|
||||
<!-- import the webpage's stylesheet -->
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
|
||||
<!-- import the webpage's client-side javascript file -->
|
||||
<script src="/script.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>A Dream of the Future</h1>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<h2>Oh hi,</h2>
|
||||
|
||||
<p>Tell me your hopes and dreams:</p>
|
||||
|
||||
<form>
|
||||
<label>
|
||||
New Dream
|
||||
<input name="dream" type="text" maxlength="100" required placeholder="Dreams!">
|
||||
</label>
|
||||
<button type="submit" id="submit-dream">Add Dream</button>
|
||||
</form>
|
||||
|
||||
<section class="dreams">
|
||||
<ul id="dreams">
|
||||
<em>loading dreams…</em>
|
||||
</ul>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>Made with <a href="https://glitch.com">Glitch</a>!</footer>
|
||||
|
||||
<!-- include the Glitch button to show what the webpage is about and
|
||||
to make it easier for folks to view source and remix -->
|
||||
<div class="glitchButton" style="position:fixed;top:2em;right:20px;"></div>
|
||||
<script src="https://button.glitch.me/button.js"></script>
|
||||
</body>
|
||||
</html>
|
32
views/join.handlebars
Normal file
32
views/join.handlebars
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Buzzer</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A cool thing made with Glitch">
|
||||
<link id="favicon" rel="icon" href="https://glitch.com/edit/favicon-app.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/script.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Join {{room}}</h1>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<h2>Oh hi,</h2>
|
||||
|
||||
<p>Tell me your (team) name:</p>
|
||||
|
||||
<form>
|
||||
<label>
|
||||
Name
|
||||
<input name="name" type="text" maxlength="100" required>
|
||||
</label>
|
||||
<button type="submit" id="submit-name">Submit</button>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
32
views/room.handlebars
Normal file
32
views/room.handlebars
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Buzzer</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A cool thing made with Glitch">
|
||||
<link id="favicon" rel="icon" href="https://glitch.com/edit/favicon-app.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/script.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Join {{room}}</h1>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<h2>Oh hi,</h2>
|
||||
|
||||
<p>Tell me your (team) name:</p>
|
||||
|
||||
<form>
|
||||
<label>
|
||||
Name
|
||||
<input name="name" type="text" maxlength="100" required>
|
||||
</label>
|
||||
<button type="submit" id="submit-name">Submit</button>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user