begin take action page
This commit is contained in:
1 parent
e3e291b8cf
commit
1c38a7bdb0
75 files changed
+496
-1
No files matched your search
@@ -0,0 +1,36 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<header class="page-intro wide">
|
||||
<h2>Take Action</h2>
|
||||
<p class="lead">Find out who represents you and how to reach them, from the governor’s office to your county courthouse.</p>
|
||||
</header>
|
||||
|
||||
<section class="wide" aria-labelledby="state-heading">
|
||||
<h3 id="state-heading">Statewide</h3>
|
||||
{% if state.officials %}
|
||||
<ul class="official-list">
|
||||
{% for o in state.officials %}
|
||||
<li>
|
||||
<strong>{{ o.role }}</strong>
|
||||
{% if o.name %}<br>{{ o.name }}{% endif %}
|
||||
{% if o.phone %}<br>{{ o.phone }}{% endif %}
|
||||
{% if o.url %}<br><a href="{{ o.url }}">Official website</a>{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if state.updated %}<p><em>Last checked: {{ state.updated }}</em></p>{% endif %}
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
<section class="wide" aria-labelledby="counties-heading">
|
||||
<h3 id="counties-heading">Find your county</h3>
|
||||
{% if map_svg %}
|
||||
<div class="county-map">{{ map_svg|safe }}</div>
|
||||
{% endif %}
|
||||
<ul class="county-grid">
|
||||
{% for c in counties %}
|
||||
<li><a href="{{ c.url }}">{{ c.name }} County</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user