From 7dfa243062c44b836abd8c857c7fcb06ac4730b1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Metivier <jean-philippe.metivier@unicaen.fr> Date: Wed, 7 Sep 2022 13:08:39 +0200 Subject: [PATCH] Nettoyage affichage --- view/unicaen-parametre/categorie/index.phtml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/view/unicaen-parametre/categorie/index.phtml b/view/unicaen-parametre/categorie/index.phtml index 000b0a1f1..1e64b3346 100644 --- a/view/unicaen-parametre/categorie/index.phtml +++ b/view/unicaen-parametre/categorie/index.phtml @@ -25,7 +25,7 @@ $this->headTitle("Affichage des paramètres"); if ($selection !== null) $categories = [ $selection ]; ?> -<div + <h1 class="page-header"> Affichage des paramètres </h1> @@ -119,15 +119,18 @@ if ($selection !== null) $categories = [ $selection ]; </td> <td> <a <?php /** @see \Application\Controller\ParametreController::modifierValeurAction() */?> - href="<?php echo $this->url('parametre/modifier-valeur', ['parametre' => $parametre->getId()], [], true); ?>" title="Modifier la valeur du paramètre <strong><?php echo $parametre->getCode(); ?></strong" + href="<?php echo $this->url('parametre/modifier-valeur', ['parametre' => $parametre->getId()], [], true); ?>" + title="Modifier la valeur du paramètre [<?php echo $parametre->getCode(); ?>]" class="ajax-modal" data-event="modification" > <i class="fas fa-pencil-alt"></i></a> <a <?php /** @see \Application\Controller\ParametreController::modifierAction() */?> - href="<?php echo $this->url('parametre/modifier', ['parametre' => $parametre->getId()], [], true); ?>" title="Modifier le paramètre <strong><?php echo $parametre->getCode(); ?></strong" + href="<?php echo $this->url('parametre/modifier', ['parametre' => $parametre->getId()], [], true); ?>" + title="Modifier le paramètre [<?php echo $parametre->getCode(); ?>]" class="ajax-modal" data-event="modification"> <i class="fas fa-cog"></i></a> <a <?php /** @see \Application\Controller\ParametreController::supprimerAction() */?> - href="<?php echo $this->url('parametre/supprimer', ['parametre' => $parametre->getId()], [], true); ?>" title="Supprimer le paramètre <strong><?php echo $parametre->getCode(); ?></strong" + href="<?php echo $this->url('parametre/supprimer', ['parametre' => $parametre->getId()], [], true); ?>" + title="Supprimer le paramètre [<?php echo $parametre->getCode(); ?>]" class="ajax-modal disabled" data-event="modification" disabled> <i class="fas fa-times disabled"></i></a> </td> @@ -139,6 +142,7 @@ if ($selection !== null) $categories = [ $selection ]; <br/> <?php endforeach; ?> + <script> $(function () { $('body') -- GitLab