New commit

-  Added ban checking ⚖️
    -  GUI 🪟
    -  HWID Checking/Creating module ⚙
This commit is contained in:
2025-04-26 11:06:59 +02:00
parent 3a81447b9c
commit 6c4948d0b2
8 changed files with 236 additions and 1 deletions

43
app/assets/css/banned.css Normal file
View File

@@ -0,0 +1,43 @@
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body {
background-color: #262626;
}
main > article > section > img {
width: 150px;
}
main > article {
display: flex;
flex-wrap: wrap ;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
main > article > section.informations {
width: 363px;
color: #ffffff;
padding: 13px 13px 13px 13px;
font-weight: bolder;
text-align: center;
font-family: "Roboto", sans-serif;
}
main > article > section.informations > h2 {
margin-bottom: 10px;
}
main > article > section.informations > p {
font-weight: lighter;
text-align: left;
margin-left: 10px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 KiB

11
app/assets/js/banned.js Normal file
View File

@@ -0,0 +1,11 @@
function setBannedBy(banner) {
document.querySelector("#bannedBy").innerText = banner
}
function setBannedAt(date) {
document.querySelector("#bannedAt").innerText = date
}
function setBannedBecause(reason) {
document.querySelector("#bannedBecause").innerText = reason
}

49
app/banned.html Normal file
View File

@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./assets/css/banned.css">
<title>Launcher banni</title>
</head>
<body>
<main>
<article>
<section class="logo">
<img src="./assets/img/Catboat_Logo-04.png" alt="">
</section>
<section class="informations">
<h2>Votre launcher à été bannis.</h2>
<p>
<b>
Par :
</b>
<span id="bannedBy">
Administrateur
</span>
</p>
<p>
<b>
Effectué le :
</b>
<span id="bannedAt">
01/01/1970 00:00
</span>
</p>
<p>
<b>
Raison :
</b>
<span id="bannedBecause">
Launcher non conforme aux CGU
</span>
</p>
</section>
</article>
</main>
<script src="./assets/js/banned.js"></script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>