Browse Source

Ferme http://core.spip.org/issues/2401 : corrections d'interface sur les referers

svn/root/tags/plugins/statistiques/0.4.2 v0.4.2
cedric@yterium.com 11 years ago
parent
commit
6ce1c33464
  1. 2
      paquet.xml
  2. 4
      prive/squelettes/contenu/stats_referers.html
  3. 20
      prive/style_prive_plugin_stats.html

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="stats"
categorie="statistique"
version="0.4.1"
version="0.4.2"
etat="test"
compatibilite="[3.0.0-alpha2;["
logo="prive/themes/spip/images/statistique-32.png"

4
prive/squelettes/contenu/stats_referers.html

@ -22,13 +22,13 @@
[<h2>(#ENV{jour,''}|=={veille}|oui)<:date_hier|ucfirst:></h2>]
<ul class="liste-items referers">
<BOUCLE_statsr(DATA){source stats_referers,#ENV{limit,100},#ENV{jour,''},#ENV{id_article}}>
<li class="item referer" onclick="$(this).find('.referer-detail').toggle('fast');">
<li class="item referer" onclick="$(this).toggleClass('open').find('.referer-detail').toggle('fast');">
<h3>
<span class="visites">[[(#VALEUR{visites}) ](#VALEUR{visites}|singulier_ou_pluriel{info_visite,statistiques:info_visites}|trim{:}|trim)]</span>
[(#CLE|=={(email)}|oui)
#CLE
][(#CLE|=={(email)}|non)
<a href="[(#VALEUR{url})]">[(#CLE)][<span class="miniature"><img src='(#CLE|vigneter_referer)' width="120" height="90" /></span>]</a>[(#VALEUR{visites_racine}|oui)\(#VALEUR{visites_racine}\)]</h3>
<a href="[(#VALEUR{url})]" onclick="event.stopPropagation();">[(#CLE)][<span class="miniature"><img src='(#CLE|vigneter_referer)' width="120" height="90" /></span>]</a>[(#VALEUR{visites_racine}|oui)\(#VALEUR{visites_racine}\)]</h3>
]
</h3>

20
prive/style_prive_plugin_stats.html

@ -21,18 +21,6 @@
#SET{right,#ENV{ltr}|choixsiegal{left,right,left}}
/* exec=statistiques_visites */
.statistiques_visites ul.referers { margin-left: 0; padding-left: 0; list-style: none; color: #666; }
.statistiques_visites ul.referers li { clear: #GET{right}; margin-bottom: 1em; padding-left: 16px; }
.statistiques_visites ul.referers li .titrem { margin-left: -16px; font-weight: normal; }
.statistiques_visites ul.referers li .visites3 { color: red; }
.statistiques_visites ul.referers li .visites2 { color: #666; }
.statistiques_visites ul.referers li .visites1 { color: #999; }
.statistiques_visites ul.referers li a { font-weight: bold; }
.statistiques_visites ul.referers li ul { font-size: x-small; list-style-type: disc; }
.statistiques_visites ul.referers li li { clear: none; margin-bottom: 0; padding-left: 0; }
.statistiques_visites ul.referers li li a { font-weight: normal; }
ul.classement {list-style:none;font-size:x-small;margin:0;padding:0;padding-#GET{left}:20px;color:#666666;}
ul.classement li {padding:0 0 4px;margin:0;line-height:100%;}
ul.classement li em {display:block;width:25px;float:#GET{left};margin-left:-10px;position:relative;display:inline;font-style:normal;text-align:#GET{right};}
@ -73,11 +61,6 @@ table#visites tr.c_recap th {background-color:#[(#GET{foncee}|couleur_foncer)];c
.graphLegend .legendColorBox div{width:14px; height:10px;}
.graphLegend .cacher .legendColorBox div div{position:absolute; left:-3000em;}
/* particularites stats SPIP */
.statistiques_visites .graphResult{float:none;}
.statistiques_visites .graphInfo{float:none;}
.statistiques_visites .graphLegend table{width:100%; padding:0 1em 1em 1em;}
.statistiques_visites .graphLegend tr{display:inline;}
.tooltip_statistiques{
position: absolute;
@ -87,7 +70,8 @@ table#visites tr.c_recap th {background-color:#[(#GET{foncee}|couleur_foncer)];c
background-color: #fee;
}
.stats_referers .liste-items.referers li.referer {padding-left:300px;}
.stats_referers .liste-items.referers li.referer {padding-left:300px;background-image: url("#CHEMIN_IMAGE{deplierhaut.gif}");background-position: 0.6925em 0.6925em;background-repeat: no-repeat;}
.stats_referers .liste-items.referers li.referer.open {background-image: url("#CHEMIN_IMAGE{deplierbas.gif}");}
.stats_referers .liste-items.referers li.referer span.visites {float:left;text-align:right;width:140px;margin-left:-150px;}
.stats_referers .liste-items.referers li.referer .miniature {margin-left:-295px;float:left;max-width:140px;}
.stats_referers .liste-items.referers li.referer ul {margin-left:15px;padding-left:0;}

Loading…
Cancel
Save