diff --git a/design_system_admin/404.html b/design_system_admin/404.html index d4924d152edfe8e5ba02853cdd90e20714d028ad..b97ff3dd2b26822b7d781caf85c612634fc527fe 100644 --- a/design_system_admin/404.html +++ b/design_system_admin/404.html @@ -20,7 +20,7 @@ </div> <div class="fr-col-12 fr-col-md-4"> - <img src="#CHEMIN{IMG/png/error_img.png}" width="308" alt="""> + <img src="/plugins-dist/z-dsfr/design_system_admin/prive/themes/spip/images/error_img.png" width="308" alt=""> </div> <a href="/" class="fr-btn fr-btn--secondary">Page d'accueil <span class="maison fr-icon-home-4-fill"></span></a> <a href="#CONFIG_VALUE{form_contact}" class="fr-btn fr-btn--secondary">Nous contacter<span class="maison fr-icon-mail-line"></span></a> diff --git a/design_system_admin/css/plugin-dse.css b/design_system_admin/css/plugin-dse.css index 48da822112a61197cc7342127d296b6e4157359b..5c6386b2b2303c8a4107c804ed8f3dc87072770a 100644 --- a/design_system_admin/css/plugin-dse.css +++ b/design_system_admin/css/plugin-dse.css @@ -177,7 +177,7 @@ right: 2rem; #informations-footer a, .fr-footer__bottom-copy a{ font-size: 0.8rem; } -.fr-footer__bottom-copy * { +.fr-footer__bottom-copy *, .strong { font-weight: bold; } .external_link::after { @@ -667,10 +667,4 @@ background-size: var(--underline-hover-width) 0.125em, var(--underline-idle-widt .fr-header__operator{ max-width: 11rem; -} -.prev [rel="prev"]::before{ - content:"< "; -} -.next [rel="next"]::after{ - content:" >"; } \ No newline at end of file diff --git a/design_system_admin/inclure/header.html b/design_system_admin/inclure/header.html index 33e70f915e99331e2ab67138bfcd4ef234b95a71..a7ebdcd79d1f86700c4802b66aea4ea1b973b08b 100644 --- a/design_system_admin/inclure/header.html +++ b/design_system_admin/inclure/header.html @@ -33,7 +33,7 @@ <BOUCLE_second_logo(CONDITION){si #CONFIG_VALUE{_masquer_logo_secondaire}|=={non}|oui}> <BOUCLE_type_image(CONDITION){si #CONFIG_VALUE{type_insertion_second_logo}|=={fichier}|oui}> <a class="fr-header__operator" href="#URL_SITE_SPIP" title="Retour à la page d'accueil"> - <img src="#CONFIG_VALUE{second_logo_upload}" alt="logo secondaire" style="max-width:9.0625rem;"/> + <img src="#CONFIG_VALUE{second_logo_upload}" alt="logo secondaire" style="max-height:7.25rem;"/> </a> </BOUCLE_type_image> <a class="fr-header__operator" href="#URL_SITE_SPIP" title="Retour à la page d'accueil">#CONFIG_VALUE{second_logo_upload}</a> @@ -98,18 +98,23 @@ </BOUCLE_masquer_liste_acces_rapide> </div> <BOUCLE_masquer_recherche(CONDITION){si #CONFIG_VALUE{_masquer_recherche}|=={non}|oui}> - <div class="fr-header__search fr-modal" id="modal-400" data-fr-js-modal="true" data-fr-js-header-modal="true"> + + <div class="fr-header__search fr-modal" id="modal-2397" aria-labelledby="button-2398"> <div class="fr-container fr-container-lg--fluid"> - <button class="fr-link--close fr-link" aria-controls="modal-400" data-fr-js-modal-button="true">Fermer</button> + <button class="fr-btn--close fr-btn" aria-controls="modal-2397" id="button-2405" title="Fermer"> + Fermer + </button> <form action="#SELF" method="get"> - <div class="fr-search-bar" id="search-399" role="search"> - <label class="fr-label" for="search-399-input"> + <div class="fr-search-bar" id="search-2396" role="search"> + <label class="fr-label" for="search-2396-input"> Rechercher </label> + <input class="fr-input" aria-describedby="search-2396-input-messages" placeholder="Rechercher" id="search-2396-input" type="search" name="recherche"> <input type="hidden" name="page" value="recherche"> <input type="hidden" name="lang" value="fr"> - <input class="fr-input" title="Rechercher" placeholder="Rechercher" type="search" id="search-399-input" name="recherche"> - <button class="fr-btn" title="Rechercher"> + <div class="fr-messages-group" id="search-2396-input-messages" aria-live="polite"> + </div> + <button class="fr-btn" id="search-btn-2407" title="Rechercher"> Rechercher </button> </div> diff --git a/design_system_admin/mes_options.php b/design_system_admin/mes_options.php index acea3a794732b6bf9446e311b2709654f2486008..3a4298ad63c08635393f374eeb1c62df03e64183 100644 --- a/design_system_admin/mes_options.php +++ b/design_system_admin/mes_options.php @@ -9,7 +9,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { return; } -define('_SPIP_DEBUG', true); +define('_SPIP_DEBUG', false); // configuration des composants du plugin // définir la position des composants de commandes diff --git a/design_system_admin/recherche.html b/design_system_admin/recherche.html index d1cdc7329c10546679df139cfa6aa007e20d796d..e8c881093227557e9c65517e493d1ebdb6400b1c 100644 --- a/design_system_admin/recherche.html +++ b/design_system_admin/recherche.html @@ -28,14 +28,15 @@ </form> </div> </div> + #SET{nbrresultats, 0} <ul style="list-style: none;"><li> <B_search> - <h2>il y a #TOTAL_BOUCLE [réponse(#GRAND_TOTAL|singulier_ou_pluriel{' ', s})] à votre demande</h2> + #SET{nbrresultats, #TOTAL_BOUCLE} + <h2>il y a #GET{nbrresultats} [réponse(#GRAND_TOTAL|singulier_ou_pluriel{' ', s})] à votre demande</h2> <BOUCLE_search(ARTICLES){recherche}> #REM </BOUCLE_search> </B_search> </li><li style="text-align: end;">Nombre de résultats par page : #CONFIG_VALUE{elements_recherche}</li></ul> - <B_recherche> - + <B_recherche> <ul class="recherche-article"> <li> @@ -73,6 +74,19 @@ </div> </li> </B_recherche> + <div class="noresult fr-mt-3v"> + <span class="fr-icon-search-line" aria-hidden="true"></span> <span class="strong">Aucun résultat</span> + <div class="msg_noresult fr-mt-3v"> + <p>Nous sommes désolés, mais votre recherche n'a donné aucun résultat. Voici quelques suggestions pour améliorer votre recherche :</p> + <ul> + <li><span class="strong">Vérifiez l'orthographe</span> : Assurez-vous que tous les mots sont correctement orthographiés.</li> + <li><span class="strong">Utilisez des mots-clés différents</span> : Essayez avec des termes différents ou plus généraux.</li> + <li><span class="strong">Éliminez les filtres</span> : Si vous avez appliqué des filtres de recherche, essayez de les enlever pour élargir votre recherche.</li> + <li><span class="strong">Élargissez la zone géographique</span> : Si votre recherche est limitée à une certaine région, essayez d'élargir la zone.</li> + </ul> + <p>Vous pouvez également revenir à la page d'accueil ou parcourir les différentes catégories pour trouver ce que vous cherchez.</p> + </div> + <//B_recherche> </div> </div>