summaryrefslogtreecommitdiffstats
path: root/src/templates/playlist.template.html
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-12-10 08:19:07 +0100
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:16:01 +0100
commit997339efe2a907f10ed665eadf400a49794c6872 (patch)
treedd10354a98a1d8fe200ac8d89f27b8fd5a58356d /src/templates/playlist.template.html
parent4cb50b346d13d25b5aef0fe62c16e6407bb43d54 (diff)
FUNCT Added playlist
Diffstat (limited to 'src/templates/playlist.template.html')
-rw-r--r--src/templates/playlist.template.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/templates/playlist.template.html b/src/templates/playlist.template.html
new file mode 100644
index 0000000..d01f0d6
--- /dev/null
+++ b/src/templates/playlist.template.html
@@ -0,0 +1,15 @@
+<div class="list-group">
+ {{ #playlist }}
+ <a href="#"
+ class="list-group-item list-group-item-action {{ #isPlaying }}active{{ /isPlaying }}"
+ onclick="player.play({{index}})">
+ <h6>
+ {{ title }}
+ <small class="text-muted">{{ genre }}</small>
+ </h6>
+ <small>
+ {{ artist }}
+ </small>
+ </a>
+ {{ /playlist }}
+</div> \ No newline at end of file