Skip to content
Snippets Groups Projects
Commit f9d3d3cf authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajustement css des boutons

parent b1f52f8f
No related branches found
No related tags found
No related merge requests found
Pipeline #30177 failed
...@@ -34,7 +34,7 @@ if ($selection !== null) $categories = [ $selection ]; ...@@ -34,7 +34,7 @@ if ($selection !== null) $categories = [ $selection ];
<a <a
<?php /** @see \UnicaenParametre\Controller\CategorieController::ajouterAction() */ ?> <?php /** @see \UnicaenParametre\Controller\CategorieController::ajouterAction() */ ?>
href="<?php echo $this->url('parametre/categorie/ajouter', ['categorie' => -1], [], true); ?>" href="<?php echo $this->url('parametre/categorie/ajouter', ['categorie' => -1], [], true); ?>"
class="btn btn-primary action ajax-modal" data-event="modification"> class="btn btn-primary ajax-modal" data-event="modification">
<i class="fas fa-plus"></i> Ajouter une catégorie <i class="fas fa-plus"></i> Ajouter une catégorie
</a> </a>
<?php endif; ?> <?php endif; ?>
...@@ -52,17 +52,17 @@ if ($selection !== null) $categories = [ $selection ]; ...@@ -52,17 +52,17 @@ if ($selection !== null) $categories = [ $selection ];
<?php if ($selection === null) : ?> <?php if ($selection === null) : ?>
<a <?php /** @see \UnicaenParametre\Controller\CategorieController::modifierAction() */?> <a <?php /** @see \UnicaenParametre\Controller\CategorieController::modifierAction() */?>
href="<?php echo $this->url('parametre/categorie/modifier', ['categorie' => $categorie->getId()], [], true); ?>" href="<?php echo $this->url('parametre/categorie/modifier', ['categorie' => $categorie->getId()], [], true); ?>"
class="btn btn-primary action ajax-modal" data-event="modification"> class="btn btn-primary ajax-modal" data-event="modification">
<i class="fas fa-pencil-alt"></i> Modifier la catégorie <i class="fas fa-pencil-alt"></i> Modifier la catégorie
</a> </a>
<?php if (!isset($array_parametre[$id]) OR empty ($array_parametre[$id])) : ?> <?php if (!isset($array_parametre[$id]) OR empty ($array_parametre[$id])) : ?>
<a <?php /** @see \UnicaenParametre\Controller\CategorieController::supprimerAction() */?> <a <?php /** @see \UnicaenParametre\Controller\CategorieController::supprimerAction() */?>
href="<?php echo $this->url('parametre/categorie/supprimer', ['categorie' => $categorie->getId()], [], true); ?>" href="<?php echo $this->url('parametre/categorie/supprimer', ['categorie' => $categorie->getId()], [], true); ?>"
class="btn btn-danger action ajax-modal" data-event="modification"> class="btn btn-danger ajax-modal" data-event="modification">
<i class="fas fa-times"></i> Supprimer la catégorie <i class="fas fa-times"></i> Supprimer la catégorie
</a> </a>
<?php else : ?> <?php else : ?>
<span class="btn btn-danger action disabled" data-bs-toggle="tooltip" data-bs-html="true" <span class="btn btn-danger disabled" data-bs-toggle="tooltip" data-bs-html="true"
title="La catégorie est non vide et ne peut être supprimée" title="La catégorie est non vide et ne peut être supprimée"
> >
<i class="fas fa-times"></i> Supprimer la catégorie <i class="fas fa-times"></i> Supprimer la catégorie
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment