2014-06-02 12:37:57 +02:00
|
|
|
.row
|
2014-08-01 10:12:04 +02:00
|
|
|
.col-sm-4.col-xs-4
|
2014-06-16 13:51:43 +02:00
|
|
|
.dashbox.text-center
|
2014-08-01 10:12:04 +02:00
|
|
|
%span.fa.fa-user.fa-lg
|
|
|
|
|
%span.fa.fa-lg
|
|
|
|
|
= @total_user
|
|
|
|
|
%p
|
|
|
|
|
%small
|
|
|
|
|
#{'User'.pluralize(@total_user)}
|
|
|
|
|
- if @new_user
|
2017-03-11 13:25:39 +05:30
|
|
|
%span.label.label-success{ title: "+ #{@new_user} since you last logged in!" }
|
2014-08-01 10:12:04 +02:00
|
|
|
+
|
|
|
|
|
= @new_user
|
|
|
|
|
.col-sm-4.col-xs-4
|
2014-06-16 13:51:43 +02:00
|
|
|
.dashbox.text-center
|
2014-08-01 10:12:04 +02:00
|
|
|
%span.fa.fa-check-square.fa-lg
|
|
|
|
|
%span.fa.fa-lg
|
|
|
|
|
= @total_reg
|
|
|
|
|
%p
|
|
|
|
|
%small
|
|
|
|
|
#{'Registration'.pluralize(@total_reg)}
|
|
|
|
|
- if @new_reg
|
2017-03-11 13:25:39 +05:30
|
|
|
%span.label.label-success{ title: "+#{@new_reg} since you last logged in!" }
|
2014-08-01 10:12:04 +02:00
|
|
|
+
|
|
|
|
|
= @new_reg
|
|
|
|
|
.col-sm-4.col-xs-4
|
2014-06-16 13:51:43 +02:00
|
|
|
.dashbox.text-center
|
2014-08-01 10:12:04 +02:00
|
|
|
%span.fa.fa-file-text.fa-lg
|
|
|
|
|
%span.fa.fa-lg
|
|
|
|
|
= @total_submissions
|
|
|
|
|
%p
|
|
|
|
|
%small
|
|
|
|
|
#{'Submission'.pluralize(@total_submissions)}
|
|
|
|
|
- if @new_submissions
|
2017-03-11 13:25:39 +05:30
|
|
|
%span.label.label-success{ title: "+#{@new_submissions} since you last logged in!" }
|
2014-08-01 10:12:04 +02:00
|
|
|
+
|
|
|
|
|
= @new_submissions
|
|
|
|
|
|
2014-06-16 13:51:43 +02:00
|
|
|
.row#registrations
|
2014-06-03 16:27:10 +02:00
|
|
|
.col-md-8
|
2014-06-16 13:51:43 +02:00
|
|
|
= render partial: 'line_chart', locals: { title: 'Registrations over time',
|
|
|
|
|
name: 'registrations',
|
|
|
|
|
conferences: @conferences,
|
|
|
|
|
active_conferences: @active_conferences,
|
|
|
|
|
deactive_conferences: @deactive_conferences,
|
|
|
|
|
y: @registrations,
|
|
|
|
|
x: @registration_weeks,
|
|
|
|
|
unit: 'weeks' }
|
2014-06-03 16:27:10 +02:00
|
|
|
.col-md-4
|
2017-03-11 13:25:39 +05:30
|
|
|
= render partial: 'doughnut_chart', locals: { title: 'Events', data: @event_distribution }
|
2014-06-16 13:51:43 +02:00
|
|
|
.row#submissions
|
2014-06-03 16:27:10 +02:00
|
|
|
.col-md-8
|
2014-06-16 13:51:43 +02:00
|
|
|
= render partial: 'line_chart', locals: { title: 'Submissions over time',
|
|
|
|
|
name: 'submissions',
|
|
|
|
|
conferences: @conferences,
|
|
|
|
|
active_conferences: @active_conferences,
|
|
|
|
|
deactive_conferences: @deactive_conferences,
|
|
|
|
|
y: @submissions,
|
|
|
|
|
x: @cfp_weeks,
|
|
|
|
|
unit: 'weeks' }
|
2014-06-04 16:11:33 +02:00
|
|
|
.col-md-4
|
2017-03-11 13:25:39 +05:30
|
|
|
= render partial: 'doughnut_chart', locals: { title: 'User', data: @user_distribution }
|
2017-04-25 18:22:39 +03:00
|
|
|
.row#tickets
|
|
|
|
|
.col-md-8
|
|
|
|
|
= render partial: 'line_chart', locals: { title: 'Tickets sold over time',
|
|
|
|
|
name: 'tickets',
|
|
|
|
|
conferences: @conferences,
|
|
|
|
|
active_conferences: @active_conferences,
|
|
|
|
|
deactive_conferences: @deactive_conferences,
|
|
|
|
|
y: @tickets,
|
|
|
|
|
x: @ticket_weeks,
|
|
|
|
|
unit: 'weeks' }
|
|
|
|
|
%br
|
2014-06-16 13:51:43 +02:00
|
|
|
.row
|
2014-06-04 16:11:33 +02:00
|
|
|
.col-md-8
|
2014-06-16 13:51:43 +02:00
|
|
|
%ul.nav.nav-tabs#recentTable
|
|
|
|
|
%li.active
|
2017-03-11 13:25:39 +05:30
|
|
|
%a{ href: '#recent_user', 'data-toggle' => 'tab' }
|
2014-08-15 18:08:07 -07:00
|
|
|
%span.fa.fa-user
|
2014-06-16 13:51:43 +02:00
|
|
|
Recent Users
|
|
|
|
|
%li
|
2017-03-11 13:25:39 +05:30
|
|
|
%a{ href: '#recent_reg', 'data-toggle' => 'tab' }
|
2014-08-15 18:08:07 -07:00
|
|
|
%span.fa.fa-check-square
|
2014-06-16 13:51:43 +02:00
|
|
|
Recent Registrations
|
|
|
|
|
%li
|
2017-03-11 13:25:39 +05:30
|
|
|
%a{ href: '#recent_submissions', 'data-toggle' => 'tab' }
|
2014-08-15 18:08:07 -07:00
|
|
|
%span.fa.fa-file-text
|
2014-06-16 13:51:43 +02:00
|
|
|
Recent Submissions
|
|
|
|
|
.tab-content
|
|
|
|
|
.tab-pane.active#recent_user
|
|
|
|
|
= render partial: 'recent_users', locals: {recent_users: @recent_users}
|
|
|
|
|
.tab-pane#recent_reg
|
|
|
|
|
= render partial: 'recent_registrations', locals: {recent_registrations: @recent_registrations}
|
|
|
|
|
.tab-pane#recent_submissions
|
|
|
|
|
= render partial: 'recent_submissions', locals: {recent_events: @recent_events}
|
2014-06-04 16:11:33 +02:00
|
|
|
.col-md-4
|
|
|
|
|
= render partial: 'top_submitter', locals: {top_submitter: @top_submitter}
|