VPS / login.html
WL-SERVER's picture
Rename index.html to login.html
65b7ad6 verified
Raw
History Blame Contribute Delete
9.65 kB
{% extends "page.html" %}
{% block stylesheet %}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet">
<style>
@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-8px); }
100% { transform: translateY(0px); }
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
body {
font-family: 'Outfit', sans-serif;
background: linear-gradient(-45deg, #090a0f, #121826, #1a1b2e, #0b1121);
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
color: white;
overflow-x: hidden;
padding: 20px 0;
}
.bg-shape {
position: fixed;
filter: blur(100px);
z-index: 0;
opacity: 0.4;
}
.shape-1 { width: 400px; height: 400px; background: #FFD21E; top: -150px; left: -150px; }
.shape-2 { width: 500px; height: 500px; background: #00ffd5; bottom: -200px; right: -150px; }
.login-wrapper {
position: relative;
z-index: 10;
max-width: 900px;
width: 95%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.vps-details {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 24px;
padding: 35px;
box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
}
.login-container {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 24px;
padding: 45px 35px;
box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
text-align: center;
}
.hf-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, #FFD21E 0%, #FF9D00 100%);
color: #000;
padding: 6px 14px;
border-radius: 20px;
font-weight: 700;
font-size: 0.75rem;
margin-bottom: 15px;
}
.login-container img {
width: 90px;
height: 90px;
object-fit: cover;
margin-bottom: 20px;
border-radius: 20px;
border: 2px solid rgba(255, 210, 30, 0.4);
animation: float 4s ease-in-out infinite;
}
h4 {
font-weight: 700;
margin-bottom: 5px;
font-size: 1.8rem;
background: linear-gradient(to right, #ffffff, #FFD21E);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: 1px;
}
.subtitle {
color: #94a3b8;
font-size: 0.9rem;
margin-bottom: 30px;
font-weight: 300;
}
.spec-title {
font-weight: 600;
font-size: 1.1rem;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
color: #FFD21E;
}
.spec-grid {
display: grid;
gap: 15px;
}
.spec-item {
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 14px;
display: flex;
justify-content: space-between;
align-items: center;
font-family: 'JetBrains Mono', monospace;
}
.spec-label {
color: #94a3b8;
font-size: 0.85rem;
display: flex;
align-items: center;
gap: 8px;
}
.spec-value {
color: #00ffd5;
font-weight: 600;
font-size: 0.9rem;
}
.status-dot {
width: 8px;
height: 8px;
background: #00ff88;
border-radius: 50%;
display: inline-block;
animation: pulse 2s infinite;
margin-right: 6px;
}
.input-wrapper {
position: relative;
margin-bottom: 25px;
}
.input-wrapper .input-icon {
position: absolute;
left: 18px;
top: 50%;
transform: translateY(-50%);
color: #FFD21E;
font-size: 1.1rem;
transition: 0.3s ease;
}
.form-control {
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
color: white;
border-radius: 14px;
padding: 14px 14px 14px 48px;
font-size: 1rem;
transition: all 0.3s ease;
}
.form-control::placeholder { color: #64748b; font-weight: 300; }
.form-control:focus {
border-color: #FFD21E;
box-shadow: 0 0 0 4px rgba(255, 210, 30, 0.1);
background: rgba(0, 0, 0, 0.4);
color: white;
outline: none;
}
.btn-primary {
position: relative;
width: 100%;
padding: 14px;
border-radius: 14px;
background: linear-gradient(135deg, #FFD21E 0%, #FF9D00 100%);
border: none;
font-weight: 600;
font-size: 1.05rem;
color: #000;
letter-spacing: 0.5px;
overflow: hidden;
transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 50%;
height: 100%;
background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
transform: skewX(-25deg);
transition: 0.5s;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(255, 210, 30, 0.3);
}
.btn-primary:hover::before { left: 150%; }
@media (max-width: 768px) {
.login-wrapper { grid-template-columns: 1fr; }
.vps-details { order: 2; }
.login-container { order: 1; }
}
</style>
{% endblock stylesheet %}
{% block site %}
<div class="bg-shape shape-1"></div>
<div class="bg-shape shape-2"></div>
<div class="login-wrapper">
<!-- VPS Details Panel -->
<div class="vps-details">
<div class="spec-title">
<i class="fa fa-server"></i> VPS Specifications
</div>
<div class="spec-grid">
<div class="spec-item">
<span class="spec-label"><i class="fa fa-microchip"></i> CPU</span>
<span class="spec-value">8 vCore AMD EPYC</span>
</div>
<div class="spec-item">
<span class="spec-label"><i class="fa fa-memory"></i> RAM</span>
<span class="spec-value">32 GB DDR4</span>
</div>
<div class="spec-item">
<span class="spec-label"><i class="fa fa-hdd"></i> Storage</span>
<span class="spec-value">500 GB NVMe SSD</span>
</div>
<div class="spec-item">
<span class="spec-label"><i class="fa fa-gamepad"></i> GPU</span>
<span class="spec-value">NVIDIA T4 16GB</span>
</div>
<div class="spec-item">
<span class="spec-label"><i class="fa fa-network-wired"></i> Network</span>
<span class="spec-value">10 Gbps</span>
</div>
<div class="spec-item">
<span class="spec-label"><i class="fa fa-map-marker-alt"></i> Location</span>
<span class="spec-value">Singapore</span>
</div>
<div class="spec-item">
<span class="spec-label"><i class="fa fa-heart-pulse"></i> Status</span>
<span class="spec-value"><span class="status-dot"></span>Online</span>
</div>
</div>
</div>
<!-- Login Panel -->
<div class="login-container">
<div class="hf-badge">
<i class="fa fa-face-smile"></i> Powered by Dark Yasiya
</div>
<img src="https://i.postimg.cc/GhtV3Hq2/Chat-GPT-Image-Apr-24-2026-07-09-20-PM.png" alt="Server Logo" alt="HF Logo">
<h4>CINE FLURA - VPS</h4>
<p class="subtitle">ML/AI Node Authentication</p>
<form action="{{ base_url }}login?next={{ next }}" method="post">
{{ xsrf_form_html() | safe }}
<div class="input-wrapper">
<input type="password" id="password_input" name="password" class="form-control" placeholder="{% if token_available %}Enter Login Token{% else %}Enter Password{% endif %}" required>
<i class="fa {% if token_available %}fa-key{% else %}fa-lock{% endif %} input-icon"></i>
</div>
<button type="submit" class="btn btn-primary">
Launch Session <i class="fa fa-rocket ms-2"></i>
</button>
</form>
</div>
</div>
{% endblock site %}
{% block script %}
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js"></script>
{% endblock script %}