AgPerry's picture
Add files using upload-large-folder tool
7f8e190 verified
Raw History Blame Contribute Delete
1.52 kB
{% 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 %}