osem-fcy/app/views/admin/conferences/index.html.haml

55 lines
2 KiB
Text
Raw Normal View History

.row
.col-sm-3.col-xs-3
= render "big_statistic",
2018-09-26 12:23:59 -07:00
icon: "user", subtitle: "User", value: @total_user, delta: @new_user
.col-sm-3.col-xs-3
= render "big_statistic",
2022-05-18 06:31:12 +02:00
icon: "square-check", subtitle: "Registration", value: @total_reg, delta: @new_reg
.col-sm-3.col-xs-3
= render "big_statistic",
2022-05-18 06:31:12 +02:00
icon: "file-lines", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
.col-sm-3.col-xs-3
= 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
.col-md-8
= render 'line_chart', title: 'Registrations per week', data: @registrations
.col-md-4
= render 'donut_chart', title: 'Events',
data: @event_distribution, colors: @event_distribution_colors
2014-06-16 13:51:43 +02:00
.row#submissions
.col-md-8
= render 'line_chart', title: 'Submissions per week', data: @submissions
.col-md-4
= 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
= 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
.col-md-8
2014-06-16 13:51:43 +02:00
%ul.nav.nav-tabs#recentTable
%li.active
%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
%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
%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}
.col-md-4
= render partial: 'top_submitter', locals: {top_submitter: @top_submitter}