AgPerry's picture
Add files using upload-large-folder tool
7f8e190 verified
Raw History Blame Contribute Delete
1.64 kB
{% extends "family_base.html" %}
{% import "_family_ui.html" as fam %}
{# /u/<handle>/.
user-public-desktop: a 296px identity column (avatar, name, handle, links)
beside a stack of stat cards. The clone keeps that composition but fills the
cards with what the capture actually recorded — never with a stranger's
solved counts, badges or streaks. #}
{% block main %}
<div class="lc-profile">
<section class="lc-profile__id">
<p class="lc-profile__avatar" aria-hidden="true">{{ initial }}</p>
<h1 class="lc-profile__name">{{ heading }}</h1>
<p class="lc-profile__handle">{{ lead }}</p>
<a class="lc-btn lc-btn--ghost" href="/discuss/">View Discuss</a>
<ul class="lc-profile__links">
{% for entry in captured_profiles %}
<li><a href="{{ entry.href }}">{{ entry.label }}</a></li>
{% endfor %}
</ul>
</section>
<div class="lc-profile__cards">
<section class="lc-profile__card">
<h2 class="lc-profile__cardtitle">{{ card_title }}</h2>
{% if captured_text %}
<blockquote class="lc-source">{{ captured_text }}</blockquote>
{% else %}
<p class="lc-note">{{ card_body }}</p>
{% endif %}
</section>
<section class="lc-profile__card">
<h2 class="lc-profile__cardtitle">Your own progress</h2>
<p class="lc-note">{{ own_progress }}</p>
<p class="lc-article__links">
<a href="/progress/">Progress</a>
<a href="/submissions/">Submissions</a>
<a href="/problemset/">Problems</a>
</p>
</section>
{{ fam.boundary(boundary) }}
{{ fam.provenance(provenance) }}
</div>
</div>
{% endblock %}