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 %}
|
||||
@@ -0,0 +1,29 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<nav class="breadcrumb" aria-label="Breadcrumb">
|
||||
<a href="/act/">Take Action</a> › {{ county.name }} County
|
||||
</nav>
|
||||
|
||||
<h2>{{ county.name }} County</h2>
|
||||
<p class="lead">{{ county.region }} Alabama</p>
|
||||
|
||||
<section aria-labelledby="about-heading">
|
||||
<h3 id="about-heading">About the county</h3>
|
||||
<p>Coming soon.</p>
|
||||
</section>
|
||||
|
||||
<section aria-labelledby="reps-heading">
|
||||
<h3 id="reps-heading">Who represents you</h3>
|
||||
<p>Coming soon.</p>
|
||||
</section>
|
||||
|
||||
<section aria-labelledby="groups-heading">
|
||||
<h3 id="groups-heading">Local chapters and groups</h3>
|
||||
<p>Coming soon.</p>
|
||||
</section>
|
||||
|
||||
<section aria-labelledby="news-heading">
|
||||
<h3 id="news-heading">News and events</h3>
|
||||
<p>Coming soon.</p>
|
||||
</section>
|
||||
{% endblock %}
|
||||
@@ -5,7 +5,7 @@
|
||||
</div>
|
||||
<nav aria-label="Main">
|
||||
{% for label, href in nav %}
|
||||
<a href="{{ href }}" {% if href==url %} aria-current="page" {% endif %}>{{ label }}</a>
|
||||
<a href="{{ href }}" {% if href==url or (href !="/" and url.startswith(href)) %} aria-current="page" {% endif %}>{{ label }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
</header>
|
||||
Reference in new issue
Block a user