Browse Source

Décoration stats.

svn/root
marcimat@rezo.net 4 years ago
parent
commit
a054867828
  1. 2
      inc-visiteurs.html
  2. 11
      inclure/bloc-statistiques.html
  3. 20
      scss/galactic_theme.scss

2
inc-visiteurs.html

@ -1,5 +1,5 @@
#CACHE{60}
[<li class='visiteurs_connectes'>
<span class="fa fa-user" aria-hidden="true"></span>
<span class="fa-li fa fa-user" aria-hidden="true"></span>
(#VAL|visiteurs_connectes_compter|singulier_ou_pluriel{galactic_forum:info_un_visiteur_connecte,galactic_forum:info_nb_visiteurs_connectes})
</li>]

11
inclure/bloc-statistiques.html

@ -1,5 +1,5 @@
<div class="bloc bloc--statistiques">
<ul>
<ul class="fa-ul">
<BOUCLE_total_forum(FORUMS)
{articles.id_secteur?}
{articles.id_rubrique?}
@ -7,7 +7,7 @@
{articles.statut = publie}
/>
[<li class="nb_sujets">
<span class="fa fa-comments-o" aria-hidden="true"></span>
<span class="fa-li fa fa-comments-o" aria-hidden="true"></span>
(#TOTAL_BOUCLE|singulier_ou_pluriel{galactic_forum:info_un_sujet_forum,galactic_forum:info_nb_sujets_forum})
</li>]
<//B_total_forum>
@ -45,15 +45,14 @@
[(#GET{nb_365}|oui)
<li class="un_an">
<span class="fa-li fa fa-clock-o" aria-hidden="true"></span>
<span class="nb_sujets_annee">
<:galactic_forum:en_un_an:>
<span class="fa fa-comments-o" aria-hidden="true"></span>
[(#GET{nb_365}|singulier_ou_pluriel{galactic_forum:info_un_sujet_forum,galactic_forum:info_nb_sujets_forum})]
</span>
[(#GET{pourcentage}|oui)
<span class="nb_resolus">&bull;
<span class="fa fa-check" aria-hidden="true"></span>
<:galactic_forum:info_resolus_pourcent{pourcentage=#GET{pourcentage}}:>
<span class="nb_resolus">
(<:galactic_forum:info_resolus_pourcent{pourcentage=#GET{pourcentage}}:>)
</span>]
</li>
]

20
scss/galactic_theme.scss

@ -254,7 +254,7 @@
.contentNav {
.contentNav__user {
background: white;
padding: em(24px);
padding: em(32px);
margin-bottom: 4px;
.username { display:block; }
.bio { font-size: .9em; }
@ -405,17 +405,15 @@ a.badge, a.label {
}
}
.bloc--statistiques {
& > ul {
list-style-type: none;
margin:1em 2.5em;
& > li {
font-size: .9em;
padding:.3em 0;
&:not(:last-child) {
border-bottom: 1px solid $couleur-gris5;
.contentNav__aside {
.bloc--statistiques {
padding: em(24px) em(32px) em(24px) em(24px);
line-height: 1.5em;
& > ul {
margin-bottom:0;
& > li {
margin:.3em 0;
}
}
}
}

Loading…
Cancel
Save