sentiment_analysis / static /records.html
vojmahdal's picture
ver4_support_more_formats
84cd1aa verified
Raw
History Blame Contribute Delete
2.16 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Stored Records</title>
<link rel="stylesheet" href="/static/styles.css" />
</head>
<body>
<main class="container">
<header class="header">
<h1>Stored Records</h1>
<p class="sub">
Anonymized records produced by the pipeline. Original text is never
stored, only its hash and the anonymized version.
</p>
</header>
<section class="card">
<div id="stats" class="stats"></div>
</section>
<section class="card">
<div class="row">
<button id="reloadBtn" class="btn" type="button">Reload</button>
<div class="dropdown" id="exportDropdown">
<button
id="exportBtn"
class="btn secondary"
type="button"
aria-haspopup="true"
aria-expanded="false"
>
Export ▾
</button>
<div class="dropdownMenu" id="exportMenu" hidden role="menu"></div>
</div>
<span id="status" class="status" aria-live="polite"></span>
</div>
<div id="empty" class="sub" style="margin-top: 12px">
No records yet. Analyze a message or ingest a file first.
</div>
<div id="tableWrapper" class="result" hidden>
<table class="log-table">
<thead>
<tr>
<th>Time (UTC)</th>
<th>Anonymized text</th>
<th>Topic</th>
<th>Sentiment</th>
<th>Entities</th>
<th>Source</th>
</tr>
</thead>
<tbody id="logBody"></tbody>
</table>
</div>
<pre id="error" class="error" hidden></pre>
</section>
<footer class="footer">
<a href="/">Back to main page</a>
<span class="dot"></span>
<a href="/docs">API documentation</a>
</footer>
</main>
<script src="/static/records.js"></script>
</body>
</html>