Skip to content
Extraits de code Groupes Projets
Valider c515b480 rédigé par cerdic's avatar cerdic Validation de Gitea
Parcourir les fichiers

une icone svg pour le debug

parent 8c45a0ed
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -544,7 +544,7 @@ function debusquer_squelette($fonc, $mode, $self) {
}
} else {
if (strlen(trim($res))) {
return "<img src='" . chemin_image('compat-16.png') . "' alt='afficher-masquer le debug' id='spip-debug-toggle' onclick=\"var x = document.getElementById('spip-debug'); (x.style.display == '' ? x.style.display = 'none' : x.style.display = '');\" /><div id='spip-debug'>$res</div>";
return "<img src='" . chemin_image('debug-xx.svg') . "' alt='afficher-masquer le debug' id='spip-debug-toggle' onclick=\"var x = document.getElementById('spip-debug'); (x.style.display == '' ? x.style.display = 'none' : x.style.display = '');\" /><div id='spip-debug'>$res</div>";
} else {
// cas de l'appel sur erreur: montre la page
return isset($GLOBALS['debug_objets']['resultat']['tout'])
......@@ -570,7 +570,7 @@ function debusquer_squelette($fonc, $mode, $self) {
}
return !trim($texte) ? '' : (
"<img src='" . chemin_image('compat-16.png') . "' alt='afficher-masquer le debug' id='spip-debug-toggle' onclick=\"var x = document.getElementById('spip-debug'); (x.style.display == '' ? x.style.display = 'none' : x.style.display = '');\" /><div id='spip-debug'>$res"
"<img src='" . chemin_image('debug-xx.svg') . "' alt='afficher-masquer le debug' id='spip-debug-toggle' onclick=\"var x = document.getElementById('spip-debug'); (x.style.display == '' ? x.style.display = 'none' : x.style.display = '');\" /><div id='spip-debug'>$res"
. "<div id='debug_boucle'><fieldset$id><legend>"
. "<a href='" . $self . "#f_" . substr($fonc, 0, 37) . "'> &#8593; "
. ($legend ? $legend : $mode)
......
......@@ -16,7 +16,7 @@ a:active.spip-admin-boutons,
.spip-admin-boutons:hover { background: #000; }
/* Style pour le mode debug */
#spip-debug-toggle {position:absolute; top:4px; right:80px; width:24px;height:20px; cursor:pointer; z-index:1000;}
#spip-debug-toggle {position:absolute; top:4px; right:80px; width:32px;height:32px; cursor:pointer; z-index:1000;}
#spip-debug, #spip-debug-header { background-color: #f0f0f0; font-family: Verdana, Geneva, sans-serif; position:absolute;top:30px;left:0;width:100%;height:100%;z-index:10000; font-size:1em; text-align:left; }
#spip-debug ul table { font-size: 80%; }
#spip-debug fieldset { background-color: #fff; font-family: Courier, "Courier New", monospace; font-size: 12px; margin-bottom: 1em; display: block; padding: .5em; }
......
<svg
version="1.1"
viewBox="0 0 511.963 511.963"
width="64"
height="64"
xmlns="http://www.w3.org/2000/svg">
<g>
<path fill="#47568C"
d="M498.687,498.687c-17.401,17.701-45.899,17.701-63.6,0l-81.425-81.425l1.8-61.8l61.8-1.8 l81.425,81.425C516.388,452.786,516.388,481.287,498.687,498.687z"/>
<path fill="#2C3B73"
d="M498.687,498.687c-17.401,17.701-45.899,17.701-63.6,0l-81.425-81.425l1.8-61.8L498.687,498.687z"/>
<path fill="#FDBF00"
d="M417.262,353.662l-63.6,63.6l-65.099-65.099c-5.7-5.7-5.7-15.3,0-21l42.599-42.599 c5.7-5.7,15.3-5.7,21,0L417.262,353.662z"/>
<path fill="#FF9100"
d="M385.462,385.462l-31.8,31.8l-65.099-65.099c-5.7-5.7-5.7-15.3,0-21l21.301-21.301L385.462,385.462z "/>
<path fill="#47568C"
d="M332.664,57.262c-76.201-76.5-199.2-76.199-275.402,0c-76.5,76.201-76.199,199.2,0,275.4 c76.201,76.501,199.2,76.201,275.402,0C409.163,256.463,408.863,133.463,332.664,57.262z"/>
<path fill="#2C3B73"
d="M332.664,332.662c-76.201,76.201-199.2,76.501-275.402,0c-76.199-76.199-76.5-199.199,0-275.4 L332.664,332.662z"/>
<path fill="#EDF5FF"
d="M311.663,311.663c-64.501,64.499-168.9,64.499-233.401,0c-64.499-64.501-64.499-168.9,0-233.401 c64.501-64.501,168.9-64.501,233.401,0C376.162,142.763,376.162,247.163,311.663,311.663z"/>
<path fill="#D7E9FF"
d="M311.663,311.663c-64.501,64.499-168.9,64.499-233.401,0c-64.499-64.501-64.499-168.9,0-233.401 L311.663,311.663z"/>
<path fill="#47568C"
d="M164.963,119.963c-24.814,0-45-20.186-45-45c0-8.291,6.709-15,15-15s15,6.709,15,15 c0,8.276,6.724,15,15,15c8.291,0,15,6.709,15,15S173.254,119.963,164.963,119.963z"/>
<path fill="#47568C"
d="M224.963,119.963c-8.291,0-15-6.709-15-15s6.709-15,15-15c8.276,0,15-6.724,15-15 c0-8.291,6.709-15,15-15s15,6.709,15,15C269.963,99.777,249.777,119.963,224.963,119.963z"/>
<path fill="#2C3B73"
d="M128.254,178.381L95.09,161.799c-2.329-1.195-5.127,0.504-5.127,3.164c0,8.291-6.709,15-15,15 s-15-6.709-15-15c0-24.995,26.315-41.139,48.53-30l33.179,16.582c7.412,3.706,10.415,12.715,6.709,20.127 C144.69,179.033,135.734,182.095,128.254,178.381z"/>
<path fill="#47568C"
d="M241.545,171.672c-3.706-7.412-0.703-16.421,6.709-20.127l33.164-16.582 c22.293-11.224,48.545,5.109,48.545,30c0,8.291-6.709,15-15,15s-15-6.709-15-15c0-2.519-2.552-4.341-5.142-3.164l-33.149,16.582 C254.185,182.099,245.233,179.027,241.545,171.672z"/>
<path fill="#2C3B73"
d="M134.963,329.963c-8.291,0-15-6.709-15-15v-3.164c0-22.266,12.378-42.29,32.285-52.251 c7.412-3.677,16.421-0.703,20.127,6.709s0.703,16.421-6.709,20.127c-9.683,4.834-15.703,14.575-15.703,25.415v3.164 C149.963,323.254,143.254,329.963,134.963,329.963z"/>
<path fill="#2C3B73"
d="M74.963,269.963c-8.291,0-15-6.709-15-15c0-24.814,20.186-45,45-45h30c8.291,0,15,6.709,15,15 s-6.709,15-15,15h-30c-8.276,0-15,6.724-15,15C89.963,263.254,83.254,269.963,74.963,269.963z"/>
<path fill="#2C3B73"
d="M254.963,329.963c-8.291,0-15-6.709-15-15v-3.164c0-10.84-6.021-20.581-15.703-25.415 c-7.412-3.706-10.415-12.715-6.709-20.127c3.721-7.412,12.744-10.386,20.127-6.709c19.907,9.961,32.285,29.985,32.285,52.251v3.164 C269.963,323.254,263.254,329.963,254.963,329.963z"/>
<path fill="#47568C"
d="M314.963,269.963c-8.291,0-15-6.709-15-15c0-8.276-6.724-15-15-15h-30c-8.291,0-15-6.709-15-15 s6.709-15,15-15h30c24.814,0,45,20.186,45,45C329.963,263.254,323.254,269.963,314.963,269.963z"/>
<path fill="#47568C"
d="M269.963,149.963l-39.3,30h-71.4l-39.3-30l11.4-18.6l20.099-33.001 c2.701-5.099,7.8-8.399,13.5-8.399h60c5.7,0,10.8,3.3,13.5,8.399L269.963,149.963z"/>
<polygon fill="#2C3B73" points="179.963,179.963 159.263,179.963 119.963,149.963 131.363,131.363 "/>
<path fill="#FF641A"
d="M269.963,149.963v75c0,13.2-3.3,25.499-9,36c-12.9,23.399-37.8,39-66,39c-41.4,0-75-33.6-75-75v-75 H269.963z"/>
<path fill="#F03800"
d="M260.963,260.963c-12.9,23.399-37.8,39-66,39c-41.4,0-75-33.6-75-75v-75h30L260.963,260.963z"/>
</g>
</svg>
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter