add templates/archive.html

This commit is contained in:
Jarian Cottingham 2026-08-19 21:18:32 -05:00
parent fde7f19330
commit 3046fac4e8

26
templates/archive.html Normal file
View File

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ ticker }} - Archive Status</title>
<style>
body { font-family: Georgia, serif; font-size: 18px; max-width: 600px; margin: 0 auto; padding: 20px; }
h1 { font-size: 1.4em; }
.back { font-size: 0.85em; }
.stats { margin: 20px 0; padding: 15px; background: #f5f5f5; }
.ok { color: #080; }
.err { color: #c00; }
</style>
</head>
<body>
<p class="back"><a href="/{{ ticker }}">&larr; Back to {{ ticker }}</a> | <a href="/">All companies</a></p>
<h1>Archive Status</h1>
<div class="stats">
<p class="ok">{{ archived }} of {{ total }} filings archived</p>
{% if failed > 0 %}
<p class="err">{{ failed }} failed (SEC may have rate-limited)</p>
{% endif %}
</div>
<p>Files saved to local cache for offline reading.</p>
</body>
</html>