Basic features done

This commit is contained in:
2026-04-24 00:00:19 -06:00
parent b8edbcb403
commit 193391d837
19 changed files with 2226 additions and 294 deletions
+31
View File
@@ -0,0 +1,31 @@
<div class="modal-overlay" onclick="this.remove()">
<div class="modal" onclick="event.stopPropagation()">
<div class="modal-header">
<h2>Create Room</h2>
<button class="modal-close" onclick="this.closest('.modal-overlay').remove()">&times;</button>
</div>
<form method="POST" action="/rooms/create" class="auth-form">
<div class="form-group">
<label class="form-label">Room Name</label>
<input class="form-input" type="text" name="name" placeholder="Sprint Planning" required />
</div>
<div class="form-group">
<label class="form-label">Voting Scale</label>
<select class="form-input" name="scale">
<option value="fibonacci">Fibonacci (1, 2, 3, 5, 8, 13, 21, ?)</option>
<option value="tshirt">T-Shirt (XS, S, M, L, XL, XXL, ?)</option>
<option value="linear">Linear (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ?)</option>
</select>
</div>
<button class="btn-primary" type="submit">Create Room</button>
</form>
<div class="divider" style="margin: 1.5rem 0"></div>
<form method="POST" action="/rooms/join" class="auth-form">
<div class="form-group">
<label class="form-label">Or Join Existing</label>
<input class="form-input" type="text" name="code" placeholder="Room code" required />
</div>
<button class="btn-primary" type="submit" style="background: var(--bg-surface); border: 1px solid var(--border);">Join Room</button>
</form>
</div>
</div>