From 761ce2c8e8d206da9c9f1c182ec2ba414ffc248f Mon Sep 17 00:00:00 2001 From: frperalde Date: Mon, 16 Nov 2020 07:48:27 +0100 Subject: [PATCH] mode jour/nuit --- SwichGIT/src/debug.log | 1 - SwichGIT/src/js/main.js | 18 ++++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 SwichGIT/src/debug.log diff --git a/SwichGIT/src/debug.log b/SwichGIT/src/debug.log deleted file mode 100644 index 225aa0a..0000000 --- a/SwichGIT/src/debug.log +++ /dev/null @@ -1 +0,0 @@ -[1111/102926.535:ERROR:directory_reader_win.cc(43)] FindFirstFile: Le chemin d’accès spécifié est introuvable. (0x3) diff --git a/SwichGIT/src/js/main.js b/SwichGIT/src/js/main.js index 81082bf..7c8bd8c 100644 --- a/SwichGIT/src/js/main.js +++ b/SwichGIT/src/js/main.js @@ -231,18 +231,20 @@ function journuit() { //changer logo swish document.getElementById("imglogo").src = "imgs/swishjour.png"; document.getElementById("imglogo2").src = "imgs/swishjour.png"; - - document.getElementById("fondinput").style.backgroundColor = lightsedonca; + /* + MESSAGE POUR CEUX QUI FONT LES TESTS ! Recommentez les lignes après ! Merci + */ + //document.getElementById("fondinput").style.backgroundColor = lightsedonca; document.getElementById("contourbuttonvalider").style.backgroundColor = lightsedonca; - document.getElementById("textjouer").style.color = lightsedonca; - document.getElementById("textplus").style.color = lightprima; + //document.getElementById("textjouer").style.color = lightsedonca; + //document.getElementById("textplus").style.color = lightprima; //changer montagnesfond document.getElementById("mount1").src = "imgs/mount1.png"; document.getElementById("mount2").src = "imgs/mount2.png"; //nuages document.getElementById("cloud").src = "imgs/lightcloud.png"; //changer background color - document.getElementById("containplayers").style.color = lightsedonca; + //document.getElementById("containplayers").style.color = lightsedonca; //maj couleur principales document.documentElement.style.setProperty('--lightprima', lightprima); document.documentElement.style.setProperty('--lightsedonca', lightsedonca); @@ -253,11 +255,11 @@ function journuit() { //changer logo swish document.getElementById("imglogo").src = "imgs/swishnuit.png"; document.getElementById("imglogo2").src = "imgs/swishnuit.png"; - //bouttonjouer - document.getElementById("fondinput").style.backgroundColor = darkseconda; + + //document.getElementById("fondinput").style.backgroundColor = darkseconda; document.getElementById("contourbuttonvalider").style.backgroundColor = darkseconda; document.getElementById("textjouer").style.color = darkseconda; - document.getElementById("textplus").style.color = darkprima; + //document.getElementById("textplus").style.color = darkprima; //changer montagnesfond document.getElementById("mount1").src = "imgs/darkmount1.png"; document.getElementById("mount2").src = "imgs/darkmount2.png";