418 lines
33 KiB
HTML
418 lines
33 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self' data: blob:; media-src 'self' blob: mediastream:; font-src 'self'; connect-src 'none'; worker-src 'self'; base-uri 'none'; form-action 'none'; frame-src 'none'; object-src 'none'">
|
||
<meta name="color-scheme" content="light dark">
|
||
<title>TeamsPeach</title>
|
||
<link rel="stylesheet" href="styles/app.css">
|
||
<script type="module" src="js/app.js"></script>
|
||
</head>
|
||
<body>
|
||
<svg class="sprite" aria-hidden="true" focusable="false">
|
||
<symbol id="i-mic" viewBox="0 0 24 24"><rect x="9" y="3" width="6" height="11" rx="3"/><path d="M5.5 11a6.5 6.5 0 0 0 13 0M12 17.5V21"/></symbol>
|
||
<symbol id="i-mic-off" viewBox="0 0 24 24"><path d="M15 9.5V6a3 3 0 0 0-5.6-1.5M9 9v2a3 3 0 0 0 4.7 2.5M18.5 11a6.5 6.5 0 0 1-1 3.4M5.5 11a6.5 6.5 0 0 0 10 5.5M12 17.5V21M4 4l16 16"/></symbol>
|
||
<symbol id="i-headphones" viewBox="0 0 24 24"><path d="M4 15v-3a8 8 0 0 1 16 0v3"/><rect x="3" y="14" width="4.5" height="6.5" rx="1.6"/><rect x="16.5" y="14" width="4.5" height="6.5" rx="1.6"/></symbol>
|
||
<symbol id="i-headphones-off" viewBox="0 0 24 24"><path d="M4 15v-3a8 8 0 0 1 12.2-6.8M19.3 9A8 8 0 0 1 20 12v3"/><rect x="3" y="14" width="4.5" height="6.5" rx="1.6"/><rect x="16.5" y="14" width="4.5" height="6.5" rx="1.6"/><path d="M3.5 3.5l17 17"/></symbol>
|
||
<symbol id="i-sliders" viewBox="0 0 24 24"><path d="M4 7h9.5M18.5 7H20M4 17h3.5M12.5 17H20"/><circle cx="16" cy="7" r="2.3"/><circle cx="10" cy="17" r="2.3"/></symbol>
|
||
<symbol id="i-monitor" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8.5 20h7M12 16v4"/></symbol>
|
||
<symbol id="i-play" viewBox="0 0 24 24"><path d="M9 7.2v9.6l7.6-4.8z"/></symbol>
|
||
<symbol id="i-x" viewBox="0 0 24 24"><path d="M6.5 6.5l11 11M17.5 6.5l-11 11"/></symbol>
|
||
<symbol id="i-send" viewBox="0 0 24 24"><path d="M4.5 11.6L19.5 4.5l-5.2 15-2.9-6.2zM11.4 13.3l8.1-8.8"/></symbol>
|
||
<symbol id="i-copy" viewBox="0 0 24 24"><rect x="8.5" y="8.5" width="11.5" height="11.5" rx="2"/><path d="M15.5 8.5V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v7.5a2 2 0 0 0 2 2h2.5"/></symbol>
|
||
<symbol id="i-lock" viewBox="0 0 24 24"><rect x="5" y="11" width="14" height="9.5" rx="2"/><path d="M8.5 11V8a3.5 3.5 0 0 1 7 0v3"/></symbol>
|
||
<symbol id="i-channel" viewBox="0 0 24 24"><path d="M5 9.5h14M5 14.5h14M10.5 4.5l-2 15M15.5 4.5l-2 15"/></symbol>
|
||
<symbol id="i-logout" viewBox="0 0 24 24"><path d="M14.5 4.5h3a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-3M10 16l4-4-4-4M14 12H4.5"/></symbol>
|
||
<symbol id="i-speaker" viewBox="0 0 24 24"><path d="M4.5 9.5v5h3.8l4.7 4V5.5l-4.7 4z"/><path d="M16.3 8.8a4.6 4.6 0 0 1 0 6.4M18.8 6.3a8.2 8.2 0 0 1 0 11.4"/></symbol>
|
||
<symbol id="i-speaker-off" viewBox="0 0 24 24"><path d="M4.5 9.5v5h3.8l4.7 4V5.5l-4.7 4z"/><path d="M16.5 9.5l5 5M21.5 9.5l-5 5"/></symbol>
|
||
<symbol id="i-fullscreen" viewBox="0 0 24 24"><path d="M4.5 9V4.5H9M15 4.5h4.5V9M19.5 15v4.5H15M9 19.5H4.5V15"/></symbol>
|
||
<symbol id="i-back" viewBox="0 0 24 24"><path d="M14.5 5.5L8 12l6.5 6.5"/></symbol>
|
||
<symbol id="i-moon" viewBox="0 0 24 24"><path d="M19.5 14.6A7.8 7.8 0 1 1 9.4 4.5a6.2 6.2 0 0 0 10.1 10.1z"/></symbol>
|
||
<symbol id="i-message" viewBox="0 0 24 24"><path d="M4.5 5.5h15v10.5h-9.5l-5.5 4z"/></symbol>
|
||
<symbol id="i-shield" viewBox="0 0 24 24"><path d="M12 3.5l7 2.6v5.4c0 4.3-2.9 7.6-7 9-4.1-1.4-7-4.7-7-9V6.1z"/></symbol>
|
||
<symbol id="i-record" viewBox="0 0 24 24"><circle cx="12" cy="12" r="6.5"/><circle cx="12" cy="12" r="2.5"/></symbol>
|
||
<symbol id="i-bookmark" viewBox="0 0 24 24"><path d="M7 4.5h10v15l-5-3.6-5 3.6z"/></symbol>
|
||
<symbol id="i-user" viewBox="0 0 24 24"><circle cx="12" cy="8.5" r="3.5"/><path d="M5 19.5c1-3.6 3.8-5.5 7-5.5s6 1.9 7 5.5"/></symbol>
|
||
<symbol id="i-palette" viewBox="0 0 24 24"><path d="M12 4a8 8 0 0 0 0 16c1.2 0 1.8-.8 1.8-1.7 0-1.3-1-1.6-1-2.6 0-1 .8-1.7 1.8-1.7H17a3 3 0 0 0 3-3C20 7.3 16.4 4 12 4z"/><circle cx="8" cy="11" r="1"/><circle cx="11" cy="7.8" r="1"/><circle cx="15" cy="8.3" r="1"/></symbol>
|
||
<symbol id="i-keyboard" viewBox="0 0 24 24"><rect x="3" y="6.5" width="18" height="11" rx="2"/><path d="M7 10h.01M10.5 10h.01M14 10h.01M17 10h.01M8 14h8"/></symbol>
|
||
<symbol id="i-info" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8.5"/><path d="M12 11v5.5M12 7.8v.01"/></symbol>
|
||
<symbol id="i-check" viewBox="0 0 24 24"><path d="M5.5 12.5l4.2 4.2 8.8-9.2"/></symbol>
|
||
</svg>
|
||
|
||
<div id="boot" class="boot" role="status">
|
||
<img class="brand-mark" src="assets/icon.png" width="40" height="40" alt="" aria-hidden="true">
|
||
<p id="boot-text" data-i18n="ui.starting.core">Starting core…</p>
|
||
</div>
|
||
|
||
<main id="view-fatal" class="fatal" hidden>
|
||
<div class="fatal-inner">
|
||
<img class="brand-mark" src="assets/icon.png" width="40" height="40" alt="" aria-hidden="true">
|
||
<h1 id="fatal-title" data-i18n="ui.core.unavailable">Core unavailable</h1>
|
||
<p id="fatal-text"></p>
|
||
<ul id="fatal-list" class="fatal-list"></ul>
|
||
<div class="fatal-actions">
|
||
<button id="fatal-retry" class="btn btn-primary" type="button" data-i18n="ui.restart.core">Restart core</button>
|
||
<button id="fatal-import" class="btn" type="button" hidden data-i18n="ui.import.backup">Import backup…</button>
|
||
<button id="fatal-logs" class="btn" type="button" data-i18n="ui.open.logs">Open logs</button>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
|
||
<main id="view-onboarding" class="onboarding" hidden>
|
||
<form id="onboarding-form" class="onboarding-form" novalidate>
|
||
<img class="brand-mark brand-mark-large" src="assets/icon.png" width="56" height="56" alt="" aria-hidden="true">
|
||
<h1 data-i18n="ui.what.should.we.call.you">What should we call you?</h1>
|
||
<p class="lede" data-i18n="ui.everyone.on.the.server.sees.your.nickname">Everyone on the server sees your nickname. You can change it later without changing your permanent identifier (UID).</p>
|
||
<label class="field">
|
||
<span class="field-label" data-i18n="ui.nickname">Nickname</span>
|
||
<input id="onboarding-nick" name="nickname" type="text" autocomplete="off" spellcheck="false" maxlength="30" required aria-describedby="onboarding-hint onboarding-error">
|
||
</label>
|
||
<p id="onboarding-hint" class="hint" data-i18n="ui.3.30.characters">3–30 characters.</p>
|
||
<p id="onboarding-existing" class="hint" hidden></p>
|
||
<p id="onboarding-error" class="form-error" role="alert"></p>
|
||
<button id="onboarding-submit" class="btn btn-primary btn-wide" type="submit" data-i18n="ui.continue">Continue</button>
|
||
<p class="hint" data-i18n="ui.teamspeach.will.create.a.cryptographic.identity.on">TeamsPeach will create a cryptographic identity on this computer. No registration required.</p>
|
||
<button id="onboarding-import" class="btn btn-ghost" type="button" data-i18n="ui.restore.from.backup">Restore from backup…</button>
|
||
</form>
|
||
</main>
|
||
|
||
<div id="view-app" class="shell" hidden>
|
||
<aside class="sidebar" aria-label="Server" data-i18n-aria-label="ui.server">
|
||
<header class="server-head">
|
||
<div class="server-title">
|
||
<span id="server-name" class="server-name" data-i18n="ui.not.connected">Not connected</span>
|
||
<span id="conn-badge" class="conn-badge" data-state="disconnected" data-i18n="ui.not.connected2">not connected</span>
|
||
</div>
|
||
<button id="btn-servers" class="icon-btn" type="button" aria-expanded="false" aria-controls="servers-panel" aria-label="Saved servers" data-i18n-aria-label="ui.saved.servers" title="Saved servers" data-i18n-title="ui.saved.servers">
|
||
<svg class="icon" aria-hidden="true"><use href="#i-bookmark"/></svg>
|
||
</button>
|
||
<button id="btn-disconnect" class="icon-btn" type="button" aria-label="Disconnect from server" data-i18n-aria-label="ui.disconnect.from.server" title="Disconnect" data-i18n-title="ui.disconnect" hidden>
|
||
<svg class="icon" aria-hidden="true"><use href="#i-logout"/></svg>
|
||
</button>
|
||
</header>
|
||
<div id="room-side" class="room-side">
|
||
<section id="servers-panel" class="servers-panel" aria-labelledby="servers-title" hidden>
|
||
<div class="servers-head">
|
||
<h2 id="servers-title" class="servers-title" data-i18n="ui.saved.servers">Saved servers</h2>
|
||
<button id="servers-save-current" class="btn btn-ghost btn-small" type="button" hidden data-i18n="ui.save.current.server">Save current server</button>
|
||
</div>
|
||
<ul id="servers-list" class="servers-list"></ul>
|
||
<p id="servers-empty" class="servers-empty" data-i18n="ui.no.saved.servers.enter.an.address.in">No saved servers. Enter an address in the connection form and select Save.</p>
|
||
</section>
|
||
<p id="tree-empty" class="tree-empty" data-i18n="ui.channels.will.appear.after.you.connect.to">Channels will appear after you connect to a server.</p>
|
||
<img id="host-banner" class="host-banner" alt="" hidden>
|
||
<ul id="tree" class="tree" aria-label="Channels and members" data-i18n-aria-label="ui.channels.and.members"></ul>
|
||
</div>
|
||
<nav id="settings-nav" class="settings-nav" aria-label="Settings categories" data-i18n-aria-label="ui.settings.categories" hidden>
|
||
<button id="settings-back" class="settings-back" type="button">
|
||
<svg class="icon" aria-hidden="true"><use href="#i-back"/></svg><span data-i18n="ui.back.to.server">Back to server</span>
|
||
</button>
|
||
<div class="settings-nav-title"><svg class="icon" aria-hidden="true"><use href="#i-sliders"/></svg><span data-i18n="ui.settings">Settings</span></div>
|
||
<div class="nav-group-label" data-i18n="ui.user">User</div>
|
||
<button class="nav-item" type="button" data-panel="identity"><svg class="icon" aria-hidden="true"><use href="#i-user"/></svg><span data-i18n="ui.identity">Identity</span></button>
|
||
<button class="nav-item" type="button" data-panel="servers"><svg class="icon" aria-hidden="true"><use href="#i-bookmark"/></svg><span data-i18n="ui.servers">Servers</span></button>
|
||
<div class="nav-group-label" data-i18n="ui.application">Application</div>
|
||
<button class="nav-item" type="button" data-panel="appearance"><svg class="icon" aria-hidden="true"><use href="#i-palette"/></svg><span data-i18n="ui.appearance">Appearance</span></button>
|
||
<button class="nav-item" type="button" data-panel="audio"><svg class="icon" aria-hidden="true"><use href="#i-speaker"/></svg><span data-i18n="ui.audio">Audio</span></button>
|
||
<button class="nav-item" type="button" data-panel="video"><svg class="icon" aria-hidden="true"><use href="#i-monitor"/></svg><span data-i18n="ui.video">Video</span></button>
|
||
<button class="nav-item" type="button" data-panel="keys"><svg class="icon" aria-hidden="true"><use href="#i-keyboard"/></svg><span data-i18n="ui.keyboard">Keyboard</span></button>
|
||
<div class="nav-group-label" data-i18n="ui.information">Information</div>
|
||
<button class="nav-item" type="button" data-panel="about"><svg class="icon" aria-hidden="true"><use href="#i-info"/></svg><span data-i18n="ui.information">Information</span></button>
|
||
</nav>
|
||
<footer class="self">
|
||
<div class="self-id">
|
||
<span id="self-dot" class="status-dot" aria-hidden="true"></span>
|
||
<div class="self-text">
|
||
<div id="self-nick" class="self-nick"></div>
|
||
<div id="self-sub" class="self-sub"></div>
|
||
</div>
|
||
</div>
|
||
<div class="self-actions">
|
||
<button id="btn-mute" class="icon-btn" type="button" aria-pressed="false" aria-label="Microphone" data-i18n-aria-label="ui.microphone" title="Mute microphone" data-i18n-title="ui.mute.microphone">
|
||
<svg class="icon" aria-hidden="true"><use href="#i-mic"/></svg>
|
||
</button>
|
||
<button id="btn-deafen" class="icon-btn" type="button" aria-pressed="false" aria-label="Audio" data-i18n-aria-label="ui.audio" title="Mute audio" data-i18n-title="ui.mute.audio">
|
||
<svg class="icon" aria-hidden="true"><use href="#i-headphones"/></svg>
|
||
</button>
|
||
<button id="btn-settings" class="icon-btn" type="button" aria-label="Settings" data-i18n-aria-label="ui.settings" title="Settings" data-i18n-title="ui.settings">
|
||
<svg class="icon" aria-hidden="true"><use href="#i-sliders"/></svg>
|
||
</button>
|
||
</div>
|
||
</footer>
|
||
</aside>
|
||
|
||
<main class="workspace">
|
||
<section id="connect-view" class="connect-view" aria-labelledby="connect-title">
|
||
<form id="connect-form" class="connect-form" novalidate>
|
||
<h1 id="connect-title" data-i18n="ui.connect.to.a.server">Connect to a server</h1>
|
||
<p id="connect-identity" class="lede"></p>
|
||
<label class="field">
|
||
<span class="field-label" data-i18n="ui.server.address">Server address</span>
|
||
<input id="connect-address" name="address" type="text" autocomplete="off" spellcheck="false" placeholder="address or address:9987" data-i18n-placeholder="ui.address.or.address.9987" required>
|
||
</label>
|
||
<label class="field">
|
||
<span class="field-label"><span data-i18n="ui.server.password">Server password</span> <span class="optional" data-i18n="ui.optional">optional</span></span>
|
||
<input id="connect-password" name="password" type="password" autocomplete="off">
|
||
</label>
|
||
<p id="connect-error" class="form-error" role="alert"></p>
|
||
<div class="form-actions">
|
||
<button id="connect-submit" class="btn btn-primary" type="submit" data-i18n="ui.connect">Connect</button>
|
||
<button id="connect-save" class="btn" type="button" data-i18n="ui.save">Save</button>
|
||
<span id="connect-status" class="form-status" role="status"></span>
|
||
</div>
|
||
</form>
|
||
</section>
|
||
|
||
<section id="session-view" class="session-view" hidden>
|
||
<header class="session-head">
|
||
<div class="session-title">
|
||
<h1 id="channel-title"></h1>
|
||
<p id="channel-topic" class="channel-topic"></p>
|
||
</div>
|
||
<div class="transmit">
|
||
<span id="transmit-hint" class="transmit-hint"></span>
|
||
<button id="btn-ptt" class="btn btn-ptt" type="button" aria-pressed="false" data-i18n="ui.hold.to.talk">Hold to talk</button>
|
||
</div>
|
||
</header>
|
||
<p id="session-notice" class="notice" role="status" hidden></p>
|
||
|
||
<section id="stream-view" class="stream-view" aria-label="Stream" data-i18n-aria-label="ui.stream" hidden>
|
||
<div class="stream-stage">
|
||
<video id="stream-video" autoplay playsinline></video>
|
||
<div id="stream-overlay" class="stream-overlay" role="status"></div>
|
||
</div>
|
||
<div class="stream-bar">
|
||
<div class="stream-meta">
|
||
<strong id="stream-title" class="stream-title"></strong>
|
||
<span id="stream-stats" class="stream-stats"></span>
|
||
</div>
|
||
<div class="stream-controls">
|
||
<button id="stream-mute" class="icon-btn" type="button" aria-pressed="false" aria-label="Stream audio" data-i18n-aria-label="ui.stream.audio" title="Mute stream" data-i18n-title="ui.mute.stream">
|
||
<svg class="icon" aria-hidden="true"><use href="#i-speaker"/></svg>
|
||
</button>
|
||
<input id="stream-volume" class="range" type="range" min="0" max="100" step="1" aria-label="Stream volume" data-i18n-aria-label="ui.stream.volume">
|
||
<output id="stream-volume-value" class="range-value" for="stream-volume"></output>
|
||
<button id="stream-fullscreen" class="icon-btn" type="button" aria-label="Full screen" data-i18n-aria-label="ui.full.screen" title="Full screen" data-i18n-title="ui.full.screen">
|
||
<svg class="icon" aria-hidden="true"><use href="#i-fullscreen"/></svg>
|
||
</button>
|
||
<button id="stream-stop" class="btn" type="button" data-i18n="ui.stop.watching">Stop watching</button>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="chat" aria-label="Chat" data-i18n-aria-label="ui.chat">
|
||
<div id="chat-tabs" class="chat-tabs" role="tablist" aria-label="Chats" data-i18n-aria-label="ui.chats"></div>
|
||
<ol id="chat-log" class="chat-log" role="log" aria-live="polite" aria-relevant="additions" tabindex="0"></ol>
|
||
<form id="chat-form" class="composer" novalidate>
|
||
<textarea id="chat-input" rows="1" aria-label="Message" data-i18n-aria-label="ui.message" placeholder="Message" data-i18n-placeholder="ui.message"></textarea>
|
||
<button id="chat-send" class="icon-btn icon-btn-accent" type="submit" aria-label="Send" data-i18n-aria-label="ui.send" title="Send (Enter)" data-i18n-title="ui.send.enter">
|
||
<svg class="icon" aria-hidden="true"><use href="#i-send"/></svg>
|
||
</button>
|
||
</form>
|
||
</section>
|
||
</section>
|
||
|
||
<section id="settings-view" class="settings-view" hidden aria-label="Settings" data-i18n-aria-label="ui.settings">
|
||
<div class="settings-scroll">
|
||
<div class="settings-panel" data-panel="identity" hidden>
|
||
<h1 id="settings-title" class="panel-title" data-i18n="ui.identity">Identity</h1>
|
||
<section class="card" aria-labelledby="card-identity">
|
||
<h2 id="card-identity" class="card-title" data-i18n="ui.identity">Identity</h2>
|
||
<div class="card-row">
|
||
<span class="row-name" data-i18n="ui.unique.identifier">Unique identifier</span>
|
||
<code id="uid-value" class="uid-value"></code>
|
||
<button id="uid-copy" class="btn btn-ghost btn-small" type="button"><svg class="icon" aria-hidden="true"><use href="#i-copy"/></svg><span data-i18n="ui.copy">Copy</span></button>
|
||
</div>
|
||
<p class="hint" data-i18n="ui.your.uid.is.your.public.key.fingerprint">Your UID is your public key fingerprint. TeamSpeak servers use it to recognize you and assign permissions; changing your nickname does not change it.</p>
|
||
<p id="security-level" class="hint"></p>
|
||
<div class="card-divider"></div>
|
||
<div class="form-actions">
|
||
<button id="identity-export" class="btn" type="button" data-i18n="ui.export.to.file">Export to file…</button>
|
||
<button id="identity-import" class="btn" type="button" data-i18n="ui.import.from.file">Import from file…</button>
|
||
</div>
|
||
<p class="hint" data-i18n="ui.the.file.contains.your.private.key.protect">The file contains your private key. Protect it like a password: anyone with it can impersonate you.</p>
|
||
<p id="identity-status" class="form-status" role="status"></p>
|
||
</section>
|
||
<section class="card" aria-labelledby="card-details">
|
||
<h2 id="card-details" class="card-title" data-i18n="ui.details">Details</h2>
|
||
<form id="rename-form" class="inline-form" novalidate>
|
||
<label class="inline-label" for="rename-input" data-i18n="ui.nickname2">Nickname</label>
|
||
<input id="rename-input" type="text" autocomplete="off" spellcheck="false" maxlength="30">
|
||
<button id="rename-submit" class="btn btn-primary btn-small" type="submit" data-i18n="ui.save">Save</button>
|
||
</form>
|
||
<p class="hint" data-i18n="ui.other.users.on.the.teamspeak.server.see">Other users on the TeamSpeak server see your nickname. 3–30 characters.</p>
|
||
<p id="rename-status" class="form-status" role="status"></p>
|
||
</section>
|
||
</div>
|
||
|
||
<div class="settings-panel" data-panel="servers" hidden>
|
||
<h1 class="panel-title" data-i18n="ui.servers">Servers</h1>
|
||
<section class="card" aria-labelledby="card-saved">
|
||
<h2 id="card-saved" class="card-title" data-i18n="ui.saved.servers">Saved servers</h2>
|
||
<ul id="servers-manage" class="servers-list servers-manage"></ul>
|
||
<p id="servers-manage-empty" class="hint" data-i18n="ui.no.saved.servers">No saved servers.</p>
|
||
</section>
|
||
<section class="card" aria-labelledby="card-add-server">
|
||
<h2 id="card-add-server" class="card-title" data-i18n="ui.add.server">Add server</h2>
|
||
<form id="server-add-form" class="stack-form" novalidate>
|
||
<label class="field"><span class="field-label" data-i18n="ui.name">Name</span><input id="server-add-name" type="text" maxlength="64" autocomplete="off"></label>
|
||
<label class="field"><span class="field-label" data-i18n="ui.address">Address</span><input id="server-add-address" type="text" maxlength="255" autocomplete="off" spellcheck="false" placeholder="address or address:9987" data-i18n-placeholder="ui.address.or.address.9987"></label>
|
||
<div class="form-actions"><button class="btn btn-primary btn-small" type="submit" data-i18n="ui.add">Add</button><span id="server-add-status" class="form-status" role="status"></span></div>
|
||
</form>
|
||
<p class="hint" data-i18n="ui.only.the.name.and.address.are.saved">Only the name and address are saved. Server passwords are not stored; you will be asked when connecting. The same identity is used for every server.</p>
|
||
</section>
|
||
</div>
|
||
|
||
<div class="settings-panel" data-panel="appearance" hidden>
|
||
<h1 class="panel-title" data-i18n="ui.appearance">Appearance</h1>
|
||
<section class="card" aria-labelledby="card-theme">
|
||
<h2 id="card-theme" class="card-title" data-i18n="ui.theme">Theme</h2>
|
||
<fieldset class="fieldset">
|
||
<legend class="visually-hidden" data-i18n="ui.color.theme">Color theme</legend>
|
||
<label class="choice"><input type="radio" name="theme" value="system"> <span data-i18n="ui.system">System</span></label>
|
||
<label class="choice"><input type="radio" name="theme" value="dark"> <span data-i18n="ui.dark">Dark</span></label>
|
||
<label class="choice"><input type="radio" name="theme" value="light"> <span data-i18n="ui.light">Light</span></label>
|
||
</fieldset>
|
||
</section>
|
||
<section class="card" aria-labelledby="card-language">
|
||
<h2 id="card-language" class="card-title" data-i18n="language.label">Language</h2>
|
||
<label class="field"><span class="field-label" data-i18n="language.label">Language</span>
|
||
<select id="language-select"><option value="en" lang="en">English</option><option value="ru" lang="ru" data-i18n="language.russian">Russian</option></select>
|
||
</label>
|
||
<p class="hint" data-i18n="language.note">Changes apply immediately. Your identity, connection and audio are unchanged.</p>
|
||
</section>
|
||
</div>
|
||
|
||
<div class="settings-panel" data-panel="audio" hidden>
|
||
<h1 class="panel-title" data-i18n="ui.audio">Audio</h1>
|
||
<section class="card" aria-labelledby="card-devices">
|
||
<h2 id="card-devices" class="card-title" data-i18n="ui.devices">Devices</h2>
|
||
<label class="field"><span class="field-label" data-i18n="ui.microphone">Microphone</span><select id="input-device"></select></label>
|
||
<div class="meter-row">
|
||
<div class="meter" aria-hidden="true"><div id="mic-meter" class="meter-fill"></div></div>
|
||
<button id="mic-test" class="btn btn-ghost btn-small" type="button" aria-pressed="false" data-i18n="ui.test.microphone">Test microphone</button>
|
||
</div>
|
||
<label class="field"><span class="field-label" data-i18n="ui.output.device">Output device</span><select id="output-device"></select></label>
|
||
<p id="device-status" class="hint" role="status"></p>
|
||
</section>
|
||
<section class="card" aria-labelledby="card-volume">
|
||
<h2 id="card-volume" class="card-title" data-i18n="ui.volume">Volume</h2>
|
||
<label class="field"><span class="field-label"><span data-i18n="ui.voice.volume">Voice volume</span> <output id="voice-volume-value" for="voice-volume"></output></span>
|
||
<input id="voice-volume" class="range" type="range" min="0" max="200" step="5"></label>
|
||
</section>
|
||
<section class="card" aria-labelledby="card-transmit">
|
||
<h2 id="card-transmit" class="card-title" data-i18n="ui.voice.transmission">Voice transmission</h2>
|
||
<fieldset class="fieldset">
|
||
<legend class="visually-hidden" data-i18n="ui.transmission.mode">Transmission mode</legend>
|
||
<label class="choice"><input type="radio" name="transmit" value="ptt"> <span data-i18n="ui.push.to.talk">Push to talk</span></label>
|
||
<label class="choice"><input type="radio" name="transmit" value="vad"> <span data-i18n="transmit.mode.vad">Voice activation</span></label>
|
||
<label class="choice"><input type="radio" name="transmit" value="open"> <span data-i18n="transmit.mode.open">Open microphone (continuous transmission)</span></label>
|
||
</fieldset>
|
||
<div id="vad-options" hidden>
|
||
<label class="field"><span class="field-label" data-i18n="transmit.vad.sensitivity">Voice activation sensitivity</span>
|
||
<select id="vad-sensitivity">
|
||
<option value="high" data-i18n="transmit.vad.high">High: quieter speech</option>
|
||
<option value="normal" data-i18n="transmit.vad.normal">Normal</option>
|
||
<option value="low" data-i18n="transmit.vad.low">Low: noisier surroundings</option>
|
||
</select>
|
||
</label>
|
||
<p class="hint" data-i18n="transmit.vad.hint">Voice detection runs locally on this computer, not in the cloud. It detects speech rather than just sound level; audio is only held briefly in memory to decide, and nothing is saved as a recording or transcribed into words. Transmission starts when speech is detected and ends about 0.4 s after the last detected speech. Noise suppression can help, but a TV, other voices, or noise may still trigger transmission or keep it open.</p>
|
||
</div>
|
||
<p class="hint" data-i18n="transmit.mic.test.hint">The microphone test shows the input level, not whether speech is detected. The test itself never sends audio. In a channel, the selected transmission mode and mute controls determine when others hear you.</p>
|
||
</section>
|
||
<section class="card" aria-labelledby="card-processing">
|
||
<h2 id="card-processing" class="card-title" data-i18n="ui.microphone.processing">Microphone processing</h2>
|
||
<fieldset class="fieldset">
|
||
<legend class="visually-hidden" data-i18n="ui.microphone.processing">Microphone processing</legend>
|
||
<label class="choice"><input id="opt-ns" type="checkbox"> <span data-i18n="ui.noise.suppression">Noise suppression</span></label>
|
||
<label class="choice"><input id="opt-ec" type="checkbox"> <span data-i18n="ui.echo.cancellation">Echo cancellation</span></label>
|
||
<label class="choice"><input id="opt-agc" type="checkbox"> <span data-i18n="ui.automatic.gain.control">Automatic gain control</span></label>
|
||
</fieldset>
|
||
</section>
|
||
</div>
|
||
|
||
<div class="settings-panel" data-panel="video" hidden>
|
||
<h1 class="panel-title" data-i18n="ui.video">Video</h1>
|
||
<section class="card" aria-labelledby="card-decode">
|
||
<h2 id="card-decode" class="card-title" data-i18n="ui.hardware.acceleration">Hardware acceleration</h2>
|
||
<label class="choice"><input id="opt-hwdec" type="checkbox"> <span data-i18n="ui.allow.hardware.video.decoding">Allow hardware video decoding</span></label>
|
||
<p class="hint" data-i18n="ui.the.engine.may.use.your.gpu.to">The engine may use your GPU to decode streams. Applies after restarting.</p>
|
||
<div id="hwdec-restart" class="form-actions" hidden>
|
||
<span class="form-status" data-i18n="ui.this.change.takes.effect.after.restarting.teamspeach">This change takes effect after restarting TeamsPeach.</span>
|
||
<button id="hwdec-relaunch" class="btn btn-small" type="button" data-i18n="ui.restart.now">Restart now</button>
|
||
</div>
|
||
<div class="card-divider"></div>
|
||
<div class="card-row">
|
||
<span class="row-name" data-i18n="ui.decoding.backend">Decoding backend</span>
|
||
<span class="row-value" data-i18n="ui.automatic.chosen.by.chromium">Automatic (chosen by Chromium)</span>
|
||
</div>
|
||
<details class="card-details">
|
||
<summary data-i18n="ui.details.status.codecs.and.backends">Details: status, codecs and backends</summary>
|
||
<dl class="diag-list">
|
||
<dt data-i18n="ui.policy">Policy</dt><dd id="hwdec-status"></dd>
|
||
<dt data-i18n="ui.current.reception">Current reception</dt><dd id="decoder-last"></dd>
|
||
</dl>
|
||
<h3 class="details-title" data-i18n="ui.receive.codecs.reported.by.the.engine">Receive codecs reported by the engine</h3>
|
||
<ul id="codec-list" class="codec-list"></ul>
|
||
<h3 class="details-title" data-i18n="ui.unavailable.settings">Unavailable settings</h3>
|
||
<p class="hint" data-i18n="ui.unlike.teamspeak.6.there.is.no.cisco">Unlike TeamSpeak 6, there is no Cisco OpenH264 toggle or manual hardware backend selection (NVENC, AMF, QSV, etc.). TeamsPeach receives video through Chromium WebRTC, which has no decoder-selection API. Chromium decodes H.264 through FFmpeg; OpenH264 is only an encoder, and sending your own screen is not implemented in TeamsPeach.</p>
|
||
</details>
|
||
</section>
|
||
</div>
|
||
|
||
<div class="settings-panel" data-panel="keys" hidden>
|
||
<h1 class="panel-title" data-i18n="ui.keyboard">Keyboard</h1>
|
||
<section class="card" aria-labelledby="card-ptt">
|
||
<h2 id="card-ptt" class="card-title" data-i18n="ui.push.to.talk">Push to talk</h2>
|
||
<div class="ptt-row">
|
||
<span class="row-name" data-i18n="ui.push.to.talk.key">Push-to-talk key</span>
|
||
<kbd id="ptt-key" class="kbd"></kbd>
|
||
<button id="ptt-assign" class="btn btn-ghost btn-small" type="button" data-i18n="ui.assign">Assign</button>
|
||
</div>
|
||
<p id="ptt-hint" class="hint" data-i18n="ui.the.key.works.while.teamspeach.is.focused">The key works while TeamsPeach is focused. Letter keys do not trigger while typing. Press Esc to cancel assignment.</p>
|
||
</section>
|
||
</div>
|
||
|
||
<div class="settings-panel" data-panel="about" hidden>
|
||
<h1 class="panel-title" data-i18n="ui.information">Information</h1>
|
||
<section class="card" aria-labelledby="card-about">
|
||
<h2 id="card-about" class="card-title" data-i18n="ui.about">About</h2>
|
||
<dl id="diag-list" class="diag-list"></dl>
|
||
<div class="card-divider"></div>
|
||
<div class="form-actions"><button id="open-logs" class="btn btn-small" type="button" data-i18n="ui.open.logs">Open logs</button></div>
|
||
</section>
|
||
<section class="card" aria-labelledby="card-updates">
|
||
<h2 id="card-updates" class="card-title" data-i18n="ui.updates">Updates</h2>
|
||
<label class="field"><span class="field-label" data-i18n="ui.update.channel">Update channel</span>
|
||
<select id="update-channel">
|
||
<option value="preview" data-i18n="ui.preview.releases">Preview releases</option>
|
||
<option value="stable" data-i18n="ui.stable.only">Stable only</option>
|
||
</select>
|
||
</label>
|
||
<p class="hint" data-i18n="update.channel.hint">Preview includes prereleases; Stable excludes them.</p>
|
||
<p id="update-status" class="update-status" role="status"></p>
|
||
<progress id="update-progress" class="update-progress" max="100" hidden></progress>
|
||
<div id="update-confirm" class="update-confirm" hidden>
|
||
<p class="hint" data-i18n="ui.installing.closes.teamspeach.and.interrupts.your.current">Installing closes TeamsPeach and interrupts your current call and stream.</p>
|
||
<div class="form-actions">
|
||
<button id="update-confirm-yes" class="btn btn-primary btn-small" type="button" data-i18n="ui.interrupt.and.install">Interrupt and install</button>
|
||
<button id="update-confirm-no" class="btn btn-ghost btn-small" type="button" data-i18n="ui.cancel">Cancel</button>
|
||
</div>
|
||
</div>
|
||
<div class="form-actions">
|
||
<button id="update-check" class="btn btn-small" type="button" data-i18n="ui.check.for.updates">Check for updates</button>
|
||
<button id="update-download" class="btn btn-small" type="button" hidden data-i18n="ui.download">Download</button>
|
||
<button id="update-install" class="btn btn-primary btn-small" type="button" hidden data-i18n="ui.install.and.restart">Install and restart</button>
|
||
<button id="update-open" class="btn btn-small" type="button" hidden data-i18n="ui.open.release.page">Open release page</button>
|
||
</div>
|
||
</section>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
</main>
|
||
</div>
|
||
|
||
<div id="toasts" class="toasts" aria-live="polite" aria-atomic="false"></div>
|
||
</body>
|
||
</html>
|