moved css to folder

This commit is contained in:
Laureηt 2022-05-27 14:53:23 +02:00
parent bf41fae2aa
commit 698c2cc2dd
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
11 changed files with 23 additions and 22 deletions

View file

@ -2,11 +2,11 @@
<html lang="en" dir="ltr"> <html lang="en" dir="ltr">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Popup Login Form Design | CodingNepal</title> <title>Pixels</title>
<link rel="stylesheet" href="utils.css" /> <link rel="stylesheet" href="css/utils.css" />
<link rel="stylesheet" href="title-bar.css" /> <link rel="stylesheet" href="css/title-bar.css" />
<link rel="stylesheet" href="login-signup.css" /> <link rel="stylesheet" href="css/login-signup.css" />
<link rel="stylesheet" href="pixels.css" /> <link rel="stylesheet" href="css/pixels.css" />
<script type="text/javascript" src="pixels.js"></script> <script type="text/javascript" src="pixels.js"></script>
</head> </head>
@ -97,6 +97,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="pixel-container"> <div class="pixel-container">
<table id="pixelTable"> <table id="pixelTable">
<tr></tr> <tr></tr>

View file

@ -2,14 +2,14 @@
<html lang="en" dir="ltr"> <html lang="en" dir="ltr">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Popup Login Form Design | CodingNepal</title> <title>Pixel</title>
<link rel="stylesheet" href="utils.css" /> <link rel="stylesheet" href="css/utils.css" />
<link rel="stylesheet" href="title-bar.css" /> <link rel="stylesheet" href="css/title-bar.css" />
<link rel="stylesheet" href="profil.css" /> <link rel="stylesheet" href="css/profil.css" />
<link rel="stylesheet" href="pixels.css" /> <link rel="stylesheet" href="css/pixels.css" />
<link rel="stylesheet" href="wallet.css" /> <link rel="stylesheet" href="css/wallet.css" />
<link rel="stylesheet" href="mypixel.css" /> <link rel="stylesheet" href="css/mypixel.css" />
<link rel="stylesheet" href="buypixel.css" /> <link rel="stylesheet" href="css/buypixel.css" />
<script> <script>
function setMenu() { function setMenu() {
if (document.getElementById("show-menu").checked) { if (document.getElementById("show-menu").checked) {

View file

@ -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);