mirror of
https://github.com/FxPouya/FxMathQuantWebApp.git
synced 2026-07-27 18:27:44 +00:00
240 lines
5.9 KiB
HTML
240 lines
5.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>FxMathQuant - License Activation</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.login-container {
|
|
background: white;
|
|
border-radius: 20px;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
|
padding: 50px 40px;
|
|
width: 100%;
|
|
max-width: 450px;
|
|
animation: slideIn 0.5s ease-out;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-30px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.logo {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.logo h1 {
|
|
color: #667eea;
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.logo p {
|
|
color: #6c757d;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
color: #333;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 14px 16px;
|
|
border: 2px solid #e0e0e0;
|
|
border-radius: 10px;
|
|
font-size: 15px;
|
|
transition: all 0.3s;
|
|
font-family: 'Courier New', monospace;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.btn-activate {
|
|
width: 100%;
|
|
padding: 16px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.btn-activate:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.btn-activate:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.btn-activate:disabled {
|
|
background: #ccc;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.alert {
|
|
padding: 14px 16px;
|
|
border-radius: 10px;
|
|
margin-bottom: 20px;
|
|
font-size: 14px;
|
|
display: none;
|
|
}
|
|
|
|
.alert.show {
|
|
display: block;
|
|
animation: fadeIn 0.3s;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.alert-error {
|
|
background: #fee;
|
|
color: #c33;
|
|
border: 1px solid #fcc;
|
|
}
|
|
|
|
.alert-success {
|
|
background: #efe;
|
|
color: #3c3;
|
|
border: 1px solid #cfc;
|
|
}
|
|
|
|
.alert-info {
|
|
background: #eef;
|
|
color: #33c;
|
|
border: 1px solid #ccf;
|
|
}
|
|
|
|
.spinner {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 50%;
|
|
border-top-color: white;
|
|
animation: spin 0.8s linear infinite;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.help-text {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
color: #6c757d;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.help-text a {
|
|
color: #667eea;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.help-text a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.license-format {
|
|
font-size: 12px;
|
|
color: #999;
|
|
margin-top: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="login-container">
|
|
<div class="logo">
|
|
<h1>🔐 FxMathQuant</h1>
|
|
<p>Strategy Finder & Optimizer</p>
|
|
</div>
|
|
|
|
<div id="alertBox" class="alert"></div>
|
|
|
|
<form id="licenseForm">
|
|
<div class="form-group">
|
|
<label for="licenseKey">License Key</label>
|
|
<input type="text" id="licenseKey" name="licenseKey"
|
|
placeholder="XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX" required autocomplete="off" maxlength="39">
|
|
<div class="license-format">Format: 32 characters with dashes</div>
|
|
</div>
|
|
|
|
<button type="submit" class="btn-activate" id="activateBtn">
|
|
Activate License
|
|
</button>
|
|
</form>
|
|
|
|
<div class="help-text">
|
|
Need a license? <a href="mailto:fxmathsolution@gmail.com">Contact Support</a>
|
|
</div>
|
|
<div class="help-text" style="margin-top: 10px; font-size: 12px;">
|
|
📧 <a href="mailto:fxmathsolution@gmail.com">fxmathsolution@gmail.com</a> |
|
|
💬 <a href="https://t.me/FxMath" target="_blank">Telegram</a>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="js/login.js"></script>
|
|
</body>
|
|
|
|
</html> |