summaryrefslogtreecommitdiff
path: root/web/index.html
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-15 00:17:07 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-16 01:20:38 +0100
commitae96ef6432d87a2c186dec0d2d902f63ed919e84 (patch)
treea7e3083fadce6a1e6bace7688b6dfbacc91da4e5 /web/index.html
parentf0f3bf7395c9b0b3c1bb6edbd3e4fe12290da8e3 (diff)
Add playlists web interface.
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html36
1 files changed, 4 insertions, 32 deletions
diff --git a/web/index.html b/web/index.html
index bf5359515..a9f4d5629 100644
--- a/web/index.html
+++ b/web/index.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
+<link rel="stylesheet" href="common.css">
<script>
setInterval(function() {
status = fetch("/api/v1/status").then(response => {
@@ -24,38 +25,6 @@
</script>
<style>
-button {
- border: 1px solid rgba(27, 31, 35, 0.15);
- border-radius: 6px;
- color: #24292E;
- display: inline-block;
- line-height: 20px;
- padding: 6px 16px;
- vertical-align: middle;
- white-space: nowrap;
- word-wrap: break-word;
-}
-
-button:hover {
- background-color: #F3F4F6;
- text-decoration: none;
- transition-duration: 0.1s;
-}
-
-button:active {
- background-color: #EDEFF2;
- box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
- transition: none 0s;
-}
-
-button:focus {
- outline: 1px transparent;
-}
-
-button:before {
- display: none;
-}
-
table {
border-collapse: collapse;
margin: 25px 0;
@@ -80,6 +49,9 @@ td {
</head>
<body>
+
+ SIDEBAR
+
<button name="play" value="play" onclick="play()">Play</button>
<button name="stop" value="stop" onclick="stop()">Stop</button>
<table>