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; margin-bottom: 25px;
} }
/* Pickup page sections */
#pickup-section {
margin-bottom: 25px;
}
#security-notice-section {
margin-bottom: 25px;
}
/* ===== File Input Section ===== */ /* ===== File Input Section ===== */
#encoding-section #file-section { #encoding-section #file-section {
display: none; display: none;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1006 KiB

After

Width:  |  Height:  |  Size: 78 KiB

+50 -20
View File
@@ -3,33 +3,33 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="PacCrypt - File Pickup" /> <meta name="description" content="PacCrypt - Secure file pickup and decryption" />
<title>Pickup File - PacCrypt</title> <title>PacCrypt - Secure File Pickup</title>
<!-- Favicon --> <!-- 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 --> <!-- 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 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> </head>
<body class="dark"> <body class="dark">
<!-- Header --> <!-- Header -->
<header class="card"> <header class="card">
<h1>PacCrypt Pickup</h1> <h1>PacCrypt</h1>
<p>Enter passwords to retrieve your file</p> <p>Secure File Pickup and Decryption</p>
</header> </header>
<!-- Main Content --> <!-- Main Content -->
<main> <main>
<!-- Pickup Form Section --> <!-- File Pickup Section -->
<section class="card form-group"> <section id="pickup-section" class="card form-group">
<h2>🔐 Decrypt and Download</h2> <h2>🔐 File Pickup</h2>
<!-- Flash Messages --> <!-- Flash Messages -->
{% with messages = get_flashed_messages() %} {% with messages = get_flashed_messages() %}
{% if messages %} {% if messages %}
<ul style="color: red;"> <ul style="color: lime; list-style: none; padding-left: 0;">
{% for message in messages %} {% for message in messages %}
<li>{{ message }}</li> <li>{{ message }}</li>
{% endfor %} {% endfor %}
@@ -37,19 +37,49 @@
{% endif %} {% endif %}
{% endwith %} {% endwith %}
<!-- File Info -->
<div class="form-group">
<p style="color: #00ff99; margin-bottom: 15px;">File ID: <code>{{ file_id }}</code></p>
</div>
<!-- Pickup Form --> <!-- Pickup Form -->
<form method="POST" class="pickup-form"> <form method="POST" class="form-group">
<input type="password" name="pickup_password" placeholder="Pickup Password" required autocomplete="off" /> <div class="form-group">
<input type="password" name="enc_password" placeholder="Encryption Password" required autocomplete="off" /> <input type="password"
<div class="button-group mt-3"> name="pickup_password"
<button type="submit" class="download-btn">📥 Decrypt and Download</button> 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> </div>
</form> </form>
</section> </section>
<!-- File ID Section --> <!-- Security Notice Section -->
<section class="card form-group"> <section id="security-notice-section" class="card form-group">
<p style="font-size: 0.9em; color: gray;">Link ID: <code>{{ file_id }}</code></p> <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> </section>
</main> </main>