feat: add proposed group solution
This commit is contained in:
47
index.html
Normal file
47
index.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>P2P Poll</title>
|
||||
<link rel="stylesheet" href="/src/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<header>
|
||||
<h1>P2P Poll</h1>
|
||||
<div id="status">
|
||||
<span id="connection-status" class="connecting">Connecting...</span>
|
||||
<span id="peer-count">1 peer</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="poll-title-section">
|
||||
<input type="text" id="poll-title" placeholder="Click to name this poll..." maxlength="120">
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div id="add-option">
|
||||
<input type="text" id="option-input" placeholder="Add a poll option..." maxlength="100">
|
||||
<button id="add-btn">Add</button>
|
||||
</div>
|
||||
|
||||
<div id="total-votes">Total votes: <span id="total-count">0</span></div>
|
||||
|
||||
<div id="poll-options"></div>
|
||||
|
||||
<p id="empty-state">No options yet. Add one above!</p>
|
||||
</main>
|
||||
|
||||
<footer id="share-section">
|
||||
<p>Share this poll:</p>
|
||||
<div id="share-url-container">
|
||||
<code id="share-url"></code>
|
||||
<button id="copy-btn">Copy</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user