2014-06-02 12:37:57 +02:00
|
|
|
.row
|
2018-02-18 16:17:29 -03:00
|
|
|
.col-sm-3.col-xs-3
|
2018-12-19 12:59:52 -08:00
|
|
|
= render "big_statistic",
|
2018-09-26 12:23:59 -07:00
|
|
|
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-12-19 12:59:52 -08:00
|
|
|
= render "big_statistic",
|
2022-05-18 06:31:12 +02:00
|
|
|
icon: "square-check", subtitle: "Registration", value: @total_reg, delta: @new_reg
|
2018-02-18 16:17:29 -03:00
|
|
|
.col-sm-3.col-xs-3
|
2018-12-19 12:59:52 -08:00
|
|
|
= render "big_statistic",
|
2022-05-18 06:31:12 +02:00
|
|
|
icon: "file-lines", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
|
2018-02-18 16:17:29 -03:00
|
|
|
.col-sm-3.col-xs-3
|
2018-12-19 12:59:52 -08:00
|
|
|
= render "big_statistic",
|
2022-05-18 06:31:12 +02:00
|
|
|
icon: "box-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
|
2018-12-19 12:59:52 -08:00
|
|
|
= render 'line_chart', title: 'Registrations per week', data: @registrations
|
2014-06-03 16:27:10 +02:00
|
|
|
.col-md-4
|
2018-12-19 12:59:52 -08:00
|
|
|
= render 'donut_chart', title: 'Events',
|
|
|
|
|
data: @event_distribution, colors: @event_distribution_colors
|
2014-06-16 13:51:43 +02:00
|
|
|
.row#submissions
|
2014-06-03 16:27:10 +02:00
|
|
|
.col-md-8
|
2018-12-19 12:59:52 -08:00
|
|
|
= render 'line_chart', title: 'Submissions per week', data: @submissions
|
2014-06-04 16:11:33 +02:00
|
|
|
.col-md-4
|
2018-12-19 12:59:52 -08:00
|
|
|
= render 'donut_chart', title: 'Users',
|
|
|
|
|
data: @user_distribution, colors: @user_distribution_colors
|
2017-04-25 18:22:39 +03:00
|
|
|
.row#tickets
|
|
|
|
|
.col-md-8
|
2018-12-19 12:59:52 -08:00
|
|
|
= render 'line_chart', title: 'Tickets sold per week', data: @tickets
|
2017-04-25 18:22:39 +03:00
|
|
|
%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' }
|
2022-05-18 06:31:12 +02:00
|
|
|
%span.fa-solid.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' }
|
2022-05-18 06:31:12 +02:00
|
|
|
%span.fa-solid.fa-square-check
|
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' }
|
2022-05-18 06:31:12 +02:00
|
|
|
%span.fa-solid.fa-file-lines
|
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}
|