Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- frontend/court/court.html +43 -44
frontend/court/court.html
CHANGED
|
@@ -380,20 +380,20 @@
|
|
| 380 |
</div>
|
| 381 |
|
| 382 |
<!-- Concession tracker -->
|
| 383 |
-
<div class="clay-card p-
|
| 384 |
-
<div class="flex items-center justify-between mb-
|
| 385 |
-
<h3 class="font-serif text-
|
| 386 |
-
<span id="concession-count" class="font-mono text-
|
| 387 |
</div>
|
| 388 |
-
<div id="concessions-list" class="space-y-
|
| 389 |
-
<p class="text-primary/40 italic font-sans">
|
| 390 |
</div>
|
| 391 |
</div>
|
| 392 |
|
| 393 |
<!-- Cited precedents -->
|
| 394 |
-
<div class="clay-card p-
|
| 395 |
-
<h3 class="font-serif text-
|
| 396 |
-
<div id="precedents-list" class="space-y-
|
| 397 |
<p class="text-primary/40 italic font-sans">None yet.</p>
|
| 398 |
</div>
|
| 399 |
</div>
|
|
@@ -404,17 +404,17 @@
|
|
| 404 |
<main class="flex-1 flex flex-col overflow-hidden">
|
| 405 |
|
| 406 |
<!-- Trap warning banner -->
|
| 407 |
-
<div id="trap-banner" class="hidden clay-banner-warning mx-
|
| 408 |
-
<div class="flex items-center gap-
|
| 409 |
-
<div class="w-
|
| 410 |
-
<span class="material-symbols-outlined text-secondary text-
|
| 411 |
</div>
|
| 412 |
<div>
|
| 413 |
-
<h3 class="font-serif text-
|
| 414 |
-
<p id="trap-warning-text" class="text-[#795900] font-sans text-
|
| 415 |
</div>
|
| 416 |
</div>
|
| 417 |
-
<button onclick="dismissTrap()" class="bg-secondary text-white px-
|
| 418 |
</div>
|
| 419 |
|
| 420 |
<!-- Transcript area -->
|
|
@@ -425,70 +425,69 @@
|
|
| 425 |
</div>
|
| 426 |
|
| 427 |
<!-- Input area -->
|
| 428 |
-
<div class="border-t border-outline-variant/20 bg-[#F5F0E8] p-
|
| 429 |
<div class="max-w-3xl mx-auto">
|
| 430 |
-
<label id="input-label" class="block text-
|
| 431 |
-
<div class="clay-inset p-
|
| 432 |
<textarea
|
| 433 |
id="argument-input"
|
| 434 |
-
rows="
|
| 435 |
placeholder="State your argument to the court..."
|
| 436 |
-
class="flex-1 bg-transparent border-none focus:ring-0 font-serif text-
|
| 437 |
></textarea>
|
| 438 |
<div class="flex flex-col gap-2">
|
| 439 |
-
<div class="text-
|
| 440 |
-
<div class="flex gap-
|
| 441 |
-
<button onclick="openObjectionModal()" class="w-
|
| 442 |
-
<span class="material-symbols-outlined text-
|
| 443 |
</button>
|
| 444 |
-
<button onclick="openDocumentModal()" class="w-
|
| 445 |
-
<span class="material-symbols-outlined text-
|
| 446 |
</button>
|
| 447 |
-
<button onclick="submitArgument()" id="submit-btn" class="clay-btn-primary w-
|
| 448 |
-
<span class="material-symbols-outlined text-
|
| 449 |
</button>
|
| 450 |
</div>
|
| 451 |
</div>
|
| 452 |
</div>
|
| 453 |
-
<div class="flex justify-between mt-
|
| 454 |
<span id="phase-hint">Round 0 — Opening submissions</span>
|
| 455 |
-
<span>ARGUE | OBJECT ⚡ | PRODUCE 📄</span>
|
| 456 |
</div>
|
| 457 |
</div>
|
| 458 |
</div>
|
| 459 |
</main>
|
| 460 |
|
| 461 |
<!-- Right panel: Case file + Documents + Round nav -->
|
| 462 |
-
<aside class="w-
|
| 463 |
|
| 464 |
<!-- Case details -->
|
| 465 |
-
<div class="clay-card p-
|
| 466 |
-
<h3 class="font-mono text-[
|
| 467 |
-
<p id="panel-case-title" class="font-serif text-
|
| 468 |
<div id="panel-issues" class="flex flex-wrap gap-1">
|
| 469 |
<!-- Issue tags -->
|
| 470 |
</div>
|
| 471 |
</div>
|
| 472 |
|
| 473 |
<!-- Documents produced -->
|
| 474 |
-
<div class="clay-card p-
|
| 475 |
-
<h3 class="font-mono text-[
|
| 476 |
-
<div id="documents-list" class="space-y-
|
| 477 |
-
<p class="text-primary/40 italic font-sans text-
|
| 478 |
</div>
|
| 479 |
</div>
|
| 480 |
|
| 481 |
<!-- Round navigator -->
|
| 482 |
-
<div class="clay-card p-
|
| 483 |
-
<h3 class="font-mono text-[
|
| 484 |
-
<div id="round-nav" class="flex flex-wrap gap-
|
| 485 |
<!-- Round dots injected here -->
|
| 486 |
</div>
|
| 487 |
</div>
|
| 488 |
|
| 489 |
<!-- End session button -->
|
| 490 |
-
<button onclick="confirmEndSession()" class="w-full py-
|
| 491 |
-
End Session
|
| 492 |
</button>
|
| 493 |
|
| 494 |
</aside>
|
|
|
|
| 380 |
</div>
|
| 381 |
|
| 382 |
<!-- Concession tracker -->
|
| 383 |
+
<div class="clay-card p-3 rounded-lg flex-1">
|
| 384 |
+
<div class="flex items-center justify-between mb-2">
|
| 385 |
+
<h3 class="font-serif text-[10px] font-bold text-primary uppercase tracking-wider">Concessions</h3>
|
| 386 |
+
<span id="concession-count" class="font-mono text-[10px] bg-secondary-container text-on-secondary-container px-1.5 py-0.5 rounded-full">0</span>
|
| 387 |
</div>
|
| 388 |
+
<div id="concessions-list" class="space-y-1.5 text-[11px]">
|
| 389 |
+
<p class="text-primary/40 italic font-sans">None yet.</p>
|
| 390 |
</div>
|
| 391 |
</div>
|
| 392 |
|
| 393 |
<!-- Cited precedents -->
|
| 394 |
+
<div class="clay-card p-3 rounded-lg">
|
| 395 |
+
<h3 class="font-serif text-[10px] font-bold text-primary uppercase tracking-wider mb-2">Citations</h3>
|
| 396 |
+
<div id="precedents-list" class="space-y-1 text-[11px]">
|
| 397 |
<p class="text-primary/40 italic font-sans">None yet.</p>
|
| 398 |
</div>
|
| 399 |
</div>
|
|
|
|
| 404 |
<main class="flex-1 flex flex-col overflow-hidden">
|
| 405 |
|
| 406 |
<!-- Trap warning banner -->
|
| 407 |
+
<div id="trap-banner" class="hidden clay-banner-warning mx-3 mt-2 p-3 rounded-lg flex items-center justify-between">
|
| 408 |
+
<div class="flex items-center gap-3">
|
| 409 |
+
<div class="w-10 h-10 bg-white/40 rounded-full flex items-center justify-center">
|
| 410 |
+
<span class="material-symbols-outlined text-secondary text-lg" style="font-variation-settings:'FILL' 1">bolt</span>
|
| 411 |
</div>
|
| 412 |
<div>
|
| 413 |
+
<h3 class="font-serif text-sm font-bold text-[#5c4300]">⚡ TRAP DETECTED</h3>
|
| 414 |
+
<p id="trap-warning-text" class="text-[#795900] font-sans text-xs">Opposing counsel may be setting a trap.</p>
|
| 415 |
</div>
|
| 416 |
</div>
|
| 417 |
+
<button onclick="dismissTrap()" class="bg-secondary text-white px-4 py-1 rounded-lg font-sans font-bold text-xs">Dismiss</button>
|
| 418 |
</div>
|
| 419 |
|
| 420 |
<!-- Transcript area -->
|
|
|
|
| 425 |
</div>
|
| 426 |
|
| 427 |
<!-- Input area -->
|
| 428 |
+
<div class="border-t border-outline-variant/20 bg-[#F5F0E8] p-2.5">
|
| 429 |
<div class="max-w-3xl mx-auto">
|
| 430 |
+
<label id="input-label" class="block text-[10px] font-mono text-outline uppercase tracking-widest mb-2">Your Argument</label>
|
| 431 |
+
<div class="clay-inset p-2.5 rounded-lg flex gap-2 items-end">
|
| 432 |
<textarea
|
| 433 |
id="argument-input"
|
| 434 |
+
rows="2"
|
| 435 |
placeholder="State your argument to the court..."
|
| 436 |
+
class="flex-1 bg-transparent border-none focus:ring-0 font-serif text-sm text-on-surface placeholder:text-outline-variant resize-none"
|
| 437 |
></textarea>
|
| 438 |
<div class="flex flex-col gap-2">
|
| 439 |
+
<div class="text-[10px] font-mono text-outline text-right" id="word-count">0 / 500</div>
|
| 440 |
+
<div class="flex gap-1.5">
|
| 441 |
+
<button onclick="openObjectionModal()" class="w-8 h-8 clay-card flex items-center justify-center text-secondary hover:scale-105 transition-transform" title="Raise Objection">
|
| 442 |
+
<span class="material-symbols-outlined text-xs">warning</span>
|
| 443 |
</button>
|
| 444 |
+
<button onclick="openDocumentModal()" class="w-8 h-8 clay-card flex items-center justify-center text-tertiary hover:scale-105 transition-transform" title="Produce Document">
|
| 445 |
+
<span class="material-symbols-outlined text-xs">description</span>
|
| 446 |
</button>
|
| 447 |
+
<button onclick="submitArgument()" id="submit-btn" class="clay-btn-primary w-8 h-8 flex items-center justify-center text-white rounded-lg">
|
| 448 |
+
<span class="material-symbols-outlined text-xs">send</span>
|
| 449 |
</button>
|
| 450 |
</div>
|
| 451 |
</div>
|
| 452 |
</div>
|
| 453 |
+
<div class="flex justify-between mt-1.5 text-[10px] text-primary/40 font-mono">
|
| 454 |
<span id="phase-hint">Round 0 — Opening submissions</span>
|
|
|
|
| 455 |
</div>
|
| 456 |
</div>
|
| 457 |
</div>
|
| 458 |
</main>
|
| 459 |
|
| 460 |
<!-- Right panel: Case file + Documents + Round nav -->
|
| 461 |
+
<aside class="w-56 flex-shrink-0 flex flex-col gap-3 p-3 overflow-y-auto bg-primary/5 border-l border-primary/10 shadow-[inset_4px_0_8px_rgba(0,0,0,0.04)]">
|
| 462 |
|
| 463 |
<!-- Case details -->
|
| 464 |
+
<div class="clay-card p-3 rounded-lg">
|
| 465 |
+
<h3 class="font-mono text-[9px] text-primary/40 uppercase tracking-widest mb-2">Case File</h3>
|
| 466 |
+
<p id="panel-case-title" class="font-serif text-xs font-bold text-primary mb-1.5">-</p>
|
| 467 |
<div id="panel-issues" class="flex flex-wrap gap-1">
|
| 468 |
<!-- Issue tags -->
|
| 469 |
</div>
|
| 470 |
</div>
|
| 471 |
|
| 472 |
<!-- Documents produced -->
|
| 473 |
+
<div class="clay-card p-3 rounded-lg flex-1">
|
| 474 |
+
<h3 class="font-mono text-[9px] text-primary/40 uppercase tracking-widest mb-2">Documents</h3>
|
| 475 |
+
<div id="documents-list" class="space-y-1.5">
|
| 476 |
+
<p class="text-primary/40 italic font-sans text-[11px]">None.</p>
|
| 477 |
</div>
|
| 478 |
</div>
|
| 479 |
|
| 480 |
<!-- Round navigator -->
|
| 481 |
+
<div class="clay-card p-3 rounded-lg">
|
| 482 |
+
<h3 class="font-mono text-[9px] text-primary/40 uppercase tracking-widest mb-2">Rounds</h3>
|
| 483 |
+
<div id="round-nav" class="flex flex-wrap gap-1">
|
| 484 |
<!-- Round dots injected here -->
|
| 485 |
</div>
|
| 486 |
</div>
|
| 487 |
|
| 488 |
<!-- End session button -->
|
| 489 |
+
<button onclick="confirmEndSession()" class="w-full py-2 rounded-lg border border-primary/20 text-primary/60 font-sans text-xs font-medium hover:border-error hover:text-error transition-colors">
|
| 490 |
+
End Session
|
| 491 |
</button>
|
| 492 |
|
| 493 |
</aside>
|