summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-12-10 09:08:43 +0100
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:16:01 +0100
commit75596a5c7d09cfeaf08d7a20950362a7eb158af5 (patch)
treef0c728fd511c17e87309d3b6721f7585b20ad81e /src/templates
parent997339efe2a907f10ed665eadf400a49794c6872 (diff)
FUNCT Add loop support to player
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/player.template.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/templates/player.template.html b/src/templates/player.template.html
index 5b5a7ab..ebf98cc 100644
--- a/src/templates/player.template.html
+++ b/src/templates/player.template.html
@@ -1,7 +1,9 @@
<div class="container-fluid">
<div class="row align-items-center mt-3">
<div class="col-2 text-left">
- <button type="button" class="btn btn-light">
+ <button type="button"
+ class="btn {{ ^isLooping }}btn-outline-secondary{{ /isLooping }} {{ #isLooping }}btn-danger{{ /isLooping }}"
+ onclick="player.loop();">
<i class="fas fa-retweet"></i>
</button>
</div>