requete_sorties.html
29 lignes · 2551 octets
{# E024-C6 à E024-C9 Sorties du constructeur, toutes produites par le serveur depuis le même filtre ; E024-C13 état vide. #} {% import "components/code.html" as c %} {% if let Some(s) = sorties %} {% if hors_constructeur %} <p class="border-l-4 border-l-info bg-info-bg p-md text-sm text-foreground" role="note">Ce filtre est valide, mais le constructeur ne sait pas le représenter en conditions (sous-chaîne à plusieurs morceaux, option « :dn », groupe vide…) : il est expliqué et traduit ici, et reste modifiable dans « Coller ou saisir un filtre ».</p> {% endif %} <section class="flex flex-col gap-xs" aria-labelledby="titre-sortie-filtre"> <h3 id="titre-sortie-filtre" class="text-base text-foreground">Filtre RFC 4515</h3> {% call c::code("sortie-filtre", s.filtre, "le filtre") %}{% endcall %} {% if dates_relatives %}<p class="text-sm text-muted-foreground">Dates calculées en UTC au moment de la génération : le filtre copié vieillit.</p>{% endif %} </section> <section class="flex flex-col gap-xs" aria-labelledby="titre-sortie-ldapsearch"> <h3 id="titre-sortie-ldapsearch" class="text-base text-foreground">Commande <code class="font-mono">ldapsearch</code></h3> {% call c::code("sortie-ldapsearch", s.ldapsearch, "la commande ldapsearch") %}{% endcall %} <ul class="flex flex-col gap-xxs text-sm text-muted-foreground">{% for n in s.notes_ldapsearch %}<li>{{ n }}</li>{% endfor %}</ul> </section> <section class="flex flex-col gap-xs" aria-labelledby="titre-sortie-powershell"> <h3 id="titre-sortie-powershell" class="text-base text-foreground">Équivalent PowerShell (Active Directory)</h3> {% call c::code("sortie-powershell", s.powershell, "la commande PowerShell") %}{% endcall %} {% if !s.notes_ad.is_empty() %}<ul class="flex flex-col gap-xxs text-sm text-muted-foreground">{% for n in s.notes_ad %}<li>{{ n }}</li>{% endfor %}</ul>{% endif %} </section> <section class="flex flex-col gap-xs" aria-labelledby="titre-sortie-explication"> <h3 id="titre-sortie-explication" class="text-base text-foreground">Explication</h3> <ul class="flex flex-col gap-xs rounded-sm bg-muted p-md text-sm text-foreground">{{ s.explication|safe }}</ul> </section> {% else %} <p class="rounded-sm bg-muted p-huge text-base text-foreground">Ajoutez une condition, collez un filtre existant pour le faire expliquer, ou partez d'une <a href="/aide/ldap/recettes" class="text-primary underline underline-offset-4">recette</a>.</p> {% endif %} {% if oob %}<div id="erreurs-requete" hx-swap-oob="true"></div>{% endif %}
GitRust