diff options
author | Humberto Alfonso Díaz <humberto.alfonso@asvito.es> | 2019-12-10 08:19:07 +0100 |
---|---|---|
committer | Lorenzo Tilve <ltilve@igalia.com> | 2020-02-04 19:16:01 +0100 |
commit | 997339efe2a907f10ed665eadf400a49794c6872 (patch) | |
tree | dd10354a98a1d8fe200ac8d89f27b8fd5a58356d /src/templates | |
parent | 4cb50b346d13d25b5aef0fe62c16e6407bb43d54 (diff) |
FUNCT Added playlist
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/main.template.html | 8 | ||||
-rw-r--r-- | src/templates/playlist.template.html | 15 |
2 files changed, 20 insertions, 3 deletions
diff --git a/src/templates/main.template.html b/src/templates/main.template.html index 4f9bd70..8f553bf 100644 --- a/src/templates/main.template.html +++ b/src/templates/main.template.html @@ -1,10 +1,12 @@ <div class="container-fluid"> <div class="row"> - <div class="col-lg-6 col-md-12 playlistContainer" id="PlaylistContainer"> + <div class="col-12 playlistContainer fixed-top" id="PlaylistContainer"> </div> - <div class="col-lg-6 col-md-12 playerContainer" id="PlayerContainer"> - + </div> + <div class="row"> + <div class="col-12 playerContainer fixed-bottom" id="PlayerContainer"> + </div> </div> </div> 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 |