Upload files to "kronic-chat"
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,975 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1.0"
|
||||||
|
>
|
||||||
|
|
||||||
|
<title>Kronic Krusaders Chat</title>
|
||||||
|
|
||||||
|
<link rel="icon" href="data:,">
|
||||||
|
<link rel="stylesheet" href="screenshare.css">
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="/css/index.css?v=20260904-1"
|
||||||
|
>
|
||||||
|
|
||||||
|
<script
|
||||||
|
src="https://cdnjs.cloudflare.com/ajax/libs/livekit-client/2.15.7/livekit-client.umd.min.js"
|
||||||
|
defer
|
||||||
|
></script>
|
||||||
|
|
||||||
|
<script src="/js/app-config.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/app-auth.js?v=20261125-room-picker-v1" defer></script>
|
||||||
|
<script src="/js/utils.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/audio-settings.js?v=20261111-vad66" defer></script>
|
||||||
|
<script src="/js/room-layout.js?v=20261104-3" defer></script>
|
||||||
|
<script src="/js/storage.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/tool-windows.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/chat-controller.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/media-controller.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/participants.js?v=20261111-free1" defer></script>
|
||||||
|
<script src="/js/screenshare.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/room-auth.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/livekit-controller.js?v=20261125-room-picker-v1" defer></script>
|
||||||
|
<script src="/js/message-router.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/app-init.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/room-sync-bridge.js?v=20261103-3" defer></script>
|
||||||
|
<script src="/js/room-admin.js?v=20261111-rbac2" defer></script>
|
||||||
|
<script src="/js/chat.js?v=20261031-1" defer></script>
|
||||||
|
<script src="/js/ui-fixes.js?v=20261031-1" defer></script>
|
||||||
|
<link rel="stylesheet" href="/css/room-layout.css?v=20261111-free1">
|
||||||
|
<link rel="stylesheet" href="/css/room-admin.css?v=20261110-roles">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div
|
||||||
|
id="roomAuthModal"
|
||||||
|
class="room-auth-modal"
|
||||||
|
hidden
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="room-auth-backdrop"
|
||||||
|
data-room-auth-close
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<section
|
||||||
|
class="room-auth-dialog"
|
||||||
|
role="dialog"
|
||||||
|
aria-modal="true"
|
||||||
|
aria-labelledby="roomAuthTitle"
|
||||||
|
>
|
||||||
|
<header class="room-auth-header">
|
||||||
|
<h2 id="roomAuthTitle">
|
||||||
|
Join Room
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="window-close-button"
|
||||||
|
onclick="closeRoomAuthModal()"
|
||||||
|
aria-label="Close"
|
||||||
|
>
|
||||||
|
×
|
||||||
|
</button>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="room-auth-content">
|
||||||
|
<p id="roomAuthMessage"></p>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="roomAuthPassword">
|
||||||
|
Room Password
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="password"
|
||||||
|
id="roomAuthPassword"
|
||||||
|
autocomplete="off"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="roomAuthConfirmGroup"
|
||||||
|
class="form-group"
|
||||||
|
hidden
|
||||||
|
>
|
||||||
|
<label for="roomAuthPasswordConfirm">
|
||||||
|
Confirm Password
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="password"
|
||||||
|
id="roomAuthPasswordConfirm"
|
||||||
|
autocomplete="off"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="roomAuthError"
|
||||||
|
class="room-auth-error"
|
||||||
|
role="alert"
|
||||||
|
hidden
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="room-auth-actions">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="action-button secondary-button"
|
||||||
|
onclick="closeRoomAuthModal()"
|
||||||
|
>
|
||||||
|
Cancel
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
id="roomAuthSubmitBtn"
|
||||||
|
class="action-button primary-button"
|
||||||
|
onclick="submitRoomAuthentication()"
|
||||||
|
>
|
||||||
|
Join Room
|
||||||
|
</button>
|
||||||
|
</footer>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="app-shell">
|
||||||
|
<header class="topbar">
|
||||||
|
<div class="brand">
|
||||||
|
<div class="brand-icon">
|
||||||
|
KK
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="brand-text">
|
||||||
|
<h1>Kronic Krusaders</h1>
|
||||||
|
<span>Hangout Chat Platform</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="windowTaskbar"
|
||||||
|
class="window-taskbar"
|
||||||
|
aria-label="Minimized windows"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<div class="topbar-tools">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
id="mobileAudioMenuBtn"
|
||||||
|
class="icon-button mobile-menu-button"
|
||||||
|
onclick="Kronick.toggleMobileSidebar()"
|
||||||
|
aria-controls="connectionPanel"
|
||||||
|
aria-expanded="false"
|
||||||
|
title="Audio settings"
|
||||||
|
>
|
||||||
|
<span class="button-icon">☰</span>
|
||||||
|
<span class="button-label">AUDIO</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="icon-button icon-only-button"
|
||||||
|
onclick="openGiphyBrowser()"
|
||||||
|
title="GIF"
|
||||||
|
aria-label="Open GIF browser"
|
||||||
|
>
|
||||||
|
<span class="button-icon">🙂</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
id="chatToolButton"
|
||||||
|
class="icon-button icon-only-button"
|
||||||
|
onclick="openChatWindow()"
|
||||||
|
title="Chat"
|
||||||
|
aria-label="Open chat"
|
||||||
|
>
|
||||||
|
<span class="button-icon">💬</span>
|
||||||
|
|
||||||
|
<span
|
||||||
|
id="chatUnreadCount"
|
||||||
|
class="chat-unread-count"
|
||||||
|
data-count="0"
|
||||||
|
hidden
|
||||||
|
></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button type="button" id="redeemInviteButton"
|
||||||
|
class="icon-button icon-only-button"
|
||||||
|
onclick="Kronick.redeemInvitePrompt()"
|
||||||
|
title="Join a room by invitation" aria-label="Redeem invitation code">
|
||||||
|
<span class="button-icon">✉</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button type="button" id="roomAdminButton"
|
||||||
|
class="icon-button icon-only-button" hidden
|
||||||
|
onclick="Kronick.openRoomAdmin()"
|
||||||
|
title="Manage your rooms" aria-label="Room administration">
|
||||||
|
<span class="button-icon">⚙</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
id="screenShareBtn"
|
||||||
|
type="button"
|
||||||
|
class="icon-button icon-only-button"
|
||||||
|
onclick="toggleScreenShare()"
|
||||||
|
title="Screen Share"
|
||||||
|
aria-label="Start or stop screen sharing"
|
||||||
|
disabled
|
||||||
|
>
|
||||||
|
<span class="button-icon screen-share-icon"></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="workspace">
|
||||||
|
<aside
|
||||||
|
id="connectionPanel"
|
||||||
|
class="connection-panel"
|
||||||
|
>
|
||||||
|
<section class="panel-section">
|
||||||
|
<div class="section-heading">
|
||||||
|
<span>Voice Connection</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="roomName">
|
||||||
|
Assigned Room
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
id="roomName"
|
||||||
|
placeholder="Room name"
|
||||||
|
list="savedRooms"
|
||||||
|
autocomplete="on"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="userName">
|
||||||
|
Account / Chat Name
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
id="userName"
|
||||||
|
placeholder="Enter chat name"
|
||||||
|
list="savedNames"
|
||||||
|
autocomplete="nickname"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<!--
|
||||||
|
Avatar selection is handled by the GIPHY/avatar picker.
|
||||||
|
Keep this hidden field because the existing join/token
|
||||||
|
and storage code still reads #avatarUrl.
|
||||||
|
-->
|
||||||
|
<input
|
||||||
|
type="hidden"
|
||||||
|
id="avatarUrl"
|
||||||
|
value=""
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
|
<datalist id="savedRooms"></datalist>
|
||||||
|
<datalist id="savedNames"></datalist>
|
||||||
|
<datalist id="savedAvatars"></datalist>
|
||||||
|
|
||||||
|
<div class="connection-actions">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
id="joinBtn"
|
||||||
|
class="action-button primary-button"
|
||||||
|
onclick="connect()"
|
||||||
|
>
|
||||||
|
<span>Join Voice</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
id="muteBtn"
|
||||||
|
class="action-button secondary-button"
|
||||||
|
onclick="toggleMute()"
|
||||||
|
disabled
|
||||||
|
>
|
||||||
|
<span>Mute</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
id="leaveBtn"
|
||||||
|
class="action-button danger-button"
|
||||||
|
onclick="disconnect()"
|
||||||
|
disabled
|
||||||
|
>
|
||||||
|
<span>Leave</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="panel-section audio-settings-section">
|
||||||
|
<div class="section-heading audio-heading">
|
||||||
|
<span>Mic & Audio Settings</span>
|
||||||
|
<span class="settings-saved-note">
|
||||||
|
Saved per device
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<details class="audio-setting-group audio-collapsible">
|
||||||
|
<summary class="audio-group-title">
|
||||||
|
Voice activation
|
||||||
|
</summary>
|
||||||
|
|
||||||
|
<label
|
||||||
|
class="compact-toggle"
|
||||||
|
for="voiceActivationToggle"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
id="voiceActivationToggle"
|
||||||
|
checked
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
Only transmit when I speak
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="audio-control">
|
||||||
|
<div class="audio-control-label">
|
||||||
|
<label for="vadThreshold">
|
||||||
|
Voice activation level
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<span
|
||||||
|
id="vadThresholdVal"
|
||||||
|
class="audio-value"
|
||||||
|
>
|
||||||
|
-66 dB
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="range"
|
||||||
|
id="vadThreshold"
|
||||||
|
min="-80"
|
||||||
|
max="-10"
|
||||||
|
value="-66"
|
||||||
|
step="1"
|
||||||
|
>
|
||||||
|
|
||||||
|
<div class="range-ends">
|
||||||
|
<span>Picks up quiet voice</span>
|
||||||
|
<span>Voice must be louder</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="voice-meter-wrap"
|
||||||
|
aria-label="Current microphone activity"
|
||||||
|
>
|
||||||
|
<div class="voice-meter-labels">
|
||||||
|
<span>No voice activity</span>
|
||||||
|
|
||||||
|
<span id="voiceMeterDb">
|
||||||
|
-∞ dB
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span>Max voice activity</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="voice-meter">
|
||||||
|
<div
|
||||||
|
id="voiceMeterFill"
|
||||||
|
class="voice-meter-fill"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="voiceThresholdMarker"
|
||||||
|
class="voice-threshold-marker"
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="audio-control">
|
||||||
|
<div class="audio-control-label">
|
||||||
|
<label for="vadHold">
|
||||||
|
Keep mic open after speech
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<span
|
||||||
|
id="vadHoldVal"
|
||||||
|
class="audio-value"
|
||||||
|
>
|
||||||
|
200 ms
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="range"
|
||||||
|
id="vadHold"
|
||||||
|
min="0"
|
||||||
|
max="1200"
|
||||||
|
value="200"
|
||||||
|
step="25"
|
||||||
|
>
|
||||||
|
|
||||||
|
<div class="range-ends">
|
||||||
|
<span>Snappy</span>
|
||||||
|
<span>Natural pauses</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details class="audio-setting-group audio-collapsible">
|
||||||
|
<summary class="audio-group-title">
|
||||||
|
Noise suppression
|
||||||
|
</summary>
|
||||||
|
|
||||||
|
<label
|
||||||
|
class="compact-toggle"
|
||||||
|
for="noiseSuppressionToggle"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
id="noiseSuppressionToggle"
|
||||||
|
checked
|
||||||
|
>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
Enable noise suppression
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="audio-control">
|
||||||
|
<label for="noiseSuppressionMode">
|
||||||
|
Suppression system
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<select
|
||||||
|
id="noiseSuppressionMode"
|
||||||
|
class="audio-select"
|
||||||
|
>
|
||||||
|
<option value="browser">
|
||||||
|
Browser — light / compatible
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option value="rnnoise">
|
||||||
|
RNNoise — stronger / natural voice
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option value="hybrid" selected>
|
||||||
|
Hybrid — browser + RNNoise
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option value="off">
|
||||||
|
Off — raw microphone
|
||||||
|
</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="noiseModeHelp"
|
||||||
|
class="control-help"
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<details
|
||||||
|
class="audio-advanced"
|
||||||
|
id="noiseAdvanced"
|
||||||
|
>
|
||||||
|
<summary>
|
||||||
|
Fine tuning
|
||||||
|
</summary>
|
||||||
|
|
||||||
|
<div class="advanced-content">
|
||||||
|
<div
|
||||||
|
class="audio-control"
|
||||||
|
id="rnnoiseStrengthControl"
|
||||||
|
>
|
||||||
|
<div class="audio-control-label">
|
||||||
|
<label for="rnnoiseStrength">
|
||||||
|
RNNoise mix
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<span
|
||||||
|
id="rnnoiseStrengthVal"
|
||||||
|
class="audio-value"
|
||||||
|
>
|
||||||
|
100%
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="range"
|
||||||
|
id="rnnoiseStrength"
|
||||||
|
min="0"
|
||||||
|
max="100"
|
||||||
|
value="100"
|
||||||
|
step="5"
|
||||||
|
>
|
||||||
|
|
||||||
|
<div class="range-ends">
|
||||||
|
<span>
|
||||||
|
More original mic
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
More cleaned audio
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<label
|
||||||
|
class="compact-toggle"
|
||||||
|
for="echoCancellationToggle"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
id="echoCancellationToggle"
|
||||||
|
checked
|
||||||
|
>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
Echo cancellation
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label
|
||||||
|
class="compact-toggle"
|
||||||
|
for="autoGainToggle"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
id="autoGainToggle"
|
||||||
|
checked
|
||||||
|
>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
Automatic microphone gain
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
id="applyAudioProcessingBtn"
|
||||||
|
class="audio-apply-button"
|
||||||
|
>
|
||||||
|
Apply suppression changes
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="audioRestartHint"
|
||||||
|
class="control-help restart-hint"
|
||||||
|
>
|
||||||
|
Changes are saved automatically.
|
||||||
|
Apply them now if you are already connected.
|
||||||
|
</div>
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details class="audio-setting-group audio-collapsible">
|
||||||
|
<summary class="audio-group-title">
|
||||||
|
Spatial audio
|
||||||
|
</summary>
|
||||||
|
|
||||||
|
<label
|
||||||
|
class="compact-toggle"
|
||||||
|
for="spatialAudioToggle"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
id="spatialAudioToggle"
|
||||||
|
checked
|
||||||
|
>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
Position voices around me
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="audio-control">
|
||||||
|
<div class="audio-control-label">
|
||||||
|
<label for="spatialWidth">
|
||||||
|
Left / right separation
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<span
|
||||||
|
id="spatialWidthVal"
|
||||||
|
class="audio-value"
|
||||||
|
>
|
||||||
|
100%
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="range"
|
||||||
|
id="spatialWidth"
|
||||||
|
min="0"
|
||||||
|
max="200"
|
||||||
|
value="100"
|
||||||
|
step="5"
|
||||||
|
>
|
||||||
|
|
||||||
|
<div class="range-ends">
|
||||||
|
<span>Centered</span>
|
||||||
|
<span>Wide</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<details class="audio-advanced">
|
||||||
|
<summary>
|
||||||
|
Fine tuning
|
||||||
|
</summary>
|
||||||
|
|
||||||
|
<div class="advanced-content">
|
||||||
|
<div class="audio-control">
|
||||||
|
<div class="audio-control-label">
|
||||||
|
<label for="spatialDepth">
|
||||||
|
Front / back depth
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<span
|
||||||
|
id="spatialDepthVal"
|
||||||
|
class="audio-value"
|
||||||
|
>
|
||||||
|
100%
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="range"
|
||||||
|
id="spatialDepth"
|
||||||
|
min="0"
|
||||||
|
max="200"
|
||||||
|
value="100"
|
||||||
|
step="5"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="audio-control">
|
||||||
|
<div class="audio-control-label">
|
||||||
|
<label for="spatialFalloff">
|
||||||
|
Distance volume effect
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<span
|
||||||
|
id="spatialFalloffVal"
|
||||||
|
class="audio-value"
|
||||||
|
>
|
||||||
|
100%
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="range"
|
||||||
|
id="spatialFalloff"
|
||||||
|
min="0"
|
||||||
|
max="200"
|
||||||
|
value="100"
|
||||||
|
step="5"
|
||||||
|
>
|
||||||
|
|
||||||
|
<div class="range-ends">
|
||||||
|
<span>Even volume</span>
|
||||||
|
<span>Stronger distance</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</details>
|
||||||
|
</details>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="connection-status">
|
||||||
|
<div
|
||||||
|
id="statusIndicator"
|
||||||
|
class="status-indicator"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<div class="status-content">
|
||||||
|
<span class="status-label">
|
||||||
|
Connection status
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span
|
||||||
|
id="statusBar"
|
||||||
|
class="status-bar"
|
||||||
|
>
|
||||||
|
Not connected
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
id="mobileSidebarBackdrop"
|
||||||
|
class="mobile-sidebar-backdrop"
|
||||||
|
onclick="Kronick.closeMobileSidebar()"
|
||||||
|
aria-label="Close audio settings"
|
||||||
|
tabindex="-1"
|
||||||
|
></button>
|
||||||
|
|
||||||
|
<main class="main-content">
|
||||||
|
<div class="content-header">
|
||||||
|
<div>
|
||||||
|
<span class="channel-label">
|
||||||
|
VOICE CHANNEL
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<h2>
|
||||||
|
Participants
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="room-state">
|
||||||
|
<span class="room-state-dot"></span>
|
||||||
|
LiveKit
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="participant-container"
|
||||||
|
class="participant-grid"
|
||||||
|
>
|
||||||
|
<div class="empty-room-message">
|
||||||
|
<div class="empty-room-icon">
|
||||||
|
🎙️
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3>
|
||||||
|
No participants connected
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Enter a room and display name,
|
||||||
|
then join the voice channel.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- =================================================
|
||||||
|
GIF browser
|
||||||
|
================================================= -->
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="giphyFrameWrap"
|
||||||
|
class="tool-frame-wrap"
|
||||||
|
data-window-title="GIF"
|
||||||
|
data-window-icon="🙂"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
id="giphyFrameHeader"
|
||||||
|
class="tool-frame-header"
|
||||||
|
>
|
||||||
|
<div class="tool-frame-title">
|
||||||
|
<span class="tool-frame-icon">
|
||||||
|
🙂
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
GIF Browser
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="window-close-button"
|
||||||
|
onclick="closeGiphyBrowser()"
|
||||||
|
aria-label="Close GIF browser"
|
||||||
|
>
|
||||||
|
×
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<iframe
|
||||||
|
id="giphyFrame"
|
||||||
|
class="tool-frame"
|
||||||
|
src="/giphy.html"
|
||||||
|
title="GIF Browser"
|
||||||
|
allow="autoplay; fullscreen; clipboard-read; clipboard-write"
|
||||||
|
></iframe>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- =================================================
|
||||||
|
Chat
|
||||||
|
================================================= -->
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="chatFrameWrap"
|
||||||
|
class="tool-frame-wrap"
|
||||||
|
data-window-title="Chat"
|
||||||
|
data-window-icon="💬"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
id="chatFrameHeader"
|
||||||
|
class="tool-frame-header"
|
||||||
|
>
|
||||||
|
<div class="tool-frame-title">
|
||||||
|
<span class="tool-frame-icon">
|
||||||
|
💬
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
Chat
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="window-close-button"
|
||||||
|
onclick="closeChatWindow()"
|
||||||
|
aria-label="Close chat window"
|
||||||
|
>
|
||||||
|
×
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<iframe
|
||||||
|
id="chatFrame"
|
||||||
|
class="tool-frame"
|
||||||
|
src="/chat.html"
|
||||||
|
title="Chat"
|
||||||
|
></iframe>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Room management: intentionally separate from instance /admin -->
|
||||||
|
<div id="roomAdminFrameWrap" class="tool-frame-wrap room-admin-wrap"
|
||||||
|
data-window-title="Room administration" data-window-icon="⚙">
|
||||||
|
<div id="roomAdminFrameHeader" class="tool-frame-header">
|
||||||
|
<div class="tool-frame-title"><span class="tool-frame-icon">⚙</span>
|
||||||
|
<span>Room Administration</span></div>
|
||||||
|
<button type="button" class="window-close-button"
|
||||||
|
onclick="Kronick.hideToolWindow('roomAdminFrameWrap')"
|
||||||
|
aria-label="Close room administration">×</button>
|
||||||
|
</div>
|
||||||
|
<div class="room-admin-body">
|
||||||
|
<div class="room-admin-toolbar">
|
||||||
|
<label for="roomAdminSelect">Manage room</label>
|
||||||
|
<select id="roomAdminSelect" aria-label="Managed room"></select>
|
||||||
|
<button type="button" id="roomAdminRefresh">Refresh</button>
|
||||||
|
</div>
|
||||||
|
<div class="room-admin-status" id="roomAdminStatus" role="status" aria-live="polite"></div>
|
||||||
|
<div class="room-admin-columns">
|
||||||
|
<section>
|
||||||
|
<h3>Room members</h3>
|
||||||
|
<p class="room-admin-note">Access and roles are specific to this room.</p>
|
||||||
|
<div id="roomAdminMembers"></div>
|
||||||
|
<h3>Pending room requests</h3>
|
||||||
|
<p class="room-admin-note">Only users requesting this exact room are listed. Approval activates their account and grants access to this room.</p>
|
||||||
|
<div id="roomAdminRequests"></div>
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
<h3>Invite people</h3>
|
||||||
|
<p class="room-admin-note">Codes identify this room during signup. Every new account still needs manual approval.</p>
|
||||||
|
<div class="room-admin-fields">
|
||||||
|
<label>Expires after <select id="roomInviteHours">
|
||||||
|
<option value="1">1 hour</option><option value="24" selected>24 hours</option>
|
||||||
|
<option value="168">7 days</option><option value="720">30 days</option>
|
||||||
|
</select></label>
|
||||||
|
<label>Maximum uses <input id="roomInviteUses" type="number" min="1" max="100" value="1"></label>
|
||||||
|
<button type="button" id="roomInviteCreate">Generate invitation</button>
|
||||||
|
</div>
|
||||||
|
<div id="roomInviteResult" hidden>
|
||||||
|
<label>Copy invitation link <input id="roomInviteLink" readonly></label>
|
||||||
|
<button type="button" id="roomInviteCopy">Copy link</button>
|
||||||
|
<p class="room-admin-note">This link is shown once. Keep it somewhere safe.</p>
|
||||||
|
</div>
|
||||||
|
<h3>Invitation history</h3>
|
||||||
|
<div id="roomAdminInvites"></div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- =================================================
|
||||||
|
Screen share
|
||||||
|
================================================= -->
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="screenShareFrameWrap"
|
||||||
|
class="tool-frame-wrap screen-share-wrap"
|
||||||
|
data-window-title="Screen Share"
|
||||||
|
data-window-icon="▣"
|
||||||
|
>
|
||||||
|
<header
|
||||||
|
id="screenShareFrameHeader"
|
||||||
|
class="tool-frame-header screen-share-header"
|
||||||
|
>
|
||||||
|
<div class="screen-share-title-area">
|
||||||
|
<div class="screen-share-live-badge">
|
||||||
|
<span class="screen-share-live-dot"></span>
|
||||||
|
Live
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3 id="screenShareTitle">
|
||||||
|
Screen Share
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="screen-share-header-actions">
|
||||||
|
<button
|
||||||
|
id="screenShareStopBtn"
|
||||||
|
type="button"
|
||||||
|
class="screen-share-stop-button"
|
||||||
|
onclick="stopScreenShare()"
|
||||||
|
hidden
|
||||||
|
>
|
||||||
|
Stop Sharing
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="window-close-button"
|
||||||
|
onclick="closeScreenShareWindow()"
|
||||||
|
aria-label="Close screen share"
|
||||||
|
>
|
||||||
|
×
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="screen-share-body screen-share-stage">
|
||||||
|
<div
|
||||||
|
id="screenShareEmpty"
|
||||||
|
class="screen-share-empty"
|
||||||
|
>
|
||||||
|
<div class="screen-share-empty-icon">
|
||||||
|
📺
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3>
|
||||||
|
No Active Screen Share
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
When someone shares their screen in the room,
|
||||||
|
it will appear here automatically.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="screenShareVideoContainer"
|
||||||
|
class="screen-share-video-container"
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<img
|
||||||
|
id="sharedGif"
|
||||||
|
class="shared-gif"
|
||||||
|
alt="Shared GIF"
|
||||||
|
>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<!doctype html><html lang="en"><head><meta name="referrer" content="no-referrer"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Sign in</title><link rel="stylesheet" href="/css/login.css?v=1"><script src="/js/login.js?v=20261109-3" defer></script><script src="/js/public-branding.js?v=1" defer></script></head><body>
|
||||||
|
<main class="auth-shell"><section class="auth-card"><div class="brand"><div class="logo" aria-hidden="true">◉</div><div><h1>Welcome</h1><p>Sign in to your private hangout</p></div></div>
|
||||||
|
<div class="auth-switch"><button id="loginTab" type="button" hidden>Back to login</button><button id="signupTab" type="button">Create an account</button></div>
|
||||||
|
<form id="loginForm"><label>Username or email<input id="loginName" autocomplete="username" required></label><label>Password<input id="loginPassword" type="password" autocomplete="current-password" required></label><button type="submit">Login</button></form>
|
||||||
|
<form id="signupForm" hidden><label>Username<input id="signupName" autocomplete="username" required></label><label>Email<input id="signupEmail" type="email" autocomplete="email" required></label><label>Invitation code or invitation URL (optional)<input id="signupInvite" autocomplete="off" placeholder="Paste invitation URL or code"></label><label>Room name (automatically filled from a valid invitation)<input id="signupRoom" autocomplete="off" placeholder="e.g. kronic" required></label><label>Password<input id="signupPassword" type="password" minlength="8" autocomplete="new-password" required></label><button type="submit">Request Account</button><p class="hint">All new accounts require room administrator approval, including invite-code signups.</p></form>
|
||||||
|
<form id="passwordChangeForm" hidden><p class="hint">An administrator requires you to set a new password before signing in.</p><label>New password<input id="newRequiredPassword" type="password" autocomplete="new-password" minlength="8" required></label><label>Confirm new password<input id="confirmRequiredPassword" type="password" autocomplete="new-password" minlength="8" required></label><button type="submit">Change password</button></form><div id="authMessage" class="message"></div></section></main></body></html>
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user