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,17 +2,17 @@
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>Popup Login Form Design | CodingNepal</title>
<link rel="stylesheet" href="utils.css" />
<link rel="stylesheet" href="title-bar.css" />
<link rel="stylesheet" href="login-signup.css" />
<link rel="stylesheet" href="pixels.css" />
<title>Pixels</title>
<link rel="stylesheet" href="css/utils.css" />
<link rel="stylesheet" href="css/title-bar.css" />
<link rel="stylesheet" href="css/login-signup.css" />
<link rel="stylesheet" href="css/pixels.css" />
<script type="text/javascript" src="pixels.js"></script>
</head>
<body>
<div class="title-bar">
<div class="title"><img src="logo.png" /> Pixels</div>
<div class="title"><img src="logo.png" />Pixels</div>
<div class="profil">
<input type="checkbox" id="show-login" class="show" />
<div onclick="toggleLoginSignup(true, false)" class="login-btn">
@ -97,6 +97,7 @@
</div>
</div>
</div>
<div class="pixel-container">
<table id="pixelTable">
<tr></tr>

View file

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

View file

@ -18,17 +18,17 @@ const updateUserJSON = async () => {
userJSON = await reponse.json();
};
function updateSolde() {
var elems = document.getElementsByClassName("solde");
elems.forEach((el) => {
el.innerHTML = userJSON.solde + "₿";
});
}
// function updateSolde() {
// var elems = document.getElementsByClassName("solde");
// elems.forEach((el) => {
// el.innerHTML = userJSON.solde + "₿";
// });
// }
updateSolde();
// updateSolde();
updateUserJSON();
updatePixelsJSON();
setInterval(updateSolde, 10000);
// setInterval(updateSolde, 10000);
setInterval(updateUserJSON, 10000);
setInterval(updatePixelsJSON, 10000);