2018-10-10 09:48:38 -07:00
|
|
|
= javascript_include_tag 'Chart.min'
|
2014-06-02 12:37:57 +02:00
|
|
|
.row
|
2018-02-18 16:17:29 -03:00
|
|
|
.col-sm-3.col-xs-3
|
2018-09-26 12:23:59 -07:00
|
|
|
= render "shared/big_statistic",
|
|
|
|
|
icon: "user", subtitle: "User", value: @total_user, delta: @new_user
|
2018-02-18 16:17:29 -03:00
|
|
|
.col-sm-3.col-xs-3
|
2018-09-26 12:23:59 -07:00
|
|
|
= render "shared/big_statistic",
|
|
|
|
|
icon: "check-square", subtitle: "Registration", value: @total_reg, delta: @new_reg
|
2018-02-18 16:17:29 -03:00
|
|
|
.col-sm-3.col-xs-3
|
2018-09-26 12:23:59 -07:00
|
|
|
= render "shared/big_statistic",
|
|
|
|
|
icon: "file-text", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
|
2018-02-18 16:17:29 -03:00
|
|
|
.col-sm-3.col-xs-3
|
2018-09-26 12:23:59 -07:00
|
|
|
= render "shared/big_statistic",
|
|
|
|
|
icon: "archive", subtitle: "Withdrawn", value: @total_withdrawn, delta: @new_withdrawn, reverse: true
|
2014-08-01 10:12:04 +02:00
|
|
|
|
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}
|