AgPerry's picture
Add files using upload-large-folder tool
7f8e190 verified
Raw History Blame Contribute Delete
1.86 kB
{% extends "family_base.html" %}
{% import "_family_ui.html" as fam %}
{# /company/ and /problem-list/: the source reaches these collections from the
library rail, so the clone keeps the rail and lays the captured entries out
as a searchable card grid instead of one long bullet list. #}
{% block main %}
<div class="lc-shell">
{{ fam.rail(member, rail_active|default('library')) }}
<div class="lc-body">
<header class="lc-dir__head">
{% if eyebrow %}<p class="lc-dir__eyebrow">{{ eyebrow }}</p>{% endif %}
<h1 class="lc-dir__title">{{ heading }}</h1>
{% if lead %}<p class="lc-dir__lead">{{ lead }}</p>{% endif %}
{{ fam.stats(stats) }}
</header>
<form class="lc-panel__controls" method="get" action="{{ search_action }}">
<label class="lc-search">
<span class="visually-hidden">Filter this list</span>
{{ fam.icon_search() }}
<input type="search" name="q" placeholder="{{ search_placeholder|default('Search') }}" value="{{ query|default('') }}" autocomplete="off">
</label>
<button class="lc-chip" type="submit">Search</button>
</form>
{% if rows %}
<ul class="lc-dir__grid">
{% for row in rows %}
<li class="lc-dir__row">
<a href="{{ row.href }}">
<span>{{ row.label }}</span>
{% if row.meta %}<span class="lc-dir__meta">{{ row.meta }}</span>{% endif %}
</a>
</li>
{% endfor %}
</ul>
{% else %}
<p class="lc-empty">Nothing in the captured index matches that search.</p>
{% endif %}
{% if pager %}
<nav class="lc-pager" aria-label="Pages">
{% for link in pager %}
<a href="{{ link.href }}">{{ link.label }}</a>
{% endfor %}
</nav>
{% endif %}
{{ fam.boundary(boundary) }}
{{ fam.provenance(provenance) }}
</div>
</div>
{% endblock %}