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

Usage des icones de app en plus des icones à la JP

parent 67fadf27
No related branches found
No related tags found
No related merge requests found
Pipeline #15729 passed
...@@ -47,6 +47,7 @@ $this->headTitle($title); ...@@ -47,6 +47,7 @@ $this->headTitle($title);
<a href="<?php echo $this->url('contenu/macro/ajouter', [], [], true); ?>" <a href="<?php echo $this->url('contenu/macro/ajouter', [], [], true); ?>"
class="btn btn-primary action ajax-modal" data-event="modification"> class="btn btn-primary action ajax-modal" data-event="modification">
<span class="icon ajouter"></span> <span class="icon ajouter"></span>
<span class="icon icon-ajouter"></span>
Ajouter une macro Ajouter une macro
</a> </a>
<?php endif; ?> <?php endif; ?>
...@@ -54,6 +55,7 @@ $this->headTitle($title); ...@@ -54,6 +55,7 @@ $this->headTitle($title);
<a href="<?php echo $this->url('contenu/macro/generer-json', [], [], true); ?>" <a href="<?php echo $this->url('contenu/macro/generer-json', [], [], true); ?>"
class="btn btn-primary action ajax-modal"> class="btn btn-primary action ajax-modal">
<span class="icon code"></span> <span class="icon code"></span>
<span class="icon icon-code"></span>
Générer le JSON des macros Générer le JSON des macros
</a> </a>
</div> </div>
...@@ -84,6 +86,8 @@ $this->headTitle($title); ...@@ -84,6 +86,8 @@ $this->headTitle($title);
<?php if ($macro->getDescription() !== null) : ?> <?php if ($macro->getDescription() !== null) : ?>
<span class="icon information" data-toggle="tooltip" data-html="true" <span class="icon information" data-toggle="tooltip" data-html="true"
title="<?php echo $macro->getDescription(); ?>"></span> title="<?php echo $macro->getDescription(); ?>"></span>
<span class="icon icon-information" data-toggle="tooltip" data-html="true"
title="<?php echo $macro->getDescription(); ?>"></span>
<?php endif; ?> <?php endif; ?>
</td> </td>
<td> <td>
...@@ -98,14 +102,14 @@ $this->headTitle($title); ...@@ -98,14 +102,14 @@ $this->headTitle($title);
class="ajax-modal" data-event="modification" data-toggle="tooltip" data-html="true" class="ajax-modal" data-event="modification" data-toggle="tooltip" data-html="true"
title="Modification de la macro <span class='highlight macro'><?php echo $macro->getCode(); ?></span>" title="Modification de la macro <span class='highlight macro'><?php echo $macro->getCode(); ?></span>"
> >
<span class="icon editer"></span></a> <span class="icon editer"></span><span class="icon icon-editer"></span></a>
<?php endif; ?> <?php endif; ?>
<?php if ($canSupprimer) : ?> <?php if ($canSupprimer) : ?>
<a href="<?php echo $this->url('contenu/macro/supprimer', ['macro' => $macro->getId()], [], true); ?>" <a href="<?php echo $this->url('contenu/macro/supprimer', ['macro' => $macro->getId()], [], true); ?>"
class="ajax-modal" data-event="modification" data-toggle="tooltip" data-html="true" class="ajax-modal" data-event="modification" data-toggle="tooltip" data-html="true"
title="Suppression de la macro <span class='highlight macro'><?php echo $macro->getCode(); ?></span>" title="Suppression de la macro <span class='highlight macro'><?php echo $macro->getCode(); ?></span>"
> >
<span class="icon detruire text-danger"></span></a> <span class="icon detruire text-danger"></span><span class="icon icon-supprimer text-danger"></span></a>
<?php endif; ?> <?php endif; ?>
</td> </td>
</tr> </tr>
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
Filtrer Filtrer
</button> </button>
<button class="btn btn-primary" id="clear"> <button class="btn btn-primary" id="clear">
<span class="icon effacer"></span>
Effacer Effacer
</button> </button>
</div> </div>
......
...@@ -83,7 +83,7 @@ $canSupprimer = $this->isAllowed(DocumentcontenuPrivileges::getResourceId(Docume ...@@ -83,7 +83,7 @@ $canSupprimer = $this->isAllowed(DocumentcontenuPrivileges::getResourceId(Docume
title="Afficher le rendu" data-toggle="tooltip" data-html="true" title="Afficher le rendu" data-toggle="tooltip" data-html="true"
class="ajax-modal" class="ajax-modal"
> >
<span class="icon voir"></span></a> <span class="icon voir"></span><span class="icon icon-voir"></span></a>
<?php endif; ?> <?php endif; ?>
<?php if ($canSupprimer) : ?> <?php if ($canSupprimer) : ?>
<?php /** @see \UnicaenRenderer\Controller\RenduController::supprimerAction() */ ?> <?php /** @see \UnicaenRenderer\Controller\RenduController::supprimerAction() */ ?>
...@@ -91,7 +91,7 @@ $canSupprimer = $this->isAllowed(DocumentcontenuPrivileges::getResourceId(Docume ...@@ -91,7 +91,7 @@ $canSupprimer = $this->isAllowed(DocumentcontenuPrivileges::getResourceId(Docume
title="Supprimer le rendu" data-toggle="tooltip" data-html="true" title="Supprimer le rendu" data-toggle="tooltip" data-html="true"
class="ajax-modal" data-event="modification" class="ajax-modal" data-event="modification"
> >
<span class="icon detruire text-danger"></span></a> <span class="icon detruire text-danger"></span><span class="icon icon-supprimer text-danger"></span></a>
<?php endif; ?> <?php endif; ?>
</td> </td>
</tr> </tr>
......
...@@ -45,6 +45,7 @@ $this->headTitle($title); ...@@ -45,6 +45,7 @@ $this->headTitle($title);
<a href="<?php echo $this->url('contenu/template/ajouter', [], [], true); ?>" <a href="<?php echo $this->url('contenu/template/ajouter', [], [], true); ?>"
class="btn btn-primary action ajax-modal" data-event="modification"> class="btn btn-primary action ajax-modal" data-event="modification">
<span class="icon ajouter"></span> <span class="icon ajouter"></span>
<span class="icon icon-ajouter"></span>
Ajouter un template Ajouter un template
</a> </a>
<?php endif; ?> <?php endif; ?>
...@@ -73,6 +74,8 @@ $this->headTitle($title); ...@@ -73,6 +74,8 @@ $this->headTitle($title);
<?php if ($template->getDescription() !== null) : ?> <?php if ($template->getDescription() !== null) : ?>
<span class="icon information" title="<?php echo $template->getDescription(); ?>" <span class="icon information" title="<?php echo $template->getDescription(); ?>"
data-toggle="tooltip" data-html="true"></span> data-toggle="tooltip" data-html="true"></span>
<span class="icon icon-information" title="<?php echo $template->getDescription(); ?>"
data-toggle="tooltip" data-html="true"></span>
<?php endif; ?> <?php endif; ?>
</td> </td>
<td> <td>
...@@ -83,21 +86,21 @@ $this->headTitle($title); ...@@ -83,21 +86,21 @@ $this->headTitle($title);
<?php /** @see \UnicaenRenderer\Controller\TemplateController::afficherAction() */ ?> <?php /** @see \UnicaenRenderer\Controller\TemplateController::afficherAction() */ ?>
<a href="<?php echo $this->url('contenu/template/afficher', ['template' => $template->getId()], [], true); ?>" <a href="<?php echo $this->url('contenu/template/afficher', ['template' => $template->getId()], [], true); ?>"
class="ajax-modal"> class="ajax-modal">
<span class="icon voir"></span></a> <span class="icon voir"></span><span class="icon icon-voir"></span></a>
<?php endif; ?> <?php endif; ?>
<?php if ($canModifier) : ?> <?php if ($canModifier) : ?>
<?php /** @see \UnicaenRenderer\Controller\TemplateController::modifierAction() */ ?> <?php /** @see \UnicaenRenderer\Controller\TemplateController::modifierAction() */ ?>
<a href="<?php echo $this->url('contenu/template/modifier', ['template' => $template->getId()], [], true); ?>" <a href="<?php echo $this->url('contenu/template/modifier', ['template' => $template->getId()], [], true); ?>"
class="ajax-modal" data-event="modification" class="ajax-modal" data-event="modification"
> >
<span class="icon editer"></span></a> <span class="icon editer"></span><span class="icon icon-editer"></span></a>
<?php endif; ?> <?php endif; ?>
<?php if ($canDetruire) : ?> <?php if ($canDetruire) : ?>
<?php /** @see \UnicaenRenderer\Controller\TemplateController::detruireAction() */ ?> <?php /** @see \UnicaenRenderer\Controller\TemplateController::detruireAction() */ ?>
<a href="<?php echo $this->url('contenu/template/detruire', ['template' => $template->getId()], [], true); ?>" <a href="<?php echo $this->url('contenu/template/detruire', ['template' => $template->getId()], [], true); ?>"
class="ajax-modal" data-event="modification" class="ajax-modal" data-event="modification"
> >
<span class="icon detruire text-danger"></span></a> <span class="icon detruire text-danger"></span><span class="icon icon-supprimer text-danger"></span></a>
<?php endif; ?> <?php endif; ?>
</td> </td>
</tr> </tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment