2026-03-18 12:49:28 +01:00
|
|
|
<result-list>
|
2026-03-31 17:55:55 +02:00
|
|
|
<div>
|
|
|
|
|
<div if={ props.results.length === 0 && props.hasSearched && !props.loading }>
|
2026-03-18 12:49:28 +01:00
|
|
|
Aucun résultat trouvé
|
|
|
|
|
</div>
|
|
|
|
|
|
2026-03-31 17:55:55 +02:00
|
|
|
<div if={ props.loading }>
|
2026-03-18 12:49:28 +01:00
|
|
|
Chargement...
|
|
|
|
|
</div>
|
|
|
|
|
|
2026-03-31 17:57:31 +02:00
|
|
|
<div each={ (f, i) in props.results } key={ f.id } style="border:1px solid #ccc; padding:10px; margin:10px;">
|
2026-03-31 17:55:55 +02:00
|
|
|
<h3>{ f.nom }</h3>
|
|
|
|
|
<p><b>Établissement :</b> { f.etablissement }</p>
|
|
|
|
|
<p><b>Ville :</b> { f.ville } ({ f.departement })</p>
|
|
|
|
|
<p><b>Filière :</b> { f.filiere }</p>
|
|
|
|
|
<p><b>Taux d'accès :</b> { f.tauxAcces }%</p>
|
|
|
|
|
<button onclick={ () => props.ondetail(i) }>Voir détail</button>
|
2026-03-18 12:49:28 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-03-31 17:55:55 +02:00
|
|
|
</result-list>
|