Merge branch 'delint'
* delint: Hide stuff again on admin conf show update snapcon logo more delinting Delint event page Delint by re-enabling everying on the conference admin page
This commit is contained in:
commit
4d1edf5872
5 changed files with 53 additions and 53 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 15 KiB |
BIN
app/assets/images/snapshot-2020.png
Normal file
BIN
app/assets/images/snapshot-2020.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
|
|
@ -28,7 +28,7 @@
|
||||||
.col-md-12
|
.col-md-12
|
||||||
= render 'line_chart',
|
= render 'line_chart',
|
||||||
title: 'Submissions per week', data: @submissions
|
title: 'Submissions per week', data: @submissions
|
||||||
.col-md-4
|
-# .col-md-4
|
||||||
-# = render 'todo_list',
|
-# = render 'todo_list',
|
||||||
-# conference_progress: @conference_progress, conference: @conference
|
-# conference_progress: @conference_progress, conference: @conference
|
||||||
.row#tickets
|
.row#tickets
|
||||||
|
|
@ -43,48 +43,48 @@
|
||||||
%a{ href: '#distribution_all', 'data-toggle' => 'tab' }
|
%a{ href: '#distribution_all', 'data-toggle' => 'tab' }
|
||||||
%span.fa.fa-star
|
%span.fa.fa-star
|
||||||
All
|
All
|
||||||
%li
|
-# %li
|
||||||
%a{ href: '#distribution_confirmed', 'data-toggle' => 'tab' }
|
-# %a{ href: '#distribution_confirmed', 'data-toggle' => 'tab' }
|
||||||
%span.fa.fa-comment
|
-# %span.fa.fa-comment
|
||||||
Confirmed
|
-# Confirmed
|
||||||
%li
|
-# %li
|
||||||
%a{ href: '#distribution_withdrawn', 'data-toggle' => 'tab' }
|
-# %a{ href: '#distribution_withdrawn', 'data-toggle' => 'tab' }
|
||||||
%span.fa.fa-archive
|
-# %span.fa.fa-archive
|
||||||
Withdrawn
|
-# Withdrawn
|
||||||
.tab-content
|
.tab-content
|
||||||
.tab-pane.active#distribution_all
|
.tab-pane.active#distribution_all
|
||||||
.row
|
.row
|
||||||
.col-md-4
|
.col-md-4
|
||||||
= render 'donut_chart', title: 'Event types',
|
= render 'donut_chart', title: 'Event types',
|
||||||
combined_data: @event_type_distribution
|
combined_data: @event_type_distribution
|
||||||
.col-md-4
|
|
||||||
-# = render 'donut_chart', title: 'Difficulty levels',
|
|
||||||
-# combined_data: @difficulty_levels_distribution
|
|
||||||
.col-md-4
|
|
||||||
-# = render 'donut_chart', title: 'Tracks',
|
|
||||||
-# combined_data: @tracks_distribution
|
|
||||||
.tab-pane#distribution_confirmed
|
|
||||||
.row
|
|
||||||
.col-md-4
|
|
||||||
-# = render 'donut_chart', title: 'Event types',
|
|
||||||
-# combined_data: @event_type_distribution_confirmed
|
|
||||||
.col-md-4
|
|
||||||
-# = render 'donut_chart', title: 'Difficulty levels',
|
|
||||||
-# combined_data: @difficulty_levels_distribution_confirmed
|
|
||||||
.col-md-4
|
|
||||||
-# = render 'donut_chart', title: 'Tracks',
|
|
||||||
-# combined_data: @tracks_distribution_confirmed
|
|
||||||
.tab-pane#distribution_withdrawn
|
|
||||||
.row
|
|
||||||
.col-md-4
|
|
||||||
= render 'donut_chart', title: 'Event types',
|
|
||||||
combined_data: @event_type_distribution_withdrawn
|
|
||||||
.col-md-4
|
.col-md-4
|
||||||
= render 'donut_chart', title: 'Difficulty levels',
|
= render 'donut_chart', title: 'Difficulty levels',
|
||||||
combined_data: @difficulty_levels_distribution_withdrawn
|
combined_data: @difficulty_levels_distribution
|
||||||
.col-md-4
|
.col-md-4
|
||||||
= render 'donut_chart', title: 'Tracks',
|
= render 'donut_chart', title: 'Tracks',
|
||||||
combined_data: @tracks_distribution_withdrawn
|
combined_data: @tracks_distribution
|
||||||
|
-# .tab-pane#distribution_confirmed
|
||||||
|
-# .row
|
||||||
|
-# .col-md-4
|
||||||
|
-# = render 'donut_chart', title: 'Event types',
|
||||||
|
-# combined_data: @event_type_distribution_confirmed
|
||||||
|
-# .col-md-4
|
||||||
|
-# = render 'donut_chart', title: 'Difficulty levels',
|
||||||
|
-# combined_data: @difficulty_levels_distribution_confirmed
|
||||||
|
-# .col-md-4
|
||||||
|
-# = render 'donut_chart', title: 'Tracks',
|
||||||
|
-# combined_data: @tracks_distribution_confirmed
|
||||||
|
-# .tab-pane#distribution_withdrawn
|
||||||
|
-# .row
|
||||||
|
-# .col-md-4
|
||||||
|
-# = render 'donut_chart', title: 'Event types',
|
||||||
|
-# combined_data: @event_type_distribution_withdrawn
|
||||||
|
-# .col-md-4
|
||||||
|
-# = render 'donut_chart', title: 'Difficulty levels',
|
||||||
|
-# combined_data: @difficulty_levels_distribution_withdrawn
|
||||||
|
-# .col-md-4
|
||||||
|
-# = render 'donut_chart', title: 'Tracks',
|
||||||
|
-# combined_data: @tracks_distribution_withdrawn
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-md-8
|
.col-md-8
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
.panel.panel-default{class: ("panel-success" if event.registrations.include?(@registration)) }
|
.panel.panel-default{c lass: ("panel-success" if event.registrations.include?(@registration)) }
|
||||||
.panel-heading
|
.panel-heading
|
||||||
%label{for: "registration_event_ids_#{event.id}"}
|
%label{ for: "registration_event_ids_#{event.id}" }
|
||||||
%h3{style: 'margin: 0 auto;'}
|
%h3{ style: 'margin: 0 auto;' }
|
||||||
= hidden_field_tag "registration[event_ids][]", nil
|
= hidden_field_tag 'registration[event_ids][]', nil
|
||||||
= check_box_tag "registration[event_ids][]", event.id, event.registrations.include?(@registration), id: "registration_event_ids_#{event.id}"
|
= check_box_tag 'registration[event_ids][]', event.id, event.registrations.include?(@registration), id: "registration_event_ids_#{event.id}"
|
||||||
= event.title
|
= event.title
|
||||||
%small
|
%small
|
||||||
= event.subtitle
|
= event.subtitle
|
||||||
|
|
@ -13,16 +13,16 @@
|
||||||
(Scheduled on: #{event.time.to_date})
|
(Scheduled on: #{event.time.to_date})
|
||||||
|
|
||||||
.panel-body
|
.panel-body
|
||||||
-# %p
|
%p
|
||||||
-# = canceled_replacement_event_label(event, event_schedule)
|
= canceled_replacement_event_label(event, event_schedule)
|
||||||
-# = replacement_event_notice(event_schedule)
|
= replacement_event_notice(event_schedule)
|
||||||
%p
|
%p
|
||||||
- if event.speakers.any?
|
- if event.speakers.any?
|
||||||
presented by #{event.speaker_names}
|
presented by #{event.speaker_names}
|
||||||
- if event_schedule.present?
|
- if event_schedule.present?
|
||||||
.h4.track
|
.h4.track
|
||||||
%span.fa.fa-clock-o
|
%span.fa.fa-clock-o
|
||||||
%span.label{ style: "background-color: grey" }
|
%span.label{ style: 'background-color: grey' }
|
||||||
= event_schedule.start_time.strftime('%A, %B %-d %H:%M')
|
= event_schedule.start_time.strftime('%A, %B %-d %H:%M')
|
||||||
\-
|
\-
|
||||||
= event_schedule.end_time.strftime('%H:%M')
|
= event_schedule.end_time.strftime('%H:%M')
|
||||||
|
|
|
||||||
|
|
@ -9,26 +9,25 @@
|
||||||
.col-md-12
|
.col-md-12
|
||||||
%h2
|
%h2
|
||||||
#{pluralize(@events_schedules.count, 'Event')} Occurring Within The Next 30 minutes.
|
#{pluralize(@events_schedules.count, 'Event')} Occurring Within The Next 30 minutes.
|
||||||
%h3
|
%small
|
||||||
This page was loaded at
|
This page was loaded at
|
||||||
= inyourtz(Time.now) do
|
= inyourtz(Time.now) do
|
||||||
#{Time.now.strftime('%a %b %d at %I:%M %P (%z)')}
|
#{Time.now.strftime('%a %b %d at %I:%M %P (%z)')}
|
||||||
|
|
||||||
.row
|
.row
|
||||||
/ TODO: Clean this up, merge with all events page.
|
/ TODO: Clean this up, merge with all events page.
|
||||||
/ scheduled events
|
|
||||||
- date = nil
|
- date = nil
|
||||||
- time = nil
|
- time = nil
|
||||||
- @events_schedules.each do |event_schedule|
|
- @events_schedules.each do |event_schedule|
|
||||||
- unless event_schedule.start_time.strftime('%Y-%m-%d').eql?(date)
|
- unless event_schedule.start_time.strftime('%Y-%m-%d').eql?(date)
|
||||||
.col-xs-12.col-md-12
|
.col-xs-12.col-md-12
|
||||||
.date-content
|
.date-content
|
||||||
%span{ class: 'date-title', id: "#{ event_schedule.start_time.strftime('%Y-%m-%d') }" }
|
%span{ class: 'date-title', id: event_schedule.start_time.strftime('%Y-%m-%d') }
|
||||||
= inyourtz(event_schedule.start_time, @conference.timezone) do
|
= inyourtz(event_schedule.start_time, @conference.timezone) do
|
||||||
= date = event_schedule.start_time.strftime('%Y-%m-%d')
|
= date = event_schedule.start_time.strftime('%Y-%m-%d')
|
||||||
%a{ title: "Go up", class: "pull-right", href: "#program" }
|
%a{ title: 'Go up', class: 'pull-right', href: '#program' }
|
||||||
%i{ class: "fa fa-angle-double-up fa-lg", 'aria-hidden' => true }
|
%i.fa.fa-angle-double-up.fa-lg{ 'aria-hidden': true }
|
||||||
- unless event_schedule.start_time.strftime('%H:%M').eql?(time)
|
- if !event_schedule.start_time.strftime('%H:%M').eql?(time)
|
||||||
.col-xs-12.col-md-1
|
.col-xs-12.col-md-1
|
||||||
.start-time
|
.start-time
|
||||||
= inyourtz(event_schedule.start_time, @conference.timezone) do
|
= inyourtz(event_schedule.start_time, @conference.timezone) do
|
||||||
|
|
@ -37,6 +36,7 @@
|
||||||
.new-time-event
|
.new-time-event
|
||||||
= render 'event', event: event_schedule.event, event_schedule: event_schedule
|
= render 'event', event: event_schedule.event, event_schedule: event_schedule
|
||||||
- else
|
- else
|
||||||
|
-# TODO: Add comment describing this condition.
|
||||||
.col-xs-12.col-md-11.col-md-offset-1
|
.col-xs-12.col-md-11.col-md-offset-1
|
||||||
= render 'event', event: event_schedule.event, event_schedule: event_schedule
|
= render 'event', event: event_schedule.event, event_schedule: event_schedule
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue