diff --git a/includes/artisans.php b/includes/artisans.php index 07e9516..231e55d 100644 --- a/includes/artisans.php +++ b/includes/artisans.php @@ -119,7 +119,8 @@ function render_custom_chantier_box_content($post) } echo ''; } else { - echo '
Aucun chantier pour cette entreprise.
'; + echo 'Aucun chantier pour cette entreprise
'; + echo 'Ajouter un chantier'; } } diff --git a/resources/css/admin-style.css b/resources/css/admin-style.css index e43d3df..7443f24 100644 --- a/resources/css/admin-style.css +++ b/resources/css/admin-style.css @@ -248,10 +248,11 @@ body.post-type-artisans { } #admin_artisan_chantier_list { + @apply border border-solid border-neutral-300; h3 { @apply font-medium; } - border: 0 none; + background: rgba(0, 0, 0, 0); box-shadow: none; > .postbox-header { @@ -265,6 +266,14 @@ body.post-type-artisans { @apply w-6 h-6 object-contain filter-patrimoine-sante-securite; } } + + .no-results { + @apply text-sm text-neutral-400; + } + + .new-chantier { + @apply bg-patrimoine-sante-securite text-white py-2 px-4 no-underline rounded-full mb-4 block w-fit; + } } .edit-fiche-artisan-link {