From 3abe2c3fbe95ab0a38045c359b808fadac6220ea Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Sun, 4 May 2025 00:25:10 -0400 Subject: Create music player GUI --- ui/html/base.tmpl.html | 20 ++++++++++++-------- ui/html/music_player.tmpl.html | 28 ++++++++++++++++++++++++++++ ui/html/pages/index.tmpl.html | 2 +- 3 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 ui/html/music_player.tmpl.html (limited to 'ui/html') diff --git a/ui/html/base.tmpl.html b/ui/html/base.tmpl.html index f3d618d..0bcf405 100644 --- a/ui/html/base.tmpl.html +++ b/ui/html/base.tmpl.html @@ -4,16 +4,20 @@ {{template "title" .}} - Paterissa - + -
-

Paterissa

-
-
-
- {{template "main" .}} -
+ +
+
+

Paterissa

+
+
+
+ {{template "main" .}} +
+
+ {{template "music_player" .}} {{end}} diff --git a/ui/html/music_player.tmpl.html b/ui/html/music_player.tmpl.html new file mode 100644 index 0000000..e58a9c0 --- /dev/null +++ b/ui/html/music_player.tmpl.html @@ -0,0 +1,28 @@ +{{define "music_player"}} + +
+
+
+
Track Name
+
Artist
+
+
+
+ Previous Track +
+
+ Play +
+
+ Next Track +
+
+
+
00:00
+ +
00:00
+
+ +
+
+{{end}} diff --git a/ui/html/pages/index.tmpl.html b/ui/html/pages/index.tmpl.html index c252465..46a58e8 100644 --- a/ui/html/pages/index.tmpl.html +++ b/ui/html/pages/index.tmpl.html @@ -2,5 +2,5 @@ {{define "main"}}

Blog

-

Home of {{.Webmaster}}

+

Home of {{.Name}}

{{end}} -- cgit v1.2.3