WebsiteBench / tasks /leetcode /environment /reference /clone /templates /family_studyplan_index.html
Download tasks/leetcode/environment/reference/clone/templates/family_studyplan_index.html from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 2.2 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/leetcode/environment/reference/clone/templates/family_studyplan_index.html
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/leetcode/environment/reference/clone/templates/family_studyplan_index.html
-
curl -L -o family_studyplan_index.html https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/leetcode/environment/reference/clone/templates/family_studyplan_index.html
2.2 kB
| {% extends "family_base.html" %} | |
| {% import "_family_ui.html" as fam %} | |
| {# /studyplan/ index: the source reaches every plan from the library rail, so | |
| the clone keeps the rail and renders the captured index entries as the same | |
| bordered plan cards the detail page's Related column uses. #} | |
| {% block main %} | |
| <div class="lc-shell"> | |
| {{ fam.rail(member, 'studyplan') }} | |
| <div class="lc-body"> | |
| <header class="lc-studyindex__head"> | |
| <div> | |
| <p class="lc-dir__eyebrow">{{ eyebrow }}</p> | |
| <h1 class="lc-dir__title">{{ heading }}</h1> | |
| <p class="lc-dir__lead">{{ lead }}</p> | |
| </div> | |
| <a class="lc-studyindex__mine" href="/progress/">My Study Plan ></a> | |
| </header> | |
| <section class="lc-studyindex__section"> | |
| <h2>Featured</h2> | |
| <ul class="lc-plans lc-plans--featured"> | |
| {% for plan in plans[:4] %} | |
| <li> | |
| <a class="lc-plans__card lc-plans__card--{{ loop.index }}" href="{{ plan.href }}"> | |
| <span class="lc-plans__art" aria-hidden="true">{{ plan.label[:3]|upper }}</span> | |
| <span class="lc-plans__name">{{ plan.label }}</span> | |
| {% if plan.premium %} | |
| <span class="lc-badge">Premium on the source</span> | |
| {% elif plan.detail %} | |
| <span class="lc-badge lc-badge--plain">{{ plan.detail }}</span> | |
| {% endif %} | |
| </a> | |
| </li> | |
| {% endfor %} | |
| </ul> | |
| </section> | |
| {% for section in [ | |
| ('Introduction To', plans[4:6]), | |
| ('30 Days Challenge', plans[6:8]), | |
| ('Cracking Coding Interview', plans[8:14]), | |
| ('Sprint Interview', plans[14:]) | |
| ] %} | |
| {% if section[1] %} | |
| <section class="lc-studyindex__section"> | |
| <h2>{{ section[0] }}</h2> | |
| <ul class="lc-studyindex__rows"> | |
| {% for plan in section[1] %} | |
| <li><a href="{{ plan.href }}"><span class="lc-studyindex__mark" aria-hidden="true">{{ plan.label[:2]|upper }}</span><span><strong>{{ plan.label }}</strong><small>{{ plan.detail or 'Study plan' }}</small></span></a></li> | |
| {% endfor %} | |
| </ul> | |
| </section> | |
| {% endif %} | |
| {% endfor %} | |
| {{ fam.boundary(boundary) }} | |
| {{ fam.provenance(provenance) }} | |
| </div> | |
| </div> | |
| {% endblock %} | |