add templates/more.html
This commit is contained in:
parent
1866cf48ee
commit
7fd9517a14
33
templates/more.html
Normal file
33
templates/more.html
Normal file
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ ticker }} - More Filings</title>
|
||||
<style>
|
||||
body { font-family: Georgia, serif; font-size: 18px; max-width: 600px; margin: 0 auto; padding: 20px; }
|
||||
h1 { font-size: 1.4em; }
|
||||
ul { list-style: none; padding: 0; }
|
||||
li { padding: 8px 0; border-bottom: 1px solid #ccc; }
|
||||
a { color: #000; }
|
||||
small { color: #555; }
|
||||
.back { font-size: 0.85em; }
|
||||
.form-tag { display: inline-block; padding: 1px 5px; font-size: 0.75em; margin-left: 5px; }
|
||||
.form-10k { background: #000; color: #fff; }
|
||||
.form-10q { background: #666; color: #fff; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="back"><a href="/{{ ticker }}?form={{ form_filter }}">← Back to filings</a> | <a href="/">All companies</a></p>
|
||||
<h1>{{ ticker }} - More Filings</h1>
|
||||
<ul>
|
||||
{% for f in filings %}
|
||||
<li>
|
||||
<a href="{{ f.sec_url }}" target="_blank">{{ f.filing_date }}</a>
|
||||
<span class="form-tag {% if f.form == '10-K' %}form-10k{% else %}form-10q{% endif %}">{{ f.form }}</span>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>No more filings.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user