Files
scribe/misc/header.html
T
ScrAIbe Admin 9ec4c4ccba
Mirror and run GitLab CI / build (push) Has been cancelled
Restore title and logo in header with responsive layout
2026-06-14 19:48:57 +00:00

122 lines
3.3 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: space-between;
padding: 20px 40px;
box-sizing: border-box;
}
.header-title {
font-family: 'Cormorant Garamond', serif;
font-size: 42px;
font-weight: bold;
color: {accent_color};
margin: 0;
position: relative;
padding: 0.4em 0;
flex: 1;
}
.header-title::before, .header-title::after {
content: "";
position: absolute;
height: 2px;
width: 100%;
background-color: {accent_color};
left: 0;
}
.header-title::before { top: 0.4em; }
.header-title::after { bottom: 0.4em; }
.logo-container {
flex-shrink: 0;
margin-left: 20px;
}
.logo {
height: 80px;
width: auto;
display: block;
}
.header-description {
text-align: center;
padding: 10px 40px 20px;
max-width: 800px;
margin: 0 auto;
}
.header-description p,
.header-description h2 {
font-size: 15px;
margin: 8px 0;
line-height: 1.5;
}
.header-description h2 {
font-weight: bold;
color: {accent_color};
}
@media (max-width: 768px) {
.header-container {
flex-direction: column;
align-items: center;
padding: 15px;
gap: 10px;
}
.header-title {
font-size: 28px;
text-align: center;
}
.header-title::before, .header-title::after {
width: 80%;
left: 10%;
}
.logo-container {
margin-left: 0;
}
.logo {
height: 60px;
}
.header-description {
padding: 10px 20px 15px;
}
}
</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 class="header-description">
<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>Start your transcription below.</h2>
</div>
</body>
</html>