From 170324134a2f9c15eaf109cd95d5eba910e98edf Mon Sep 17 00:00:00 2001 From: coon Date: Sat, 2 Dec 2023 19:06:45 +0100 Subject: [PATCH] static: remove old index.html + index2.html implementations --- static/index.html | 126 ------------------------------------- static/index.js | 12 ---- static/index2.html | 153 --------------------------------------------- static/style.css | 70 --------------------- static/style2.css | 64 ------------------- 5 files changed, 425 deletions(-) delete mode 100644 static/index.html delete mode 100644 static/index.js delete mode 100644 static/index2.html delete mode 100644 static/style.css delete mode 100644 static/style2.css diff --git a/static/index.html b/static/index.html deleted file mode 100644 index 33702d8..0000000 --- a/static/index.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - sanic :: paused - - - - -
- - - - -
- -
-
- - - - - - - - - - - - - - - - - - - -
PositionArtistTitleAlbumLength
autoincremented numbersome artistsome songsome albumsome time
-
-
- -
- - - -
- -
- -
- - - -
-
    -
  • Playlist 1
  • -
  • Playlist 2
  • -
  • Playlist 3
  • -
-
- -
- - - - - - - - - - - - - - - - - - - -
ArtistTitleAlbumLengthFilename
some artistsome songsome albumsome timesome filename
-
-
-
- - - - - - - diff --git a/static/index.js b/static/index.js deleted file mode 100644 index 2872fd8..0000000 --- a/static/index.js +++ /dev/null @@ -1,12 +0,0 @@ -function switchTab(event, tabname) { - for (let tab in document.getElementsByClassName("tab")) { - tab.style.display = "none"; - } - for (let button in document.getElementsByClassName("tablink")) { - button.className = button.className.replace(" active", ""); - } - - - document.getElementById(tabname).style.display = "block"; - event.currentTarget.className += " active"; -} diff --git a/static/index2.html b/static/index2.html deleted file mode 100644 index 6510920..0000000 --- a/static/index2.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - WebSocket - - - -
-
- - -
-
-
- - - - -
- - -
-
-
- - - - -
-
- - - - -
- - -
-
-

Now playing: 00:00:00/100:00:00

- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PositionTitleArtistGenreAlbumTimeDisc
1ChakraLove Shines Through (Martin Roth's in Electro Love Remix)undefinedundefinedundefined9:29
2ChakraLove Shines Through (Martin Roth's in Electro Love Remix)undefinedundefinedundefined9:29
3ChakraLove Shines Through (Martin Roth's in Electro Love Remix)undefinedundefinedundefined9:29
4ChakraLove Shines Through (Martin Roth's in Electro Love Remix)undefinedundefinedundefined9:29
5ChakraLove Shines Through (Martin Roth's in Electro Love Remix)undefinedundefinedundefined9:29
6ChakraLove Shines Through (Martin Roth's in Electro Love Remix)undefinedundefinedundefined9:29
7ChakraLove Shines Through (Martin Roth's in Electro Love Remix)undefinedundefinedundefined9:29
-
-
-
-
-
- - - - diff --git a/static/style.css b/static/style.css deleted file mode 100644 index 587a203..0000000 --- a/static/style.css +++ /dev/null @@ -1,70 +0,0 @@ -:root { - --main-bg-color: #ddd; - --main-color: #333; -} - -body { - background-color: #000; - color: #fff; - min-height: 100vh; - margin: 0; - display: grid; - grid-template-rows: auto 1fr auto; -} - -header { - min-height:64px; - background-color: var(--main-color); - border: 1px solid var(--main-bg-color); -} - -footer { - min-height:24px; -} - -.box { - background-color: var(--main-color); - border: 1px solid var(--main-bg-color); -} - -header .box { - float: left; - padding: 1em; - height: 60px; -} - -main { - clear: left; -} - -/* tab controls */ -.tabs { - overflow: hidden; /* what does this do? */ -} -.tabs button { - float: left; -} -.tabs button:hover { - background-color: #ddd; -} -.tabs button.active { - background-color: #ccc; -} -.tab { - display: none; -} - -/* table */ -thead { - background-color: #ccc; -} - -/* navigation */ - - - - -/* player controls */ -#player-controls { - border: 1px solid blue; -} diff --git a/static/style2.css b/static/style2.css deleted file mode 100644 index fdd95f8..0000000 --- a/static/style2.css +++ /dev/null @@ -1,64 +0,0 @@ -body { - display: grid; - grid-template-columns: 1fr; - grid-template-rows: 128px 100px 300px 32px; - gap: 0 0; - grid-auto-flow: row; - grid-template-areas: "header" "playlist" "db" "footer"; -} - -header { - display: grid; - grid-template-columns: 128px 1fr 1fr 1fr; - grid-template-rows: 1fr; - gap: 0 0; - grid-auto-flow: row; - grid-template-areas: "config playback-controls playlist-controls track-info"; - grid-area: header; -} - -div, header, footer, section { - border: dotted 1px; -} - -header .config { - grid-area: config; -} - -header .playback-controls { - grid-area: playback-controls; -} - -header .playlist-controls { - grid-area: playlist-controls; -} - -header .track-info { - grid-area: track-info; -} - -footer { - grid-area: footer; -} - -section.db { - display: grid; - grid-template-columns: 0.7fr 1.3fr; - grid-template-rows: 1fr; - gap: 0 0; - grid-auto-flow: row; - grid-template-areas: "tabs result"; - grid-area: db; -} - -.db .tabs { - grid-area: tabs; -} - -.db .result { - grid-area: result; -} - -.playlist { - overflow: auto; -}