chore: more folders
This commit is contained in:
parent
cb412148e5
commit
fbc6dbf283
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
@ -7,12 +7,12 @@
|
||||||
<link rel="stylesheet" href="css/title-bar.css" />
|
<link rel="stylesheet" href="css/title-bar.css" />
|
||||||
<link rel="stylesheet" href="css/login-signup.css" />
|
<link rel="stylesheet" href="css/login-signup.css" />
|
||||||
<link rel="stylesheet" href="css/pixels.css" />
|
<link rel="stylesheet" href="css/pixels.css" />
|
||||||
<!-- <script type="text/javascript" src="pixels.js"></script> -->
|
<!-- <script type="text/javascript" src="js/ixels.js"></script> -->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<nav>
|
<nav>
|
||||||
<img src="logo.png" />
|
<img src="assets/logo.png" />
|
||||||
|
|
||||||
<span class="profil">
|
<span class="profil">
|
||||||
<button onclick="toggleLogin()">Login</button>
|
<button onclick="toggleLogin()">Login</button>
|
||||||
|
|
|
@ -18,17 +18,17 @@ const updateUserJSON = async () => {
|
||||||
userJSON = await reponse.json();
|
userJSON = await reponse.json();
|
||||||
};
|
};
|
||||||
|
|
||||||
// function updateSolde() {
|
function updateSolde() {
|
||||||
// var elems = document.getElementsByClassName("solde");
|
var elems = document.getElementsByClassName("solde");
|
||||||
// elems.forEach((el) => {
|
elems.forEach((el) => {
|
||||||
// el.innerHTML = userJSON.solde + "₿";
|
el.innerHTML = userJSON.solde + "₿";
|
||||||
// });
|
});
|
||||||
// }
|
}
|
||||||
|
|
||||||
// updateSolde();
|
updateSolde();
|
||||||
updateUserJSON();
|
updateUserJSON();
|
||||||
updatePixelsJSON();
|
updatePixelsJSON();
|
||||||
// setInterval(updateSolde, 10000);
|
setInterval(updateSolde, 10000);
|
||||||
setInterval(updateUserJSON, 10000);
|
setInterval(updateUserJSON, 10000);
|
||||||
setInterval(updatePixelsJSON, 10000);
|
setInterval(updatePixelsJSON, 10000);
|
||||||
|
|
Loading…
Reference in a new issue