From 499a62976a50c5809b540691528bd1850292bd24 Mon Sep 17 00:00:00 2001 From: Evert-R Date: Tue, 31 Oct 2023 09:54:12 +0100 Subject: [PATCH] Validate file types before submitting --- .../experiment/templates/add-sections.html | 42 +++++++++++-------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/backend/experiment/templates/add-sections.html b/backend/experiment/templates/add-sections.html index 3bbc9a186..67c8d1a66 100644 --- a/backend/experiment/templates/add-sections.html +++ b/backend/experiment/templates/add-sections.html @@ -16,6 +16,11 @@ font-size: 12px; } + .text-red { + color: var(--error-fg); + font-size: 13px; + } + .song-help { position: relative; top: 7.3rem; @@ -65,7 +70,7 @@

Add sections to playlist: {{playlist.name}}

{% endif %} -
* Allowed audio file formats: WAV, MP3, FLAC, OGG
+
* Allowed audio file formats: WAV, MP3, FLAC, OGG
@@ -76,22 +81,25 @@

Add sections to playlist: {{playlist.name}}

+ {% endblock %}