Spaces:
Running
Running
File size: 2,267 Bytes
2e39601 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>TACITUS Source Lab</title>
<style>
:root { color-scheme: light; font: 16px/1.55 system-ui,sans-serif; color: #18283a; background: #f4f3ee; }
body { margin: 0; }
main { max-width: 62rem; margin: auto; padding: 3rem 1.25rem; }
header { border-bottom: 1px solid #adb8bb; margin-bottom: 1.4rem; padding-bottom: 1.4rem; }
h1 { font: 500 clamp(2rem,7vw,4rem)/1.1 Georgia,serif; margin: 0 0 .6rem; }
h2 { font: 500 1.5rem Georgia,serif; margin: 0 0 .7rem; }
p { margin: .4rem 0; }
nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
button { font: inherit; background: white; color: inherit; border: 1px solid #9aa9af; padding: .52rem .9rem; border-radius: .35rem; cursor: pointer; }
button[aria-pressed=true] { color: white; background: #223d54; border-color: #223d54; }
button:focus-visible { outline: 3px solid #b66a15; outline-offset: 3px; }
article { padding: clamp(1rem,4vw,2rem); border: 1px solid #cdd4d4; background: white; border-radius: .6rem; }
#source { white-space: pre-wrap; margin: 1rem 0; padding: 1rem; background: #f5f7fa; border-left: 3px solid #71869a; }
mark { background: #f6df9d; color: inherit; }
pre { max-height: 23rem; overflow: auto; padding: 1rem; background: #f5f7fa; font-size: .85rem; }
#revision { font-size: .85rem; color: #496176; overflow-wrap: anywhere; }
#download { margin-top: 1rem; }
</style>
<script src="examples.js" defer></script>
<script src="lab.js" defer></script>
</head>
<body>
<main>
<header><h1>TACITUS Source Lab</h1><p>Explore saved baseline outputs for claim verification and source-span extraction.</p></header>
<nav aria-label="Analysis examples">
<button type="button" data-task="evidence">Evidence</button>
<button type="button" data-task="actors">Actors</button>
<button type="button" data-task="events">Events</button>
</nav>
<article aria-labelledby="summary">
<h2 id="summary"></h2>
<p id="revision"></p>
<blockquote id="source"></blockquote>
<p id="claim"></p>
<p id="warning"></p>
<details><summary>Response JSON</summary><pre id="json"></pre></details>
<button type="button" id="download">Download JSON</button>
</article>
</main>
</body>
</html>
|