Browse Source

Renommage des puces et variantes SVG pour SPIP 4+

pull/18/head
Cerdic 4 weeks ago
parent
commit
12682a8f40
  1. 26
      base/commandes.php
  2. 0
      prive/themes/spip/images/puce-commande-abandonne-9.png
  3. 6
      prive/themes/spip/images/puce-commande-abandonne-xx.svg
  4. 0
      prive/themes/spip/images/puce-commande-attente-9.png
  5. 4
      prive/themes/spip/images/puce-commande-attente-xx.svg
  6. 0
      prive/themes/spip/images/puce-commande-encours-9.png
  7. 4
      prive/themes/spip/images/puce-commande-encours-xx.svg
  8. 0
      prive/themes/spip/images/puce-commande-envoye-9.png
  9. 3
      prive/themes/spip/images/puce-commande-envoye-xx.svg
  10. 0
      prive/themes/spip/images/puce-commande-erreur-9.png
  11. 5
      prive/themes/spip/images/puce-commande-erreur-xx.svg
  12. 0
      prive/themes/spip/images/puce-commande-partiel-9.png
  13. 9
      prive/themes/spip/images/puce-commande-partiel-xx.svg
  14. 0
      prive/themes/spip/images/puce-commande-paye-9.png
  15. 4
      prive/themes/spip/images/puce-commande-paye-xx.svg
  16. 0
      prive/themes/spip/images/puce-commande-poubelle-9.png
  17. 4
      prive/themes/spip/images/puce-commande-poubelle-xx.svg
  18. 0
      prive/themes/spip/images/puce-commande-retour-9.png
  19. 4
      prive/themes/spip/images/puce-commande-retour-xx.svg
  20. 0
      prive/themes/spip/images/puce-commande-retour_partiel-9.png
  21. 4
      prive/themes/spip/images/puce-commande-retour_partiel-xx.svg

26
base/commandes.php

