onglets.html
11 lignes · 1159 octets
{# C-030 Navigation de l'aide LDAP (design.md : tabs). Variable `onglet` : guide, constructeur ou recettes. #} <nav aria-label="Aide LDAP" class="border-b border-border"> <ul class="flex flex-wrap gap-x-xl text-sm"> <li><a href="/aide/ldap"{% if onglet == "guide" %} aria-current="page"{% endif %} class="-mb-px inline-block border-b-2 py-sm {% if onglet == "guide" %}border-ink text-foreground{% else %}border-transparent text-muted-foreground hover:text-foreground{% endif %}">Guide</a></li> <li><a href="/aide/ldap/requete"{% if onglet == "constructeur" %} aria-current="page"{% endif %} class="-mb-px inline-block border-b-2 py-sm {% if onglet == "constructeur" %}border-ink text-foreground{% else %}border-transparent text-muted-foreground hover:text-foreground{% endif %}">Constructeur</a></li> <li><a href="/aide/ldap/recettes"{% if onglet == "recettes" %} aria-current="page"{% endif %} class="-mb-px inline-block border-b-2 py-sm {% if onglet == "recettes" %}border-ink text-foreground{% else %}border-transparent text-muted-foreground hover:text-foreground{% endif %}">Recettes</a></li> </ul> </nav>
GitRust