foundryvtt-reve-de-dragon/templates/tirage/fenetre-recherche-tirage.hbs

74 lines
2.6 KiB
Handlebars
Raw Normal View History

2023-01-13 04:54:29 +01:00
<div class="fenetre-recherche">
<div>
2023-01-15 23:30:32 +01:00
<span><a class="supprimer-filtres chat-card-button">Effacer les filtres</a></span>
2023-01-13 04:54:29 +01:00
<span><a class="recherche-filtres chat-card-button">Appliquer les filtres</a></span>
<span><a class="tirage-filtres chat-card-button">Tirage aléatoire</a></span>
2023-01-15 23:30:32 +01:00
<br>
2023-01-13 04:54:29 +01:00
<span class="liste-filtres-actifs"></span>
</div>
<hr>
<div class="zone-recherche">
2023-01-13 04:54:29 +01:00
<div class="filtres">
<div class="titre-resultats-recherche">
2023-01-13 04:54:29 +01:00
<h3>Filtres</h3>
</div>
<div class="section-filters-text">
<h4>
<input class="recherche flex-grow" type="text" value="{{options.recherche.text}}" name="recherche" size="8" data-dtype="String" placeholder=""/>
</h4>
</div>
<div class="section-filters-root">
<h4>
<a class="section-filters-toggle">Milieux
<span class="item-controls">
<i class="section-filters-show fa-solid fa-chevrons-down"></i>
<i class="section-filters-hide fa-solid fa-chevrons-up"></i>
</span>
</a>
</h4>
<div class="flexcol section-filters-content">
{{#each filterMilieux as |filter|}}
<div class="flexrow">
<input type="checkbox" class="activate-filter-milieu" name="milieu-{{filter.code}}" data-code="{{filter.code}}"/>
<label for="milieu-{{filter.code}}">{{filter.label}}</label>
</div>
{{/each}}
</div>
</div>
2023-01-13 04:54:29 +01:00
{{#each filterGroups as |group|}}
<div class="section-filters-root" data-group="{{group.group}}" >
<h4><a class="section-filters-toggle" >{{group.label}}
2023-01-13 04:54:29 +01:00
<span class="item-controls">
<i class="section-filters-show fa-solid fa-chevrons-down"></i>
<i class="section-filters-hide fa-solid fa-chevrons-up"></i>
2023-01-13 04:54:29 +01:00
</span>
</a>
</h4>
<div class="flexcol section-filters-content">
2023-01-13 04:54:29 +01:00
{{#each group.filters as |filter|}}
<div class="flexrow">
<input type="checkbox" class="activate-filter-group" name="{{filter.group}}-{{filter.code}}"
2023-01-13 04:54:29 +01:00
data-group="{{filter.group}}" data-code="{{filter.code}}"/>
<label for="{{filter.group}}-{{filter.code}}">{{filter.label}}</label>
</div>
{{/each}}
</div>
</div>
{{/each}}
<div class="flex-grow"></div>
</div>
<div class="vl"></div>
<div class="resultats">
<div class="titre-resultats-recherche">
<h3>Résultat de recherche</h3>
2023-01-13 04:54:29 +01:00
</div>
<div class="liste-resultats-recherche">
2023-01-13 04:54:29 +01:00
</div>
</div>
</div>
{{!--
--}}
</form>