small things i forgot on my last push

This commit is contained in:
Tyler
2025-05-01 19:01:13 -10:00
committed by GitHub
parent 7ec213fad0
commit 90dcb7ecb8
3 changed files with 59 additions and 20 deletions
+9
View File
@@ -452,6 +452,15 @@ section.card {
margin-bottom: 25px;
}
/* Pickup page sections */
#pickup-section {
margin-bottom: 25px;
}
#security-notice-section {
margin-bottom: 25px;
}
/* ===== File Input Section ===== */
#encoding-section #file-section {
display: none;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1006 KiB

After

Width:  |  Height:  |  Size: 78 KiB

+48 -18
View File
@@ -3,33 +3,33 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="PacCrypt - File Pickup" />
<title>Pickup File - PacCrypt</title>
<meta name="description" content="PacCrypt - Secure file pickup and decryption" />
<title>PacCrypt - Secure File Pickup</title>
<!-- Favicon -->
<link rel="icon" type="image/png" href="{{ url_for('static', filename='img/PacCrypt.png') }}" />
<link rel="icon" href="{{ url_for('static', filename='img/PacCrypt.png') }}" type="image/png" />
<!-- Stylesheets -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
</head>
<body class="dark">
<!-- Header -->
<header class="card">
<h1>PacCrypt Pickup</h1>
<p>Enter passwords to retrieve your file</p>
<h1>PacCrypt</h1>
<p>Secure File Pickup and Decryption</p>
</header>
<!-- Main Content -->
<main>
<!-- Pickup Form Section -->
<section class="card form-group">
<h2>🔐 Decrypt and Download</h2>
<!-- File Pickup Section -->
<section id="pickup-section" class="card form-group">
<h2>🔐 File Pickup</h2>
<!-- Flash Messages -->
{% with messages = get_flashed_messages() %}
{% if messages %}
<ul style="color: red;">
<ul style="color: lime; list-style: none; padding-left: 0;">
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
@@ -37,19 +37,49 @@
{% endif %}
{% endwith %}
<!-- File Info -->
<div class="form-group">
<p style="color: #00ff99; margin-bottom: 15px;">File ID: <code>{{ file_id }}</code></p>
</div>
<!-- Pickup Form -->
<form method="POST" class="pickup-form">
<input type="password" name="pickup_password" placeholder="Pickup Password" required autocomplete="off" />
<input type="password" name="enc_password" placeholder="Encryption Password" required autocomplete="off" />
<div class="button-group mt-3">
<button type="submit" class="download-btn">📥 Decrypt and Download</button>
<form method="POST" class="form-group">
<div class="form-group">
<input type="password"
name="pickup_password"
placeholder="Pickup Password"
required
autocomplete="off" />
</div>
<div class="form-group">
<input type="password"
name="enc_password"
placeholder="Encryption Password"
required
autocomplete="off" />
</div>
<div class="button-group">
<button type="submit">📥 Decrypt and Download</button>
</div>
</form>
</section>
<!-- File ID Section -->
<section class="card form-group">
<p style="font-size: 0.9em; color: gray;">Link ID: <code>{{ file_id }}</code></p>
<!-- Security Notice Section -->
<section id="security-notice-section" class="card form-group">
<h2>🛡️ Security Notice</h2>
<p style="color: #00ff99; text-align: center;">
Make sure you're on the correct domain before entering any passwords.<br>
Your file will be permanently deleted after download.
</p>
</section>
<!-- Link ID Section -->
<section id="link-id-section" class="card form-group">
<p style="color: #00ff99; text-align: center; font-family: monospace; font-size: 1.1em;">
Link ID: <code>{{ file_id }}</code>
</p>
</section>
</main>