From 592d811d5dc4fa58dadb367a7729caa64f2a3d96 Mon Sep 17 00:00:00 2001 From: James Mills Date: Sat, 28 Mar 2020 22:29:13 +1000 Subject: Fix sort persistance --- templates/index.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 820c9db..525710c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -31,17 +31,17 @@ {{ range $m := .Playlist }} - {{ if eq $m.ID $playing.ID }} - - {{ else }} - - {{ end }} - -
-

{{ $m.Title }}

-

{{ $m.Views }} views • {{ $m.Modified }}
{{ $m.Size | bytes }}

-
-
+ {{ if eq $m.ID $playing.ID }} + + {{ else }} + + {{ end }} + +
+

{{ $m.Title }}

+

{{ $m.Views }} views • {{ $m.Modified }}
{{ $m.Size | bytes }}

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