Fixed ban logic & ui
This commit is contained in:
parent
96e9173ff0
commit
6ee1cd793f
@ -1,4 +1,5 @@
|
|||||||
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
|
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
|
||||||
|
@import url("https://cdn.jsdelivr.net/gh/hung1001/font-awesome-pro@4cac1a6/css/all.css");
|
||||||
|
|
||||||
* {
|
* {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@ -41,3 +42,18 @@ main > article > section.informations > p {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button.close {
|
||||||
|
float: right;
|
||||||
|
color: #ffffff;
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
outline: none;
|
||||||
|
transition: .5s;
|
||||||
|
margin-top: 15px;
|
||||||
|
margin-right: 15px;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: #0000001c;
|
||||||
|
}
|
||||||
@ -9,9 +9,12 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
<button class="close" onclick="system.call('window::close')">
|
||||||
|
<i class="fas fa-times"></i>
|
||||||
|
</button>
|
||||||
<article>
|
<article>
|
||||||
<section class="logo">
|
<section class="logo">
|
||||||
<img src="./assets/img/Catboat_Logo-04.png" alt="">
|
<img src="./assets/img/icon.png" alt="">
|
||||||
</section>
|
</section>
|
||||||
<section class="informations">
|
<section class="informations">
|
||||||
<h2>Votre launcher à été bannis.</h2>
|
<h2>Votre launcher à été bannis.</h2>
|
||||||
|
|||||||
4
main.js
4
main.js
@ -99,6 +99,10 @@ async function checkIfIAmBanned() {
|
|||||||
try {
|
try {
|
||||||
const reponse = await fetch(`${config.api.base}${config.api.endpoints.checkBanStatus}`, {
|
const reponse = await fetch(`${config.api.base}${config.api.endpoints.checkBanStatus}`, {
|
||||||
method: "post",
|
method: "post",
|
||||||
|
headers: {
|
||||||
|
accept: "application/json",
|
||||||
|
"Content-Type": "application/json"
|
||||||
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
hwid: hwid.getHWID()
|
hwid: hwid.getHWID()
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user