From b30f93999f2cd7f8cdd2a98afa5618abcc555939 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Wed, 29 Apr 2026 15:05:53 +0200 Subject: [PATCH] add reload button --- modules/web/fsdb.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/modules/web/fsdb.html b/modules/web/fsdb.html index 68468e6..e3c7944 100644 --- a/modules/web/fsdb.html +++ b/modules/web/fsdb.html @@ -74,7 +74,7 @@ font-weight: 600; } - .refresh-btn { + .btn { font-size: 12px; padding: 4px 10px; border-radius: 5px; @@ -84,7 +84,7 @@ cursor: pointer; } - .refresh-btn:hover { background: #333; } + .btn:hover { background: #333; } .container { display: flex; @@ -132,7 +132,8 @@
playlist: friday/day
- + +
@@ -251,6 +252,10 @@ function refreshPlaylist() { ws.send(JSON.stringify({ action: "fsdb_list", playlist: getPlaylistName() })); } + + function reloadPlaylist() { + ws.send(JSON.stringify({ action: "fsdb_add", name: "reload" })); + } \ No newline at end of file