36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
{% 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 %} |