From 4cb50b346d13d25b5aef0fe62c16e6407bb43d54 Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Mon, 9 Dec 2019 13:54:44 +0100 Subject: FUNCT Added player --- src/templates/main.template.html | 11 +++++++- src/templates/player.template.html | 53 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 src/templates/player.template.html (limited to 'src/templates') diff --git a/src/templates/main.template.html b/src/templates/main.template.html index 0f3081c..4f9bd70 100644 --- a/src/templates/main.template.html +++ b/src/templates/main.template.html @@ -1 +1,10 @@ -This is the mediaplayer \ No newline at end of file +
+
+
+ +
+
+ +
+
+
diff --git a/src/templates/player.template.html b/src/templates/player.template.html new file mode 100644 index 0000000..5b5a7ab --- /dev/null +++ b/src/templates/player.template.html @@ -0,0 +1,53 @@ +
+
+
+ +
+
+ {{ metadata.track.title }} +
+
+ +
+
+
+
+ {{ getPosition }} +
+
+ {{ metadata.track.artist }} +
+
+ {{ getDuration }} +
+
+
+
+
+
+
+
+
+
+
+ + {{ #isPlaying }} + + {{ /isPlaying }} + {{ ^isPlaying }} + + {{ /isPlaying }} + +
+
+
\ No newline at end of file -- cgit 1.2.3-korg