Redesign Limits & Specs section with key stats and accordion
- Show 6 key specs prominently as cards (Payload, Carrier, DCT/LSB capacity, Encryption, Error Correction) - Add Reed-Solomon error correction info with v4.1 badge - Move secondary specs to collapsible accordion - Add reedsolo to "Built with" list 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -513,58 +513,111 @@
|
|||||||
<h5 class="mb-0"><i class="bi bi-speedometer2 me-2"></i>Limits & Specs</h5>
|
<h5 class="mb-0"><i class="bi bi-speedometer2 me-2"></i>Limits & Specs</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<table class="table table-dark table-striped small">
|
<!-- Key Specs - Always Visible -->
|
||||||
<tbody>
|
<div class="row text-center mb-4">
|
||||||
<tr>
|
<div class="col-6 col-md-4 col-lg-2 mb-3">
|
||||||
<td><i class="bi bi-file-text me-2"></i>Max text</td>
|
<div class="p-3 bg-dark rounded h-100">
|
||||||
<td><strong>2M characters</strong></td>
|
<i class="bi bi-file-earmark text-primary fs-3 d-block mb-2"></i>
|
||||||
</tr>
|
<div class="small text-muted">Max Payload</div>
|
||||||
<tr>
|
<strong>{{ max_payload_kb }} KB</strong>
|
||||||
<td><i class="bi bi-file-earmark me-2"></i>Max file</td>
|
</div>
|
||||||
<td><strong>{{ max_payload_kb }} KB</strong></td>
|
</div>
|
||||||
</tr>
|
<div class="col-6 col-md-4 col-lg-2 mb-3">
|
||||||
<tr>
|
<div class="p-3 bg-dark rounded h-100">
|
||||||
<td><i class="bi bi-image me-2"></i>Max carrier</td>
|
<i class="bi bi-image text-info fs-3 d-block mb-2"></i>
|
||||||
<td><strong>24 MP</strong> (~6000x4000)</td>
|
<div class="small text-muted">Max Carrier</div>
|
||||||
</tr>
|
<strong>24 MP</strong>
|
||||||
<tr>
|
</div>
|
||||||
<td><i class="bi bi-soundwave me-2"></i>DCT capacity</td>
|
</div>
|
||||||
<td><strong>~75 KB/MP</strong></td>
|
<div class="col-6 col-md-4 col-lg-2 mb-3">
|
||||||
</tr>
|
<div class="p-3 bg-dark rounded h-100">
|
||||||
<tr>
|
<i class="bi bi-soundwave text-warning fs-3 d-block mb-2"></i>
|
||||||
<td><i class="bi bi-grid-3x3 me-2"></i>LSB capacity</td>
|
<div class="small text-muted">DCT Capacity</div>
|
||||||
<td><strong>~375 KB/MP</strong></td>
|
<strong>~75 KB/MP</strong>
|
||||||
</tr>
|
</div>
|
||||||
<tr>
|
</div>
|
||||||
<td><i class="bi bi-upload me-2"></i>Max upload</td>
|
<div class="col-6 col-md-4 col-lg-2 mb-3">
|
||||||
<td><strong>30 MB</strong></td>
|
<div class="p-3 bg-dark rounded h-100">
|
||||||
</tr>
|
<i class="bi bi-grid-3x3 text-success fs-3 d-block mb-2"></i>
|
||||||
<tr>
|
<div class="small text-muted">LSB Capacity</div>
|
||||||
<td><i class="bi bi-clock me-2"></i>File expiry</td>
|
<strong>~375 KB/MP</strong>
|
||||||
<td><strong>5 min</strong></td>
|
</div>
|
||||||
</tr>
|
</div>
|
||||||
<tr>
|
<div class="col-6 col-md-4 col-lg-2 mb-3">
|
||||||
<td><i class="bi bi-key me-2"></i>PIN</td>
|
<div class="p-3 bg-dark rounded h-100">
|
||||||
<td><strong>6-9 digits</strong></td>
|
<i class="bi bi-shield-check text-danger fs-3 d-block mb-2"></i>
|
||||||
</tr>
|
<div class="small text-muted">Encryption</div>
|
||||||
<tr>
|
<strong>AES-256</strong>
|
||||||
<td><i class="bi bi-shield me-2"></i>RSA keys</td>
|
</div>
|
||||||
<td><strong>2048, 3072, 4096 bit</strong></td>
|
</div>
|
||||||
</tr>
|
<div class="col-6 col-md-4 col-lg-2 mb-3">
|
||||||
<tr>
|
<div class="p-3 bg-dark rounded h-100">
|
||||||
<td><i class="bi bi-chat-quote me-2"></i>Passphrase</td>
|
<i class="bi bi-bandaid text-info fs-3 d-block mb-2"></i>
|
||||||
<td><strong>3-12 words</strong> (BIP-39)</td>
|
<div class="small text-muted">Error Correction</div>
|
||||||
</tr>
|
<strong>Reed-Solomon</strong>
|
||||||
<tr>
|
<span class="badge bg-info ms-1">v4.1</span>
|
||||||
<td><i class="bi bi-code me-2"></i>Python Version</td>
|
</div>
|
||||||
<td><strong>3.10-3.12</strong></td>
|
</div>
|
||||||
</tr>
|
</div>
|
||||||
<tr>
|
|
||||||
<td><i class="bi bi-box me-2"></i>Built with</td>
|
<!-- Error Correction Detail -->
|
||||||
<td>Flask, Pillow, NumPy, SciPy, jpegio, cryptography, argon2-cffi</td>
|
<div class="alert alert-info small mb-4">
|
||||||
</tr>
|
<i class="bi bi-info-circle me-2"></i>
|
||||||
</tbody>
|
<strong>Reed-Solomon Error Correction:</strong> DCT mode corrects up to 16 byte errors per 223-byte chunk.
|
||||||
</table>
|
Handles problematic carrier images with uniform areas that cause unstable DCT coefficients.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- More Specs - Accordion -->
|
||||||
|
<div class="accordion" id="specsAccordion">
|
||||||
|
<div class="accordion-item bg-dark">
|
||||||
|
<h2 class="accordion-header">
|
||||||
|
<button class="accordion-button collapsed bg-dark text-light py-2" type="button"
|
||||||
|
data-bs-toggle="collapse" data-bs-target="#moreSpecs">
|
||||||
|
<i class="bi bi-list-ul me-2"></i>More Specifications
|
||||||
|
</button>
|
||||||
|
</h2>
|
||||||
|
<div id="moreSpecs" class="accordion-collapse collapse" data-bs-parent="#specsAccordion">
|
||||||
|
<div class="accordion-body p-0">
|
||||||
|
<table class="table table-dark table-striped small mb-0">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><i class="bi bi-file-text me-2"></i>Max text</td>
|
||||||
|
<td><strong>2M characters</strong></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><i class="bi bi-upload me-2"></i>Max upload</td>
|
||||||
|
<td><strong>30 MB</strong></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><i class="bi bi-clock me-2"></i>File expiry</td>
|
||||||
|
<td><strong>5 min</strong></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><i class="bi bi-key me-2"></i>PIN</td>
|
||||||
|
<td><strong>6-9 digits</strong></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><i class="bi bi-shield me-2"></i>RSA keys</td>
|
||||||
|
<td><strong>2048, 3072, 4096 bit</strong></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><i class="bi bi-chat-quote me-2"></i>Passphrase</td>
|
||||||
|
<td><strong>3-12 words</strong> (BIP-39)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><i class="bi bi-code me-2"></i>Python Version</td>
|
||||||
|
<td><strong>3.10-3.12</strong></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><i class="bi bi-box me-2"></i>Built with</td>
|
||||||
|
<td>Flask, Pillow, NumPy, SciPy, jpegio, reedsolo, cryptography, argon2-cffi</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user