From: Thomas Karpiniec Date: Mon, 28 Oct 2024 10:36:06 +0000 (+1100) Subject: Various UI improvements X-Git-Tag: v1.0.0~1 X-Git-Url: https://code.octet-stream.net/broadcaster/commitdiff_plain/25d02cf0c3462805176f4193d675c4904221dca1?ds=sidebyside Various UI improvements --- diff --git a/server/database.go b/server/database.go index 5b1361c..c41b1ad 100644 --- a/server/database.go +++ b/server/database.go @@ -157,7 +157,7 @@ func (d *Database) DeletePlaylist(playlistId int) { func (d *Database) GetPlaylists() []Playlist { ret := make([]Playlist, 0) - rows, err := d.sqldb.Query("SELECT id, enabled, name, start_time FROM playlists ORDER BY id ASC") + rows, err := d.sqldb.Query("SELECT id, enabled, name, start_time FROM playlists ORDER BY start_time DESC") if err != nil { return ret } diff --git a/server/templates/files.html b/server/templates/files.html index c86c6ce..e205472 100644 --- a/server/templates/files.html +++ b/server/templates/files.html @@ -1,11 +1,14 @@ -

Files! List

+

Audio File Management

All files can be downloaded from the public file listing.

-