File size: 1,516 Bytes
7f8e190 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | {% extends "family_base.html" %}
{% import "_family_ui.html" as fam %}
{# /support/ and /hc/en-us.
support-desktop: the help centre runs its own chrome — a slate band crossed
by faint hairlines with a single white pill search field, then a 3-column
grid of square-cornered outlined category cards and a two-column
"Promoted articles" list separated by hairlines. #}
{% block main %}
<div class="lc-hc__band">
<h1 class="visually-hidden">{{ heading }}</h1>
<form class="lc-hc__search" method="get" action="/support/">
<span class="visually-hidden">Search the Help Center</span>
{{ fam.icon_search(18) }}
<input type="search" name="q" placeholder="Search" value="{{ query|default('') }}" autocomplete="off">
</form>
</div>
<div class="lc-hc__body">
<ul class="lc-hc__grid">
{% for category in categories %}
<li><a class="lc-hc__cat" href="{{ category.href }}">{{ category.label }}</a></li>
{% endfor %}
</ul>
<h2 class="lc-hc__title">Promoted articles</h2>
<ul class="lc-hc__articles">
{% for article in articles %}
<li>
{% if article.href %}<a href="{{ article.href }}">{{ article.label }}</a>
{% else %}<span>{{ article.label }}</span>{% endif %}
</li>
{% endfor %}
</ul>
{% if captured_text %}
<p class="lc-note">Captured page text, reproduced verbatim:</p>
<blockquote class="lc-source">{{ captured_text }}</blockquote>
{% endif %}
{{ fam.boundary(boundary) }}
{{ fam.provenance(provenance) }}
</div>
{% endblock %}
|