Files
scribe/misc/header.html
T
admin 63cd620b79
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
Add accent color, email subjects, MD+DOCX outputs, update README
2026-06-14 15:49:11 +00:00

84 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{webui_title}</title>
<!-- Importing Cormorant Garamond font from Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap" rel="stylesheet">
<style>
.header-container {{
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding-top: 30px;
}}
.logo-container {{
position: absolute;
top: 50%;
right: 20px;
transform: translateY(-50%);
width: 300px;
}}
.logo {{
width: 35%;
height: auto;
}}
.header-title {{
font-family: 'Cormorant Garamond', serif;
font-size: 50px !important;
font-weight: bold;
color: {accent_color};
margin: 0;
position: relative;
padding: 0.5em 0;
}}
.header-title::before, .header-title::after {{
content: "";
position: absolute;
height: 2px;
width: 80%;
background-color: {accent_color};
left: 10%;
}}
.header-title::before {{
top: 0.5em;
}}
.header-title::after {{
bottom: 0.5em;
}}
p, h2 {{
font-size: 16px;
margin: 10px 0;
line-height: 1.4;
}}
</style>
</head>
<body>
<div class="header-container">
<h1 class="header-title">{webui_title}</h1>
<div class="logo-container">
<a href="{header_logo_url}">
<img src="{header_logo_src}" alt="{webui_title}" class="logo">
</a>
</div>
</div>
<div style="text-align: center; padding: 20px 10%;">
<p>
Upload, record, or provide a video with audio for transcription. Our toolkit is designed to transcribe content from multiple languages accurately. The integrated speaker diarisation feature identifies different speakers, ensuring a smooth transcription experience. For optimal results, indicate the number of speakers and the original language of the content.
</p>
<h2 style="font-weight: bold; color: {accent_color};">Start your transcription below.</h2>
</div>
</body>
</html>