-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
50 lines (45 loc) · 1.58 KB
/
popup.html
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
<!DOCTYPE html>
<html>
<head>
<title>YoBuddy</title>
<link rel="stylesheet" href="popup.css">
</head>
<body>
<div class="container">
<div id="auth-screen" class="screen">
<h1>YoBuddy</h1>
<button id="sign-in" class="btn primary">Sign in with Google</button>
</div>
<div id="main-screen" class="screen hidden">
<div class="user-info">
<img id="user-avatar" class="avatar" src="" alt="Profile">
<span id="user-name"></span>
<button id="sign-out" class="btn small">Sign Out</button>
</div>
<div id="room-controls">
<button id="create-room" class="btn primary">Create Room</button>
<div class="divider">or</div>
<div class="join-section">
<input type="text" id="room-code" placeholder="Enter Room Code" maxlength="6">
<button id="join-room" class="btn secondary">Join Room</button>
</div>
</div>
<div id="active-room" class="hidden">
<h2>Room: <span id="room-code-display"></span></h2>
<button id="copy-code" class="btn small">Copy Code</button>
<div class="participants">
<h3>Shopping Buddies</h3>
<ul id="participant-list"></ul>
</div>
<button id="leave-room" class="btn danger">Leave Room</button>
</div>
</div>
<div id="status" class="status hidden"></div>
</div>
<script src="js/firebase-app.js"></script>
<script src="js/firebase-auth.js"></script>
<script src="js/firebase-database.js"></script>
<script src="firebase-config.js"></script>
<script src="popup.js"></script>
</body>
</html>