aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-06-19 00:29:58 -0600
committerMelody Horn <melody@boringcactus.com>2020-06-19 00:29:58 -0600
commit7397e9fc78c42f49abe4e5acda42ac26698d3be2 (patch)
treecca26f08e763e698b940216b25f31bf45be5d3c8 /templates
parent1d7b7edcf64b9a7ba3f2e5a00d55f607ef77e83d (diff)
downloadcrabravebot-7397e9fc78c42f49abe4e5acda42ac26698d3be2.tar.gz
crabravebot-7397e9fc78c42f49abe4e5acda42ac26698d3be2.zip
add word wrapping and improve source links
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/index.html b/templates/index.html
index fa7bdd6..26673d6 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -11,11 +11,10 @@
<input type="hidden" name="ext" value="mp4">
<p>
Style:
- <input type="radio" id="classic" name="style" value="classic" checked><label for="classic">Classic</label>
- <input type="radio" id="otamatone" name="style" value="otamatone"><label for="otamatone">Otamatone</label> (<a
- href="https://youtu.be/VI5I3MuKJlo">original</a> by TheRealSullyG)
- <input type="radio" id="garfield" name="style" value="garfield"><label for="garfield">Garfield</label> (<a
- href="https://twitter.com/jondancesto/status/1199796307218427904">original</a> by @jondancesto)
+ {% for style in styles %}
+ <input type="radio" id="{{ style.id }}" name="style" value="{{ style.id }}" {% if style.id == 'classic' %}checked{% endif %}>
+ <label for="{{ style.id }}">{{ style.name }}</label> (<a href="{{ style.source }}">source</a>)
+ {% endfor %}
</p>
<input type="submit" value="Overlay!">
</form>