Migrate to fontawesome 6

This commit is contained in:
Sasi Olin 2022-05-18 06:31:12 +02:00
parent a79e9ee993
commit d31233c033
63 changed files with 153 additions and 268 deletions

View file

@ -56,8 +56,8 @@
%a.left.carousel-control{ href: "#carousel-#{ date }-#{ hrs_per_slide }", |
role: "button", |
"data-slide" => "prev" }
%span.glyphicon.glyphicon-chevron-left
%span.fa-solid.fa-chevron-left
%a.right.carousel-control{ href: "#carousel-#{ date }-#{ hrs_per_slide }", |
role: "button", |
"data-slide" => "next" }
%span.glyphicon.glyphicon-chevron-right
%span.fa-solid.fa-chevron-right

View file

@ -22,17 +22,17 @@
= link_to 'more', conference_program_proposal_path(@conference.short_title, event.id) if event.abstract.length > 400
- if event_schedule.present?
%span.track
%span.fa.fa-clock-o
%span.fa-solid.fa-clock
%span.label{ style: "background-color: grey" }
= event_schedule.start_time.strftime('%H:%M')
\-
= event_schedule.end_time.strftime('%H:%M')
%span.track
%span.fa.fa-map-marker
%span.fa-solid.fa-location-dot
%span.label{ style: "background-color: grey" }
= event_schedule.room.name
- if event.track
%span.track
%span.fa.fa-road
%span.fa-solid.fa-road
%span.label{ style: "background-color: #{event.track.color}; color: #{ contrast_color(event.track.color) }" }
= event.track.name

View file

@ -29,7 +29,7 @@
%span{ class: 'date-title', id: "#{ 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" }
%i{ class: "fa fa-angle-double-up fa-lg", 'aria-hidden' => true }
%i{ class: "fa-solid fa-angles-up fa-lg", 'aria-hidden' => true }
- unless event_schedule.start_time.strftime('%H:%M').eql?(time)
.col-xs-12.col-md-1
.start-time
@ -48,7 +48,7 @@
%span.date-title#unscheduled
Unscheduled events
%a{ title: "Go up", class: "pull-right", href: "#program" }
%i{ class: "fa fa-angle-double-up fa-lg", 'aria-hidden' => true }
%i{ class: "fa-solid fa-angles-up fa-lg", 'aria-hidden' => true }
- @unscheduled_events.each do |event|
.col-xs-12.col-md-12
.unscheduled-event