Add accent color, email subjects, MD+DOCX outputs, update README
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

This commit is contained in:
admin
2026-06-14 15:49:11 +00:00
parent dc20e9cff0
commit 63cd620b79
11 changed files with 205 additions and 54 deletions
+2 -2
View File
@@ -11,13 +11,13 @@
<body>
<div class="container">
{email_logo}
<h1>Error Notification</h1>
<h1 style="color:{accent_color};">Error Notification</h1>
<p>Dear user,</p>
<p>An error occurred while processing your audio file. This means that something went wrong during the processing of your file, and it could not be completed successfully.</p>
<p class="error-message">Error details: {exception}</p>
<p>Please check the file and try again. If the problem persists, our support team is here to help.</p>
<div class="contact">
<p>You can contact our support team at <a href="mailto:{contact_email}">{contact_email}</a>. They are available to assist with any questions or issues you may have.</p>
<p>You can contact our support team at <a href="mailto:{contact_email}" style="color:{accent_color};">{contact_email}</a>. They are available to assist with any questions or issues you may have.</p>
</div>
<div class="disclaimer">
<p>Please note that our support team does not have the ability to fix processing errors directly or access the files you have uploaded. They can provide guidance and help troubleshoot any issues you may encounter.</p>
+4 -4
View File
@@ -43,7 +43,7 @@
text-align: left;
}}
.footer a {{
color: #333;
color: {accent_color};
transition: color 0.3s ease;
}}
.footer a:hover {{
@@ -79,7 +79,7 @@
font-size: 24px;
}}
.brand-icon a:hover, .brand-icon a:focus {{
background-color: #50AF31;
background-color: {accent_color};
transform: scale(1.1);
text-decoration: none;
}}
@@ -98,11 +98,11 @@
<div class="footer">
<div class="foot-text">
<h2 style="font-weight: bold; color: #7C6DA0;">Disclaimer</h2>
<h2 style="font-weight: bold; color: {accent_color};">Disclaimer</h2>
<p>The transcription completed by this application may contain errors.</p>
<p>Users must take care to review transcripts before circulating to ensure that they are error-free and complete.</p>
<p>The transcripts produced by this application do not replace a court reporter's transcription. The transcripts completed by this application are for the user's convenience only.</p>
<h2 style="font-weight: bold; color: #7C6DA0;">Data retention</h2>
<h2 style="font-weight: bold; color: {accent_color};">Data retention</h2>
<p>Audio or video files uploaded to this application are only retained for the time that it takes to complete the transcription. All transcripts are deleted after they are transmitted to the user.</p>
</div>
<div class="brand-section">
+3 -3
View File
@@ -34,7 +34,7 @@
font-family: 'Cormorant Garamond', serif;
font-size: 50px !important;
font-weight: bold;
color: #7C6DA0;
color: {accent_color};
margin: 0;
position: relative;
padding: 0.5em 0;
@@ -45,7 +45,7 @@
position: absolute;
height: 2px;
width: 80%;
background-color: #7C6DA0;
background-color: {accent_color};
left: 10%;
}}
@@ -77,7 +77,7 @@
<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: #7C6DA0;">Start your transcription below.</h2>
<h2 style="font-weight: bold; color: {accent_color};">Start your transcription below.</h2>
</div>
</body>
</html>
+6 -2
View File
@@ -14,9 +14,10 @@ body {
border: 1px solid #ddd;
border-radius: 5px;
}
h1 {
h1, h2, h3 {
font-size: 1.5em;
margin-top: 0;
color: {accent_color};
}
p {
margin: 10px 0;
@@ -39,12 +40,15 @@ p {
color: #555;
}
.contact a {
color: #0056b3;
color: {accent_color};
text-decoration: none;
}
.contact a:hover {
text-decoration: underline;
}
a {
color: {accent_color};
}
.disclaimer {
margin-top: 20px;
font-size: 0.8em;
+2 -2
View File
@@ -11,12 +11,12 @@
<body>
<div class="container">
{email_logo}
<h1>Transcript Ready</h1>
<h1 style="color:{accent_color};">Transcript Ready</h1>
<p>Dear user,</p>
<p>Your file has been successfully processed, and the transcript is now ready. The transcript of your audio or video file is attached to this email.</p>
<p>We hope you find the transcript useful. If you have any questions or need further assistance, please do not hesitate to contact our support team.</p>
<div class="contact">
<p>You can reach our support team at <a href="mailto:{contact_email}">{contact_email}</a>. They are available to help with any questions or issues you may have.</p>
<p>You can reach our support team at <a href="mailto:{contact_email}" style="color:{accent_color};">{contact_email}</a>. They are available to help with any questions or issues you may have.</p>
</div>
<div class="disclaimer">
<p>Please note that our support team cannot modify the content of the transcript. They can assist with any other questions or concerns you may have.</p>
+2 -2
View File
@@ -11,13 +11,13 @@
<body>
<div class="container">
{email_logo}
<h1>Upload Successful</h1>
<h1 style="color:{accent_color};">Upload Successful</h1>
<p>Dear user,</p>
<p>Your file has been successfully uploaded and is now in our processing queue. This means that our system has received your file, and it is waiting to be processed. We will handle your file as soon as possible.</p>
<p class="success-message">Your current position in the queue is: {queue_position}. This is the order in which your file will be processed. We appreciate your patience as we work through the queue.</p>
<p>We will notify you once your file has been processed. If you have any urgent needs or further questions, feel free to reach out to our support team.</p>
<div class="contact">
<p>You can contact our support team at <a href="mailto:{contact_email}">{contact_email}</a>. Please note that our support team is here to help with any questions or issues you might have.</p>
<p>You can contact our support team at <a href="mailto:{contact_email}" style="color:{accent_color};">{contact_email}</a>. Please note that our support team is here to help with any questions or issues you might have.</p>
</div>
<div class="disclaimer">
<p>Please note that our support team does not have the ability to change your position in the queue or access the files you have uploaded. They are here to provide assistance and answer any questions you might have about the process.</p>