diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-03 22:35:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-16 01:20:39 +0100 |
| commit | f3b446cdb542211ba0813c90899bce875f4da772 (patch) | |
| tree | 4deff536b0c1ab4b0274fe8027b8b323914756a7 /web/index.html | |
| parent | c4a409429972936045084d333e117a567d909420 (diff) | |
Tidy up playlists.html a bit.
Diffstat (limited to 'web/index.html')
| -rw-r--r-- | web/index.html | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/web/index.html b/web/index.html index 02da32acf..659395c7f 100644 --- a/web/index.html +++ b/web/index.html @@ -31,7 +31,7 @@ setInterval(function() { var list = div.appendChild(ul); data.forEach(entry => { var li = document.createElement("li"); - li.classList.add("playlist"); + li.classList.add("list"); li.appendChild(document.createTextNode(entry)); list.appendChild(li); }); @@ -69,7 +69,7 @@ function showPlaylists() response.json().then(data => { data.forEach(playlist => { var li = document.createElement("li"); - li.classList.add("playlist"); + li.classList.add("list"); li.appendChild(document.createTextNode(playlist.name)); li.uuid = playlist['uuid']; li.onclick = function() { @@ -81,7 +81,7 @@ function showPlaylists() nextPlaylist.appendChild(ul); data.content.forEach(content => { var li = document.createElement("li"); - li.classList.add("playlist"); + li.classList.add("list"); li.appendChild(document.createTextNode(content.name)); li.uuid = content.uuid; li.crop_to_ratio = content.crop_to_ratio; @@ -110,7 +110,7 @@ function showContent() response.json().then(data => { data.forEach(content => { var li = document.createElement("li"); - li.classList.add("playlist"); + li.classList.add("list"); li.appendChild(document.createTextNode(content.name)); document.getElementById('content-and-playlists-inner').appendChild(li); @@ -213,14 +213,6 @@ div.tab.selected { background-color: #cccccc; } -li.playlist { - border: 1px solid black; - background-color: #a7bad9; - padding: 3px; - list-style-type: none; - cursor: pointer; -} - div#next-playlist { margin-left: 0px; height: 30vh; |
