Repository navigation
Expand file tree
/
Copy pathnew.html
More file actions
90 lines (76 loc) · 3.13 KB
/
Copy pathnew.html
File metadata and controls
90 lines (76 loc) · 3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Create New Game - String Bingo</title>
<meta name="description" content="Create your own custom bingo game with String.">
<link rel="stylesheet" href="/styles/main.css">
<!-- Google Identity Services -->
<script src="https://accounts.google.com/gsi/client" async defer></script>
</head>
<body class="game-creation-body">
<!-- Form Header -->
<div class="form-header">
<a href="/" class="btn btn-outline back-btn" id="backToDashboardBtn">← Back</a>
<h1>Create New Game</h1>
<p class="form-subtitle">Set up your bingo game</p>
</div>
<!-- Form Content -->
<div class="form-content">
<!-- Game Details Section -->
<div class="form-section">
<h2>Game Details</h2>
<p class="section-subtitle">Give your game a name</p>
<div class="form-group">
<label for="gameName">Game Name</label>
<input type="text" id="gameName" placeholder="e.g., Teacher Icebreaker Bingo" maxlength="100">
</div>
<div class="form-group">
<label>Grid Size</label>
<div class="grid-size-options">
<label class="radio-label">
<input type="radio" name="gridSize" value="5" checked>
5x5 (25 Questions)
</label>
<label class="radio-label">
<input type="radio" name="gridSize" value="3">
3x3 (9 Questions)
</label>
</div>
</div>
</div>
<!-- Questions Section -->
<div class="form-section">
<h2>Questions</h2>
<p class="section-subtitle">Add your bingo questions (25 total, center is FREE)</p>
<div class="questions-toolbar">
<button class="btn btn-outline" id="editQuestionsBtn">
<span class="btn-icon">📝</span>
Edit
</button>
<button class="btn btn-outline" id="importCsvBtn">
<span class="btn-icon">📄</span>
CSV
</button>
<a href="/sample.csv" download class="btn btn-outline"
style="text-decoration: none; display: inline-flex; align-items: center;">
<span class="btn-icon">⬇️</span>
Sample
</a>
</div>
<div class="bingo-editor-grid" id="bingoEditorGrid">
<!-- 5x5 grid will be generated by JavaScript -->
</div>
</div>
</div>
<!-- Form Footer -->
<div class="form-footer">
<a href="/" class="btn btn-secondary" id="cancelGameBtn">Cancel</a>
<button class="btn btn-primary" id="createGameBtn">Create Game</button>
</div>
<!-- Status Messages -->
<div class="status" id="status"></div>
<script type="module" src="/js/game-creation.js"></script>
</body>
</html>