suite
This commit is contained in:
parent
a0be49f658
commit
e003cf49c1
@ -1189,7 +1189,7 @@ body {
|
||||
position: relative;
|
||||
background-color: #fd0;
|
||||
p {
|
||||
margin-bottom: 25px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
&:before {
|
||||
content: '';
|
||||
@ -1221,7 +1221,7 @@ body {
|
||||
width: 220px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin-top: 40px;
|
||||
margin: 40px 0;
|
||||
}
|
||||
}
|
||||
p {
|
||||
@ -10721,6 +10721,26 @@ a.sp-video {
|
||||
margin-top:-5px;
|
||||
}
|
||||
}
|
||||
|
||||
.row2 {
|
||||
.block_intro{
|
||||
img{margin:0;}
|
||||
.right_intro a{
|
||||
margin-bottom:20px;
|
||||
}
|
||||
}
|
||||
.block_intro:nth-child(2) {
|
||||
img{
|
||||
position:static !important;
|
||||
margin:0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.num_programme{
|
||||
padding:30px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -6,9 +6,105 @@
|
||||
%p
|
||||
Date et heure sur le serveur au chargement de cette page :
|
||||
=l Time.now
|
||||
|
||||
|
||||
.qi_row
|
||||
.qi_pannel.qi_plain.padding
|
||||
|
||||
-if params[:refresh_date]
|
||||
-PCustomer.where("imp_email is not NULL").all.each do |pc|
|
||||
-pc.created_at = pc.imp_creation
|
||||
=pc.save
|
||||
%br
|
||||
|
||||
|
||||
.qi_kpi
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).where("created_at >= ?", Date.today.beginning_of_day).count
|
||||
|
||||
.label
|
||||
Inscriptions
|
||||
.desc
|
||||
aujourd'hui
|
||||
|
||||
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).where("created_at >= ? and created_at < ?",(Date.today-1.day).beginning_of_day, Date.today.beginning_of_day).count
|
||||
|
||||
.label
|
||||
Inscriptions
|
||||
.desc
|
||||
hier
|
||||
|
||||
|
||||
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).where("created_at >= ?", (Date.today -1.week).beginning_of_day).count
|
||||
|
||||
.label
|
||||
Inscriptions
|
||||
.desc
|
||||
depuis une semaine
|
||||
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).where("created_at >= ?", (Date.today).beginning_of_year.beginning_of_day).count
|
||||
|
||||
.label
|
||||
Inscriptions
|
||||
.desc
|
||||
cette année
|
||||
|
||||
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).count
|
||||
|
||||
.label
|
||||
Utilisateurs
|
||||
.desc
|
||||
|
||||
.clear
|
||||
|
||||
=#.qi_row
|
||||
=# .qi_pannel.qi_plain.padding
|
||||
|
||||
|
||||
|
||||
:scss
|
||||
.qi_kpi{
|
||||
vertical-align:top;
|
||||
padding:0 20px;
|
||||
.kpi{
|
||||
float:left;
|
||||
margin:5px;
|
||||
color:white;
|
||||
background:#6C5B7B;
|
||||
padding:10px 20px;
|
||||
|
||||
.label{
|
||||
display:block;
|
||||
font-weight:bold;
|
||||
text-align:left;
|
||||
color:white;
|
||||
font-size:20px;
|
||||
padding:0;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
.desc{
|
||||
font-size:15px;
|
||||
text-align:left;
|
||||
min-height:30px;
|
||||
}
|
||||
|
||||
.number{
|
||||
font-weight:20px;
|
||||
|
||||
font-weight:bold;
|
||||
font-size:30px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user