Update 5.1

dev
MohsenEMX 2022-12-25 21:20:31 +03:30
parent 88442aeadd
commit f6562f021e
5 changed files with 10 additions and 95 deletions

File diff suppressed because one or more lines are too long

View File

@ -80,6 +80,9 @@
margin-block-start: 0.5em;
margin-block-end: 0.5em;
}
canvas {
transition: 0.2s;
}
</style>
</head>

View File

@ -1,28 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FX Client Settings</title>
<link rel="shortcut icon" href="https://fxclient.cf/favicon.ico" type="image/x-icon">
<meta name="og:image" content="https://fxclient.cf/logo.png"/>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="mainbox">
<button onclick="goBack()" class="gback">Go Back</button>
<div class="title">
<p>FX Client Settings</p>
</div>
<div class="options">
<p id="dr"></p>
<button onclick="showWins()">Show Wins</button>
<button onclick="removeWins()">Reset Wins</button>
</div>
</div>
<script src="index.js"></script>
</body>
</html>

View File

@ -1,19 +0,0 @@
// LF
function showWins() {
if (window.localStorage.getItem('win_count') == null) {
document.getElementById('dr').innerHTML = 'You don\'t have any Wins!';
} else {
document.getElementById('dr').innerHTML = 'You have ' + window.localStorage.getItem('win_count') + ' wins!';
}
}
function removeWins() {
var confirm1 = confirm('Do you really want to reset your Wins?');
if (confirm1) {
localStorage.removeItem('win_count');
document.getElementById('dr').innerHTML = 'Successfully Reset Your Wins!';
}
}
function goBack() {
window.location.href= 'https://fxclient.cf';
}

View File

@ -1,46 +0,0 @@
body {
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.mainbox {
position: relative;
margin: 0 0;
top: 0;
background-color: rgb(0, 155, 65);
padding: 25px;
opacity: 0.9;
transition: 0.4s;
}
.mainbox .title {
position:sticky;
outline: 0;
border: 0px;
font-size: 40px;
text-align: center;
padding: 20px;
}
.mainbox .options {
font-size: 20px;
text-align: center;
padding: 10px;
}
.mainbox .options button {
padding: 15px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 25px;
border-radius: 10px;
opacity: 0.9;
transition: 0.3s;
}
button:hover {
color: #fff;
background-color: #000;
opacity: 1;
}
.gback {
padding: 8px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 15px;
border-radius: 6px;
opacity: 0.9;
transition: 0.3s;
}