Initial voice call center app
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Simple Call Center</title>
|
||||
<link rel="icon" href="data:," />
|
||||
<link rel="stylesheet" href="/static/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
<section class="workspace" aria-label="Voice session">
|
||||
<header class="topbar">
|
||||
<div>
|
||||
<p class="eyebrow">Live voice session</p>
|
||||
<h1>Simple Call Center</h1>
|
||||
</div>
|
||||
<div class="status-pill" id="status">offline</div>
|
||||
</header>
|
||||
|
||||
<section class="stage" aria-label="Audio monitor">
|
||||
<canvas id="waveform" width="1200" height="240"></canvas>
|
||||
<div class="meter-row">
|
||||
<div class="meter-label">Mic</div>
|
||||
<div class="level-track"><div id="level" class="level-fill"></div></div>
|
||||
<div class="meter-label" id="muteLabel">open</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="controls" aria-label="Call controls">
|
||||
<button id="startBtn" class="primary" type="button">Start</button>
|
||||
<button id="stopBtn" type="button" disabled>Stop</button>
|
||||
<button id="resetBtn" type="button" disabled>Reset</button>
|
||||
</section>
|
||||
|
||||
<section class="transcript" aria-live="polite" aria-label="Transcript">
|
||||
<div class="line system" id="partialLine">Готов к звонку.</div>
|
||||
<div id="messages" class="messages"></div>
|
||||
</section>
|
||||
</section>
|
||||
</main>
|
||||
<script src="/static/app.js?v=mp3-192-1"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user