From 976a6b4a8c7bcdada5c52acc85f93ece4f91e667 Mon Sep 17 00:00:00 2001 From: James Mills Date: Sat, 21 Mar 2020 20:34:37 +1000 Subject: Added basic upload support --- templates/index.html | 66 +++++++++++++++++++++------------------------------- 1 file changed, 27 insertions(+), 39 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index aa772c6..e756a06 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,40 +1,28 @@ +{{ define "content" }} {{ $playing := .Playing }} - - - Tube - - - - - - - -
-
- {{ if $playing.ID }} - -

{{ $playing.Title }}

-

{{ $playing.Modified }}

-

{{ $playing.Description }}

- {{ else }} - - {{ end }} -
-
- {{ range $m := .Playlist }} - {{ if eq $m.ID $playing.ID }} - - {{ else }} - - {{ end }} - -
-

{{ $m.Title }}

-

{{ $m.Modified }}

-
-
- {{ end }} -
-
- - +
+ {{ if $playing.ID }} + +

{{ $playing.Title }}

+

{{ $playing.Modified }}

+

{{ $playing.Description }}

+ {{ else }} + + {{ end }} +
+
+ {{ range $m := .Playlist }} + {{ if eq $m.ID $playing.ID }} + + {{ else }} + + {{ end }} + +
+

{{ $m.Title }}

+

{{ $m.Modified }}

+
+
+ {{ end }} +
+{{end}} -- cgit v1.2.3