mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
20 lines
854 B
Text
20 lines
854 B
Text
.well#registrations
|
|
.row
|
|
.text-center
|
|
%h4 Conference registrations over time
|
|
.row
|
|
.registrationsChart{"data-chart"=>"#{registrations.to_json}", "data-conferences"=>"#{conferences.to_json}", "data-weeks"=>"#{registration_weeks.to_json}"}
|
|
%canvas.line_chart#registrationsChart{"data-name"=>"registrations"}
|
|
.row
|
|
.text-center
|
|
weeks
|
|
.row
|
|
.conferenceCheckboxes#registrationsCheckboxes
|
|
- conferences.each do |conference|
|
|
%div
|
|
%span{"style"=>"border-bottom: 3px solid #{conference.color};", "data-chart"=> "registrations"}
|
|
- if conference.pending?
|
|
%input{"type"=>"checkbox", "name"=>"#{conference.short_title}", "checked"=>"checked"}
|
|
- else
|
|
%input{"type"=>"checkbox", "name"=>"#{conference.short_title}"}
|
|
#{conference.short_title}
|