audio_tracker / frontend /index.html
prav2705's picture
Fix ASR 404 error by using relative paths and bumping version for cache busting
affb0ad
Raw
History Blame Contribute Delete
2.18 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Corpus Standup ASR</title>
<link rel="stylesheet" href="styles.css" />
</head>
<div id="loginPage" class="login-container">
<main class="card login-card">
<h1>Audio Tracker Login</h1>
<p class="muted">Enter your credentials to access the system.</p>
<div class="section">
<label for="phoneInput">Phone Number</label>
<input id="phoneInput" type="tel" placeholder="e.g. +919876543210" />
</div>
<div class="section">
<label for="passwordInput">Password</label>
<input id="passwordInput" type="password" placeholder="Enter password" />
</div>
<div id="loginError" class="error hidden"></div>
<button id="loginBtn">Login</button>
</main>
</div>
<div id="dashboard" class="hidden">
<main class="card">
<header class="dashboard-header">
<h1>Corpus Standup Transcriber</h1>
<button id="logoutBtn" class="secondary-btn">Logout</button>
</header>
<p class="muted">Search users, load standups, and transcribe Telugu audio using Gothunka ASR.</p>
<section class="section">
<h2>Search User</h2>
<label for="userSearchInput">Username</label>
<div class="row">
<input id="userSearchInput" type="text" placeholder="Type username..." />
<button id="searchBtn">Search</button>
</div>
<p id="searchStatus" class="muted"></p>
<div id="userResults" class="list"></div>
</section>
<section class="section">
<h2>Standups</h2>
<div class="row filter-row">
<div class="filter-group">
<label for="dateFilter">Filter by Date</label>
<input id="dateFilter" type="date" />
</div>
</div>
<p id="standupStatus" class="muted">Select a user to load standups.</p>
<div id="standupList" class="list"></div>
</section>
<section class="section">
<h2>Output</h2>
<pre id="result">No transcript yet.</pre>
</section>
</main>
</div>
<script src="config.js"></script>
<script src="app.js?v=7"></script>
</body>
</html>