182 lines
6.7 KiB
HTML
182 lines
6.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" data-bs-theme="dark">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% block title %}Stegasoo{% endblock %}</title>
|
|
<link rel="icon" type="image/svg+xml" href="{{ url_for('static', filename='favicon.svg') }}">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--gradient-start: #667eea;
|
|
--gradient-end: #764ba2;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
|
|
}
|
|
|
|
.navbar {
|
|
background: rgba(0, 0, 0, 0.3) !important;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.card {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.card-header {
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
border-bottom: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
border: none;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.hero-icon {
|
|
font-size: 4rem;
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.feature-card {
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
|
|
}
|
|
|
|
.form-control, .form-select {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
}
|
|
|
|
.form-control:focus, .form-select:focus {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: var(--gradient-start);
|
|
box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
|
|
color: #fff;
|
|
}
|
|
|
|
.form-control::placeholder {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
/* Fix dropdown options for dark theme */
|
|
.form-select option {
|
|
background: #1a1a2e;
|
|
color: #fff;
|
|
}
|
|
|
|
.phrase-display {
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 1.1rem;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.5rem;
|
|
border-left: 4px solid var(--gradient-start);
|
|
}
|
|
|
|
.pin-display {
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 2rem;
|
|
letter-spacing: 0.5rem;
|
|
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.alert-message {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 0.5rem;
|
|
padding: 1.5rem;
|
|
white-space: pre-wrap;
|
|
font-family: 'Courier New', monospace;
|
|
}
|
|
|
|
footer {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg navbar-dark">
|
|
<div class="container">
|
|
<a class="navbar-brand d-flex align-items-center" href="/">
|
|
<img src="{{ url_for('static', filename='logo.svg') }}" alt="Stegasoo" height="36" class="me-2">
|
|
<span class="fw-bold">Stegasoo</span>
|
|
</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
<ul class="navbar-nav ms-auto">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/"><i class="bi bi-house me-1"></i> Home</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/generate"><i class="bi bi-key me-1"></i> Generate</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/encode"><i class="bi bi-lock me-1"></i> Encode</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/decode"><i class="bi bi-unlock me-1"></i> Decode</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/about"><i class="bi bi-info-circle me-1"></i> About</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<main class="container py-5">
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
{% for category, message in messages %}
|
|
<div class="alert alert-{{ 'danger' if category == 'error' else 'success' }} alert-dismissible fade show" role="alert">
|
|
<i class="bi bi-{{ 'exclamation-triangle' if category == 'error' else 'check-circle' }} me-2"></i>
|
|
{{ message }}
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
|
|
<footer class="py-4 mt-5">
|
|
<div class="container text-center text-muted">
|
|
<small>
|
|
<img src="{{ url_for('static', filename='favicon.svg') }}" alt="" height="16" class="me-1" style="vertical-align: text-bottom;">
|
|
Stegasoo v3.1 — Hybrid Photo + Day-Phrase + PIN Steganography
|
|
</small>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|