diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index ffabd35a8..94b128e4c 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -72,9 +72,12 @@ body.admin { // - - - - - - - - - - - - - - - - - - - - - - - - - .admin-sidebar { - margin-left: rem-calc(-20); margin-top: rem-calc(24); + @media (min-width: $small-breakpoint) { + margin-left: rem-calc(-20); + } + ul { list-style-type: none; margin-left: 0; @@ -248,3 +251,24 @@ body.admin { .stats { background: white; } + +.stats-numbers { + p { + color: $text-medium; + font-size: rem-calc(13); + padding: rem-calc(6); + text-transform: uppercase; + + &.featured { + background: $info-bg; + border: 1px solid $info-border; + font-weight: bold; + } + + .number { + color: $text; + font-size: rem-calc(30); + font-weight: bold; + } + } +} diff --git a/app/assets/stylesheets/participacion.scss b/app/assets/stylesheets/participacion.scss index 51dc4f3e7..3449da54e 100644 --- a/app/assets/stylesheets/participacion.scss +++ b/app/assets/stylesheets/participacion.scss @@ -493,9 +493,12 @@ header { img { height: 48px; - margin-top: rem-calc(24); width: 48px; + @media (min-width: $small-breakpoint) { + margin-top: rem-calc(24); + } + @media (min-width: $medium-breakpoint) { height: 96px; margin-right: rem-calc(12); diff --git a/app/views/admin/stats/show.html.erb b/app/views/admin/stats/show.html.erb index 1f6c39327..31a0dbf2c 100644 --- a/app/views/admin/stats/show.html.erb +++ b/app/views/admin/stats/show.html.erb @@ -6,36 +6,92 @@
+ <%= t "admin.stats.show.summary.visits" %>
+ <%= @visits %>
+
+ <%= t "admin.stats.show.summary.debates" %>
+ <%= @debates %>
+
+ <%= t "admin.stats.show.summary.proposals" %>
+ <%= @proposals %>
+
+ <%= t "admin.stats.show.summary.comments" %>
+ <%= @comments %>
+
+ <%= t "admin.stats.show.summary.proposal_votes" %>
+ <%= @proposal_votes %>
+
+ <%= t "admin.stats.show.summary.debate_votes" %>
+ <%= @debate_votes %>
+
+ <%= t "admin.stats.show.summary.comment_votes" %>
+ <%= @comment_votes %>
+
+ <%= t "admin.stats.show.summary.votes" %>
+ <%= @votes %>
+
+ <%= t "admin.stats.show.summary.verified_users" %>
+ <%= @verified_users %>
+
+ <%= t "admin.stats.show.summary.unverified_users" %>
+ <%= @unverified_users %>
+
+ <%= t "admin.stats.show.summary.users" %>
+ <%= @users %>
+
+ <%= t "admin.stats.show.summary.user_level_two" %>
+ <%= @user_level_two %>
+
+ <%= t "admin.stats.show.summary.user_level_three" %>
+ <%= @user_level_three %>
+