diff --git a/package.json b/package.json index 79a28c2..72a2edc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "subsonics-web", "author": "Raphix", - "version": "0.6.3", + "version": "0.6.5", "nodemonConfig": { "ext": "js, html", "ignore": [ diff --git a/src/web/public/javascript/__index_script.js b/src/web/public/javascript/__index_script.js index d67ca42..06ba9a6 100644 --- a/src/web/public/javascript/__index_script.js +++ b/src/web/public/javascript/__index_script.js @@ -102,10 +102,6 @@ function playPlayList(key) { } - - - - socket.on("DO_UPDATE_PLAYLIST", () => { get("PLAYLIST") @@ -129,7 +125,7 @@ socket.on("ANSWER/GET/PLAYLIST", (data) => { } contentToPush.push('
Debug
') - contentToPush.push('
Ajouter une playlist
') + contentToPush.push('
Créer une playlist
') @@ -351,7 +347,7 @@ searchBtn.addEventListener("click", () => { } PFormatduration = pmax - contentToPush.push('

' + title.title + '

' + title.author + '

' + PFormatduration + '

Lire maintenant
Ajouter à une playlist

Ajouter à une playlist

Selectionner la playlist

') + contentToPush.push('

' + title.title + '

' + title.author + '

' + PFormatduration + '

Lire maintenant
Ajouter à une playlist

Ajouter à une playlist

Selectionner la playlist

') } if(contentToPush.join("") == "") { diff --git a/src/web/public/stylesheets/style.css b/src/web/public/stylesheets/style.css index 7952e0a..1ed18a4 100644 --- a/src/web/public/stylesheets/style.css +++ b/src/web/public/stylesheets/style.css @@ -16,8 +16,7 @@ body { background-color: black; color: white; font-family: 'Roboto', sans-serif; - background: linear-gradient(90deg, rgba(76,72,140,1) 0%, rgba(0,0,0,1) 100%), - linear-gradient(90deg, rgb(101, 95, 185) 0%, rgb(48, 48, 48) 100%); + background: linear-gradient(225deg, #342348 0%, #1C1A31 100%);; } @@ -598,6 +597,7 @@ p { transform: translateX(-50%); text-align: center; border-radius: 12px; + width: 5vw; justify-content: center; } diff --git a/src/web/templates/index.ejs b/src/web/templates/index.ejs index d594e6a..ff14f0c 100644 --- a/src/web/templates/index.ejs +++ b/src/web/templates/index.ejs @@ -90,7 +90,7 @@

0:00

-

Ajouter à une playlist

Selectionner la playlist

+

Créer à une playlist

Selectionner la playlist