Utiliser des icones en SVG pour toutes les actions d'edition des menus + supprimer les icones obsoletes

pull/7/head v2.0.0
Cerdic 2 years ago
parent 6ee3e697cd
commit c5854c8204

@ -20,8 +20,8 @@
</BOUCLE_sous_menu_test>
[(#GET{supprimer_seulement}|=={non}|oui)
[(#ENV{types_entrees}|table_valeur{#TYPE_ENTREE}|table_valeur{refuser_sous_menu}|non)
<button type="submit" name="demander_sous_menu" value="#ID_MENUS_ENTREE" title="<:menus:formulaire_ajouter_sous_menu:>">
[<img height="24" width="24" src="(#CHEMIN{images/menus-24.png})" alt="" />]
<button type="submit" class="btn btn_secondaire" name="demander_sous_menu" value="#ID_MENUS_ENTREE" title="<:menus:formulaire_ajouter_sous_menu:>">
[(#CHEMIN{images/menus_ajouter_sousmenus-24.png}|balise_img)]
</button>
]]
<//B_sous_menu_test>
@ -63,13 +63,13 @@
<BOUCLE_pas_demande_entree(CONDITION){si #GET{id_menu_nouvelle_entree}|=={#ENV{id_menu}}|non}>
<div class="boutons">
[(#ENV{sous_menu}|non)<span class="image_loading"></span>]
[<button type="submit" class="submit link" name="supprimer_menu" value="#ENV{id_menu}"
[<button type="submit" class="submit link btn btn_danger" name="supprimer_menu" value="#ENV{id_menu}"
onclick="return confirm('<:menus:confirmer_supprimer_sous_menu:>')"
>
[<img src="(#CHEMIN{images/menus_action_supprimer.png})" alt="" />]
[(#CHEMIN{images/menus_action_supprimer-24.png}|balise_img)]
(#ENV{sous_menu}|?{<:menus:formulaire_supprimer_sous_menu:>,''})
</button>]
<button type="submit" class="submit" name="demander_nouvelle_entree" value="#ENV{id_menu}">
<button type="submit" class="submit btn" name="demander_nouvelle_entree" value="#ENV{id_menu}">
[(#CHEMIN{images/menus_action_ajouter-24.png}|balise_img)]
<:menus:texte_ajouter_menu_entree:>
</button>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 124 124" width="64" height="64">
<path d="M3.7 28.4a14.7 14.7 0 00.8 20.3l47.3 47.4a14.4 14.4 0 0020.4 0l47.3-47.3a14.8 14.8 0 00.8-20.3 14.5 14.5 0 00-20.9-.5L69.1 58.3a10 10 0 01-14 0L24.6 28a14.5 14.5 0 00-21 .4z" fill="#666"/>
<path d="M3.7 28.4a14.7 14.7 0 00.8 20.3l47.3 47.4a14.4 14.4 0 0020.4 0l47.3-47.3a14.8 14.8 0 00.8-20.3 14.5 14.5 0 00-20.9-.5L69.1 58.3a10 10 0 01-14 0L24.6 28a14.5 14.5 0 00-21 .4z" fill="#888"/>
</svg>

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 293 B

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 124 124" width="64" height="64">
<path d="M120.3 95.6a14.7 14.7 0 00-.8-20.3L72.2 27.9a14.4 14.4 0 00-20.4 0L4.5 75.2a14.8 14.8 0 00-.8 20.3 14.5 14.5 0 0020.9.5l30.3-30.3a10 10 0 0114 0L99.4 96a14.5 14.5 0 0021-.4z" fill="#666"/>
<path d="M120.3 95.6a14.7 14.7 0 00-.8-20.3L72.2 27.9a14.4 14.4 0 00-20.4 0L4.5 75.2a14.8 14.8 0 00-.8 20.3 14.5 14.5 0 0020.9.5l30.3-30.3a10 10 0 0114 0L99.4 96a14.5 14.5 0 0021-.4z" fill="#888"/>
</svg>

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 293 B

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -0,0 +1,32 @@
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="-19 -19 512 512" style="enable-background:new 0 0 473.912 473.912;" xml:space="preserve">
<rect x="-19" y="-19" width="512" height="128" fill="#1d83d4" />
<circle style="fill:#fff;" cx="47.953" cy="45.143" r="45.143"/>
<path style="fill:#fff;" d="M452.371,84.632H151.259c-10.345,0-18.732-8.386-18.732-18.732V24.363
c0-10.345,8.386-18.732,18.732-18.732h301.112c10.345,0,18.732,8.386,18.732,18.732V65.9
C471.102,76.245,462.716,84.632,452.371,84.632z"/>
<g transform="translate(128 128)">
<circle style="fill:#888;" cx="47.953" cy="45.143" r="45.143"/>
<path style="fill:#888;" d="M452.371,84.632H151.259c-10.345,0-18.732-8.386-18.732-18.732V24.363
c0-10.345,8.386-18.732,18.732-18.732h301.112c10.345,0,18.732,8.386,18.732,18.732V65.9
C471.102,76.245,462.716,84.632,452.371,84.632z"/>
</g>
<g transform="translate(128 256)">
<circle style="fill:#888;" cx="47.953" cy="45.143" r="45.143"/>
<path style="fill:#888;" d="M452.371,84.632H151.259c-10.345,0-18.732-8.386-18.732-18.732V24.363
c0-10.345,8.386-18.732,18.732-18.732h301.112c10.345,0,18.732,8.386,18.732,18.732V65.9
C471.102,76.245,462.716,84.632,452.371,84.632z"/>
</g>
<g transform="translate(128 384)">
<circle style="fill:#888;" cx="47.953" cy="45.143" r="45.143"/>
<path style="fill:#888;" d="M452.371,84.632H151.259c-10.345,0-18.732-8.386-18.732-18.732V24.363
c0-10.345,8.386-18.732,18.732-18.732h301.112c10.345,0,18.732,8.386,18.732,18.732V65.9
C471.102,76.245,462.716,84.632,452.371,84.632z"/>
</g>
<g transform="translate(236 236) scale(4)">
<g stroke-width=".5"><circle fill="#4caf50" cx="32" cy="32" r="32"/>
<path
fill="#fff"
d="M54.748 26.293c-.632-.633-1.4-.949-2.304-.949H38.352V11.252c0-.903-.316-1.671-.949-2.304C36.771 8.316 36.003 8 35.1 8h-6.503c-.903 0-1.671.316-2.303.948-.633.633-.949 1.4-.949 2.304v14.092H11.252c-.903 0-1.671.317-2.304.949-.632.632-.948 1.4-.948 2.303v6.505c0 .903.316 1.67.948 2.303.633.632 1.4.948 2.304.948h14.092v14.093c0 .903.316 1.672.948 2.304.633.632 1.4.948 2.304.948H35.1c.904 0 1.671-.316 2.304-.948.632-.633.948-1.4.948-2.304V38.352h14.092c.904 0 1.672-.316 2.304-.948.632-.632.948-1.4.948-2.303v-6.505c0-.903-.315-1.671-.948-2.303z"/></g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

Loading…
Cancel
Save