Download tasks/leetcode/environment/reference/clone/templates/family_explore.html from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 2.68 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/leetcode/environment/reference/clone/templates/family_explore.html
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/leetcode/environment/reference/clone/templates/family_explore.html
-
curl -L -o family_explore.html https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/leetcode/environment/reference/clone/templates/family_explore.html
2.68 kB
| {% extends "family_base.html" %} | |
| {% import "_family_ui.html" as fam %} | |
| {# Explore index and its section pages. | |
| explore-desktop: library rail plus rows of gradient card tiles, each tile | |
| captioned in white over the art with a Chapters / Items / progress footer | |
| below it. The mobile capture drops the rail and stacks the same tiles. #} | |
| {% block main %} | |
| <div class="lc-shell"> | |
| {{ fam.rail(member, 'explore') }} | |
| <div class="lc-body"> | |
| <header class="lc-dir__head"> | |
| <p class="lc-dir__eyebrow">{{ eyebrow }}</p> | |
| <h1 class="lc-dir__title">{{ heading }}</h1> | |
| <p class="lc-dir__lead">{{ lead }}</p> | |
| </header> | |
| <section class="lc-explore__section"> | |
| <div class="lc-explore__head"> | |
| <h2 class="lc-explore__title">{{ cards_title }}</h2> | |
| <a class="lc-explore__more" href="/explore/">All sections</a> | |
| </div> | |
| {% if cards %} | |
| <ul class="lc-cards"> | |
| {% for card in cards %} | |
| <li class="lc-card"> | |
| {% if card.locked %}<span class="lc-card__lock">Premium</span>{% endif %} | |
| {% if card.href %} | |
| <a class="lc-card__art lc-card__art--{{ card.tint }}" href="{{ card.href }}"> | |
| <span class="lc-card__caption">{{ card.caption }}</span> | |
| </a> | |
| {% else %} | |
| <span class="lc-card__art lc-card__art--{{ card.tint }}"> | |
| <span class="lc-card__caption">{{ card.caption }}</span> | |
| </span> | |
| {% endif %} | |
| <p class="lc-card__foot"> | |
| {% if card.chapters is not none %}<span><span class="lc-card__figure">{{ card.chapters }}</span> Chapters</span>{% endif %} | |
| {% if card["items"] is not none %}<span><span class="lc-card__figure">{{ card["items"] }}</span> Items</span>{% endif %} | |
| {% if card.locked %}<span>Locked</span>{% endif %} | |
| </p> | |
| {% if not card.href %} | |
| <p class="lc-card__boundary">No local page: the capture recorded this card in the index only.</p> | |
| {% endif %} | |
| </li> | |
| {% endfor %} | |
| </ul> | |
| {% else %} | |
| <p class="lc-empty">{{ empty }}</p> | |
| {% endif %} | |
| </section> | |
| <section class="lc-explore__section"> | |
| <div class="lc-explore__head"> | |
| <h2 class="lc-explore__title">Explore sections</h2> | |
| </div> | |
| <ul class="lc-dir__grid"> | |
| {% for entry in sections %} | |
| <li class="lc-dir__row"> | |
| <a href="{{ entry.href }}"><span>{{ entry.title }}</span><span class="lc-dir__meta">{{ entry.href }}</span></a> | |
| </li> | |
| {% endfor %} | |
| </ul> | |
| </section> | |
| {{ fam.boundary(boundary) }} | |
| {{ fam.provenance(provenance) }} | |
| </div> | |
| </div> | |
| {% endblock %} | |