watch-party/frontend/index.html

64 lines
1.9 KiB
HTML
Raw Normal View History

2021-10-24 15:48:10 -07:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>watch party :D</title>
<link rel="stylesheet" href="/styles.css?v=9" />
2021-10-24 15:48:10 -07:00
</head>
<body>
<noscript>
This site will <em>not</em> work without JavaScript, and there's not
really any way around that :(
</noscript>
<div id="pre-join-controls">
<form id="join-session-form">
<h2>Join a session</h2>
2021-11-11 09:26:30 -08:00
<p id="post-create-message">
Your session has been created successfully. Copy the current url or
the Session ID below and share it with your friends. :)
</p>
2021-11-11 07:47:43 -08:00
<label for="join-session-nickname">Nickname:</label>
2021-10-24 18:59:52 -07:00
<input
type="text"
id="join-session-nickname"
placeholder="Nickname"
maxlength="50"
2021-10-24 18:59:52 -07:00
required
/>
2022-02-13 09:23:20 -08:00
<label for="join-session-colour">Colour:</label>
2022-02-13 09:23:20 -08:00
<input type="color" id="join-session-colour" value="#7ed0ff" required />
2021-10-24 18:59:52 -07:00
2021-11-11 07:47:43 -08:00
<label for="join-session-id">Session ID:</label>
2021-10-24 15:48:10 -07:00
<input
type="text"
id="join-session-id"
placeholder="123e4567-e89b-12d3-a456-426614174000"
required
/>
2021-12-03 11:37:16 -08:00
<button id="join-session-button">Join</button>
2021-10-24 15:48:10 -07:00
2022-02-15 14:19:48 -08:00
<p>
No session to join? <a href="/create.html">Create a session</a> instead.
</p>
</form>
2021-10-24 15:48:10 -07:00
</div>
2021-10-24 18:59:52 -07:00
<div id="video-container"></div>
2021-11-05 06:07:21 -07:00
<div id="chatbox-container">
2022-02-13 09:23:20 -08:00
<div id="viewer-list"></div>
2021-11-05 06:07:21 -07:00
<div id="chatbox"></div>
<form id="chatbox-send">
<input type="text" placeholder="Message... (/help for commands)" list="emoji-autocomplete" />
2022-02-15 14:19:48 -08:00
<div id="emoji-autocomplete"></div> <!-- DO NOT ADD SPACING INSIDE THE TAG IT WILL BREAK THE CSS kthxbye -->
2021-11-05 06:07:21 -07:00
</form>
</div>
2021-10-24 18:59:52 -07:00
<script type="module" src="/main.mjs?v=9"></script>
2021-10-24 15:48:10 -07:00
</body>
</html>