Files
UmbraAudio/umbraaudio/web/templates/base.html
B.D. Murphy a172610b0e Add voice library, embedding-mode generation, and webUI improvements
- Add cross-project voice/name library (library.py + webUI library tabs)
- chapter_builder: embedding-mode generation + auto-load TTS base model in preflight
- qwen_tts: vmatrix capture, embedding/voice-prompt refinements
- registry: vmatrix_path column + migration for approved voices
- webUI: speakers list, chapter audio detail, proper names updates
- docs: update voice generation and tts_server README
2026-09-02 17:33:15 -07:00

79 lines
5.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UmbraAudio Review</title>
<link rel="icon" type="image/png" href="/static/logo.png">
<script src="https://unpkg.com/htmx.org@1.9"></script>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, sans-serif; background: #1a1a2e; color: #e0e0e0; padding: 2rem; max-width: 1200px; margin: 0 auto; }
h1 { color: #7c3aed; margin-bottom: 1.5rem; }
h2 { color: #a78bfa; margin-bottom: 1rem; }
h3 { color: #c4b5fd; margin-bottom: 0.5rem; }
.card { background: #16213e; border-radius: 8px; padding: 1.5rem; margin-bottom: 1rem; border: 1px solid #333; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.stat { background: #0f3460; border-radius: 6px; padding: 1rem; text-align: center; }
.stat .num { font-size: 2rem; font-weight: bold; color: #7c3aed; }
.stat .label { color: #94a3b8; margin-top: 0.25rem; }
.btn { padding: 0.5rem 1rem; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9rem; margin-right: 0.5rem; text-decoration: none; display: inline-block; }
.btn-approve { background: #10b981; color: white; }
.btn-reject { background: #ef4444; color: white; }
.btn-generate { background: #7c3aed; color: white; }
.btn-primary { background: #3b82f6; color: white; }
.nav { margin-bottom: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.nav a { color: #7c3aed; text-decoration: none; padding: 0.5rem 1rem; border: 1px solid #7c3aed; border-radius: 4px; }
.nav a:hover { background: #7c3aed; color: white; }
.badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.badge-green { background: #065f46; color: #6ee7b7; }
.badge-red { background: #7f1d1d; color: #fca5a5; }
.badge-yellow { background: #78350f; color: #fde68a; }
.badge-blue { background: #1e3a5f; color: #93c5fd; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #333; }
th { color: #a78bfa; font-weight: 600; }
tr:hover { background: #1e293b; }
audio { width: 100%; height: 35px; }
.defect-warn { border-left: 3px solid #f59e0b; }
.defect-error { border-left: 3px solid #ef4444; }
.chapter-nav { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.chapter-nav a { padding: 0.3rem 0.6rem; border-radius: 4px; background: #1e293b; color: #94a3b8; text-decoration: none; font-size: 0.85rem; }
.chapter-nav a:hover, .chapter-nav a.active { background: #7c3aed; color: white; }
.pipeline-progress { display: flex; align-items: center; gap: 0; margin-bottom: 1.5rem; padding: 1rem; background: #16213e; border-radius: 8px; border: 1px solid #333; overflow-x: auto; }
.pipeline-step { display: flex; flex-direction: column; align-items: center; min-width: 80px; text-align: center; }
.pipeline-step .step-number { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.85rem; margin-bottom: 0.25rem; }
.pipeline-step .step-label { font-size: 0.8rem; font-weight: 600; }
.pipeline-step .step-desc { font-size: 0.7rem; color: #64748b; }
.pipeline-step.pending .step-number { background: #374151; color: #6b7280; border: 2px solid #4b5563; }
.pipeline-step.pending .step-label { color: #6b7280; }
.pipeline-step.active .step-number { background: #7c3aed; color: white; border: 2px solid #7c3aed; }
.pipeline-step.active .step-label { color: #a78bfa; }
.pipeline-step.completed .step-number { background: #065f46; color: #34d399; border: 2px solid #10b981; }
.pipeline-step.completed .step-label { color: #34d399; }
.pipeline-connector { flex: 1; height: 2px; min-width: 20px; background: #374151; }
.pipeline-connector.completed { background: #10b981; }
.card-completed { border-left: 3px solid #10b981; }
.progress-bar { width: 100%; height: 6px; background: #374151; border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: #7c3aed; border-radius: 3px; transition: width 0.3s ease; }
</style>
</head>
<body>
<h1 style="display:flex; align-items:center; gap:0.75rem;">
<img src="/static/logo.png" alt="UmbraAudio logo" style="height:56px; width:56px; border-radius:12px;">
UmbraAudio Review
</h1>
<nav class="nav">
<a href="/">Dashboard</a>
<a href="/speakers">Speakers</a>
<a href="/proper-names">Proper Names</a>
<a href="/chapters-audio">Chapters</a>
<a href="/quality">Quality</a>
<a href="/registry">Voice Registry</a>
<a href="/library">Lib</a>
<a href="/projects" style="margin-left: auto; border-color: #a78bfa;">Projects</a>
</nav>
{% block content %}{% endblock %}
</body>
</html>