Spaces:
Sleeping
Sleeping
File size: 14,187 Bytes
5a0b7f3 5fcd816 5a0b7f3 5fcd816 5a0b7f3 5fcd816 5a0b7f3 5fcd816 5a0b7f3 5fcd816 5a0b7f3 5fcd816 5a0b7f3 5fcd816 5a0b7f3 | 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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QuickMeet - Video Calls</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet">
<link rel="stylesheet" href="/static/styles.css">
</head>
<body>
<!-- Landing / Join Screen -->
<div id="joinScreen" class="screen active">
<div class="join-container">
<div class="logo-section">
<div class="logo"><span class="material-icons-round">videocam</span></div>
<h1>QuickMeet</h1>
<p class="subtitle">Simple, secure video calls in your browser</p>
</div>
<div class="join-card">
<div class="preview-container">
<video id="previewVideo" autoplay muted playsinline></video>
<div class="preview-placeholder" id="previewPlaceholder">
<span class="material-icons-round">videocam_off</span>
<p>Camera preview</p>
</div>
<div class="preview-controls">
<button id="previewMic" class="ctrl-btn active" title="Toggle microphone">
<span class="icon-on"><span class="material-icons-round">mic</span></span>
<span class="icon-off"><span class="material-icons-round">mic_off</span></span>
</button>
<button id="previewCam" class="ctrl-btn active" title="Toggle camera">
<span class="icon-on"><span class="material-icons-round">videocam</span></span>
<span class="icon-off"><span class="material-icons-round">videocam_off</span></span>
</button>
</div>
</div>
<input type="text" id="nameInput" placeholder="Your name" maxlength="50" autocomplete="name">
<div class="join-actions">
<button id="newMeetingBtn" class="btn btn-primary">
<span class="material-icons-round">add</span> New meeting
</button>
<div class="divider"><span>or</span></div>
<div class="join-row">
<input type="text" id="roomInput" placeholder="Enter room code" maxlength="20">
<button id="joinBtn" class="btn btn-secondary">Join</button>
</div>
</div>
</div>
</div>
</div>
<!-- Call Screen -->
<div id="callScreen" class="screen">
<!-- Waiting Room Overlay -->
<div id="waitingRoomOverlay" class="overlay-screen" style="display:none">
<div class="overlay-card">
<span class="material-icons-round" style="font-size:48px;color:var(--blue-600)">hourglass_top</span>
<h2>Waiting Room</h2>
<p id="waitingRoomMsg">Please wait for the host to let you in...</p>
<button id="waitingLeaveBtn" class="btn btn-secondary" style="margin-top:16px">Leave</button>
</div>
</div>
<!-- Reactions Overlay -->
<div id="reactionsOverlay" class="reactions-overlay"></div>
<div class="call-layout">
<!-- Video Grid -->
<div class="video-grid" id="videoGrid">
<!-- Local video -->
<div class="video-tile" id="localTile" data-peer="local">
<video id="localVideo" autoplay muted playsinline></video>
<div class="video-off-overlay" id="localVideoOff" style="display:none">
<div class="avatar"><span class="material-icons-round">person</span></div>
</div>
<div class="hand-indicator" id="localHand" style="display:none">β</div>
<div class="tile-label">
<span class="tile-name" id="localName">You</span>
<span class="mic-indicator" id="localMicIndicator"><span class="material-icons-round">mic</span></span>
</div>
</div>
</div>
<!-- Side Panels -->
<!-- Chat Panel -->
<div class="chat-panel" id="chatPanel">
<div class="chat-header">
<h3>Chat</h3>
<button id="closeChatBtn" class="icon-btn">β</button>
</div>
<div class="chat-messages" id="chatMessages"></div>
<div class="chat-input-row">
<input type="text" id="chatInput" placeholder="Type a message..." maxlength="500">
<button id="sendChatBtn" class="btn btn-small">Send</button>
</div>
</div>
<!-- Participants Panel -->
<div class="side-panel" id="participantsPanel">
<div class="panel-header-bar">
<h3>Participants</h3>
<button id="closeParticipantsBtn" class="icon-btn">β</button>
</div>
<div class="host-controls" id="hostControls" style="display:none">
<button id="muteAllBtn" class="btn btn-small btn-outline">Mute All</button>
<button id="lowerAllHandsBtn" class="btn btn-small btn-outline">Lower All Hands</button>
<div class="toggle-row">
<label><input type="checkbox" id="waitingRoomToggle"> Waiting Room</label>
<label><input type="checkbox" id="lockMeetingToggle"> Lock Meeting</label>
</div>
</div>
<!-- Waiting list (host only) -->
<div id="waitingList" style="display:none">
<h4 class="section-title">Waiting Room</h4>
<div id="waitingListContent"></div>
</div>
<h4 class="section-title" id="participantCountTitle">In Meeting (1)</h4>
<div id="participantList"></div>
</div>
<!-- Whiteboard Panel -->
<div class="side-panel wide-panel" id="whiteboardPanel">
<div class="panel-header-bar">
<h3>Whiteboard</h3>
<div class="wb-tools">
<input type="color" id="wbColor" value="#1a73e8" title="Brush color">
<input type="range" id="wbSize" min="1" max="20" value="3" title="Brush size">
<button id="wbEraser" class="btn btn-small btn-outline">Eraser</button>
<button id="wbClear" class="btn btn-small btn-outline">Clear</button>
</div>
<button id="closeWhiteboardBtn" class="icon-btn">β</button>
</div>
<canvas id="whiteboardCanvas" width="900" height="500"></canvas>
</div>
<!-- Polls Panel -->
<div class="side-panel" id="pollsPanel">
<div class="panel-header-bar">
<h3>Polls</h3>
<button id="closePollsBtn" class="icon-btn">β</button>
</div>
<div id="createPollSection" style="display:none">
<input type="text" id="pollQuestion" placeholder="Poll question..." maxlength="200">
<div id="pollOptionsContainer">
<input type="text" class="poll-option-input" placeholder="Option 1" maxlength="100">
<input type="text" class="poll-option-input" placeholder="Option 2" maxlength="100">
</div>
<button id="addPollOption" class="text-btn">+ Add option</button>
<button id="launchPollBtn" class="btn btn-small" style="width:100%;margin-top:8px">Launch Poll</button>
</div>
<div id="activePollsList"></div>
</div>
<!-- Breakout Rooms Panel -->
<div class="side-panel" id="breakoutPanel">
<div class="panel-header-bar">
<h3>Breakout Rooms</h3>
<button id="closeBreakoutBtn" class="icon-btn">β</button>
</div>
<div id="breakoutSetup" style="display:none">
<div id="breakoutRoomsList"></div>
<button id="addBreakoutRoom" class="text-btn">+ Add room</button>
<button id="startBreakoutBtn" class="btn btn-small" style="width:100%;margin-top:8px">Start Breakout</button>
</div>
<div id="breakoutActive" style="display:none">
<div id="breakoutActiveList"></div>
<button id="endBreakoutBtn" class="btn btn-small" style="width:100%;margin-top:8px;background:var(--red-500)">End Breakout</button>
</div>
</div>
</div>
<!-- Bottom Controls -->
<div class="call-controls">
<div class="controls-left">
<span class="room-info" id="roomInfo"></span>
<button id="copyLinkBtn" class="text-btn" title="Copy invite link"><span class="material-icons-round">content_copy</span> Copy link</button>
<span class="meeting-timer" id="meetingTimer">00:00</span>
</div>
<div class="controls-center">
<button id="micBtn" class="ctrl-btn active" title="Toggle microphone">
<span class="icon-on"><span class="material-icons-round">mic</span></span>
<span class="icon-off"><span class="material-icons-round">mic_off</span></span>
</button>
<button id="camBtn" class="ctrl-btn active" title="Toggle camera">
<span class="icon-on"><span class="material-icons-round">videocam</span></span>
<span class="icon-off"><span class="material-icons-round">videocam_off</span></span>
</button>
<button id="screenBtn" class="ctrl-btn" title="Share screen">
<span class="icon-on"><span class="material-icons-round">screen_share</span></span>
<span class="icon-off"><span class="material-icons-round">stop_screen_share</span></span>
</button>
<button id="recordBtn" class="ctrl-btn" title="Record meeting">
<span class="icon-on"><span class="material-icons-round">fiber_manual_record</span></span>
<span class="icon-off"><span class="material-icons-round">stop_circle</span></span>
</button>
<!-- Reactions dropdown -->
<div class="ctrl-dropdown">
<button id="reactBtn" class="ctrl-btn" title="Reactions">
<span class="material-icons-round">sentiment_satisfied_alt</span>
</button>
<div class="dropdown-menu" id="reactionsMenu">
<button class="reaction-btn" data-emoji="π">π</button>
<button class="reaction-btn" data-emoji="π">π</button>
<button class="reaction-btn" data-emoji="β€οΈ">β€οΈ</button>
<button class="reaction-btn" data-emoji="π">π</button>
<button class="reaction-btn" data-emoji="π">π</button>
<button class="reaction-btn" data-emoji="π€">π€</button>
</div>
</div>
<button id="handBtn" class="ctrl-btn" title="Raise hand">
<span class="material-icons-round">pan_tool</span>
</button>
<button id="chatBtn" class="ctrl-btn" title="Toggle chat">
<span class="icon-on"><span class="material-icons-round">chat</span></span>
<span class="icon-off"><span class="material-icons-round">chat_bubble_outline</span></span>
</button>
<button id="participantsBtn" class="ctrl-btn" title="Participants">
<span class="material-icons-round">people</span>
</button>
<!-- More menu -->
<div class="ctrl-dropdown">
<button id="moreBtn" class="ctrl-btn" title="More">
<span class="material-icons-round">more_vert</span>
</button>
<div class="dropdown-menu dropdown-up" id="moreMenu">
<button id="whiteboardBtn" class="dropdown-item"><span class="material-icons-round">draw</span> Whiteboard</button>
<button id="pollsBtn" class="dropdown-item"><span class="material-icons-round">poll</span> Polls</button>
<button id="breakoutBtn" class="dropdown-item"><span class="material-icons-round">dashboard</span> Breakout Rooms</button>
<button id="bgBlurBtn" class="dropdown-item"><span class="material-icons-round">blur_on</span> Background Blur</button>
</div>
</div>
<button id="leaveBtn" class="ctrl-btn leave" title="Leave call">
<span class="material-icons-round">call_end</span>
</button>
</div>
<div class="controls-right">
<span class="peer-count" id="peerCount">1 participant</span>
</div>
</div>
</div>
<div class="toast" id="toast"></div>
<script src="/static/app.js"></script>
</body>
</html>
|