aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/main.template.html8
-rw-r--r--src/templates/playlist.template.html15
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