@ -101,16 +101,16 @@ function commandes_declarer_tables_objets_sql($tables) {
'poubelle' => 'commandes:statut_poubelle',
],
'statut_images' => [
'encours' => 'puce-commande-encours.png',
'attente' => 'puce-commande-attente.png',
'partiel' => 'puce-commande-partiel.png',
'paye' => 'puce-commande-paye.png',
'envoye' => 'puce-commande-envoye.png',
'retour' => 'puce-commande-retour.png',
'retour_partiel' => 'puce-commande-retour_partiel.png',
'erreur' => 'puce-commande-erreur.png',
'abandonne' => 'puce-commande-abandonne.png',
'poubelle' => 'puce-commande-poubelle.png',
'encours' => 'puce-commande-encours-9.png',
'attente' => 'puce-commande-attente-9.png',
'partiel' => 'puce-commande-partiel-9.png',
'paye' => 'puce-commande-paye-9.png',
'envoye' => 'puce-commande-envoye-9.png',
'retour' => 'puce-commande-retour-9.png',
'retour_partiel' => 'puce-commande-retour_partiel-9.png',
'erreur' => 'puce-commande-erreur-9.png',
'abandonne' => 'puce-commande-abandonne-9.png',
'poubelle' => 'puce-commande-poubelle-9.png',
],
'statut' => [
[
@ -177,9 +177,9 @@ function commandes_declarer_tables_objets_sql($tables) {
'retour' => 'commandes:statut_retour',
],
'statut_images' => [
'attente' => 'puce-commande-attente.png',
'envoye' => 'puce-commande-envoye.png',
'retour' => 'puce-commande-retour.png',
'attente' => 'puce-commande-attente-9.png',
'envoye' => 'puce-commande-envoye-9.png',
'retour' => 'puce-commande-retour-9.png',
],
'texte_ajouter' => 'commandes:detail_ajouter',
'texte_changer_statut' => 'commandes:texte_changer_statut_commande_detail',

0
prive/themes/spip/images/puce-commande-abandonne.png → prive/themes/spip/images/puce-commande-abandonne-9.png

Before

Width:  |  Height:  |  Size: 98 B

After

Width:  |  Height:  |  Size: 98 B

6
prive/themes/spip/images/puce-commande-abandonne-xx.svg

@ -0,0 +1,6 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#fff" d="M0 0h7.99v8h-8z"/>
<path d="M8 0H0v8h8V0zM7 1v6H1V1h6z" fill="#050505"/>
<path d="M2 3.5h4v-1H2v1z" fill="#050505"/>
<path d="M2 5.5h4v-1H2v1z" fill="#050505"/>
</svg>

After

Width:  |  Height:  |  Size: 363 B

0
prive/themes/spip/images/puce-commande-attente.png → prive/themes/spip/images/puce-commande-attente-9.png

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 137 B

4
prive/themes/spip/images/puce-commande-attente-xx.svg

@ -0,0 +1,4 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#fff" d="M0 0h8v8H0z"/>
<path d="M8 0H0v8h8V0zM3.5 7V4.5H1V7h2.5zM7 4.5H4.5V7H7V4.5zM1 1v2.5h2.5V1H1zm3.5 0v2.5H7V1H4.5z" fill="#f89058"/>
</svg>

After

Width:  |  Height:  |  Size: 328 B

0
prive/themes/spip/images/puce-commande-encours.png → prive/themes/spip/images/puce-commande-encours-9.png

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 137 B

4
prive/themes/spip/images/puce-commande-encours-xx.svg

@ -0,0 +1,4 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#fff" d="M0 0h7.99v8h-8z"/>
<path d="M8 0H0v8h8V0zM7 1v6H1V1h6z" fill="#666666"/>
</svg>

After

Width:  |  Height:  |  Size: 271 B

0
prive/themes/spip/images/puce-commande-envoye.png → prive/themes/spip/images/puce-commande-envoye-9.png

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

3
prive/themes/spip/images/puce-commande-envoye-xx.svg

@ -0,0 +1,3 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#9dba00" d="M0 0h8v8H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 214 B

0
prive/themes/spip/images/puce-commande-erreur.png → prive/themes/spip/images/puce-commande-erreur-9.png

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 166 B

5
prive/themes/spip/images/puce-commande-erreur-xx.svg

@ -0,0 +1,5 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#fff" d="M0 0h7.99v8h-8z"/>
<path d="M8 0H0v8h8V0zM7 1v6H1V1h6z" fill="red"/>
<path d="M2 4.5h4v-1H2v1z" fill="red"/>
</svg>

After

Width:  |  Height:  |  Size: 309 B

0
prive/themes/spip/images/puce-commande-partiel.png → prive/themes/spip/images/puce-commande-partiel-9.png

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 155 B

9
prive/themes/spip/images/puce-commande-partiel-xx.svg

@ -0,0 +1,9 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#9dba00" d="M0 0h8v8H0z"/>
<circle cx="4" cy="4" r="2.75" fill="#fff" />
<path fill="#fff" d="M0 0h4v8H0z"/>
<path d="M8 0H0v8h4.5V0zM3.5 7z" fill="#f89058"/>
<path fill="#fff" d="M1 1h2.5v2.5h-2.5z"/>
<path fill="#fff" d="M1 4.5h2.5v2.5h-2.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 442 B

0
prive/themes/spip/images/puce-commande-paye.png → prive/themes/spip/images/puce-commande-paye-9.png

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 147 B

4
prive/themes/spip/images/puce-commande-paye-xx.svg

@ -0,0 +1,4 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#9dba00" d="M0 0h8v8H0z"/>
<circle cx="4" cy="4" r="2.75" fill="#fff" />
</svg>

After

Width:  |  Height:  |  Size: 262 B

0
prive/themes/spip/images/puce-commande-poubelle.png → prive/themes/spip/images/puce-commande-poubelle-9.png

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 173 B

4
prive/themes/spip/images/puce-commande-poubelle-xx.svg

@ -0,0 +1,4 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#fff" d="M0 0h8v8H0z"/>
<path d="M8 8V0H0v8h8zM1 1l3 3-3 3h6L4 4l3-3H1z"/>
</svg>

After

Width:  |  Height:  |  Size: 264 B

0
prive/themes/spip/images/puce-commande-retour.png → prive/themes/spip/images/puce-commande-retour-9.png

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 156 B

4
prive/themes/spip/images/puce-commande-retour-xx.svg

@ -0,0 +1,4 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#fff" d="M0 0h8v8H0z"/>
<path d="M8 8V0H0v8h8zM7 7l-6 0 6 -6z"/>
</svg>

After

Width:  |  Height:  |  Size: 254 B

0
prive/themes/spip/images/puce-commande-retour_partiel.png → prive/themes/spip/images/puce-commande-retour_partiel-9.png

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 214 B

4
prive/themes/spip/images/puce-commande-retour_partiel-xx.svg

@ -0,0 +1,4 @@
<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path fill="#000" d="M0 0h8 l-8 8H0z"/>
<path fill="#9dba00" d="M0 0l8 8H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 256 B

Loading…
Cancel
Save