Migrate to fontawesome 6
This commit is contained in:
parent
a79e9ee993
commit
d31233c033
63 changed files with 153 additions and 268 deletions
|
|
@ -8,15 +8,15 @@
|
|||
%ul.nav.nav-tabs#commentsTable
|
||||
%li.active
|
||||
%a{ href: '#unread_comments', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-comment
|
||||
%span.fa-solid.fa-comment
|
||||
Unread
|
||||
%li
|
||||
%a{ href: '#posted_comments', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-pencil
|
||||
%span.fa-solid.fa-pencil
|
||||
Posted
|
||||
%li
|
||||
%a{ href: '#all_comments', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-comments-o
|
||||
%span.fa-solid.fa-comments
|
||||
All
|
||||
.tab-content
|
||||
.tab-pane.active#unread_comments
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@
|
|||
icon: "user", subtitle: "User", value: @total_user, delta: @new_user
|
||||
.col-sm-3.col-xs-3
|
||||
= render "big_statistic",
|
||||
icon: "check-square", subtitle: "Registration", value: @total_reg, delta: @new_reg
|
||||
icon: "square-check", subtitle: "Registration", value: @total_reg, delta: @new_reg
|
||||
.col-sm-3.col-xs-3
|
||||
= render "big_statistic",
|
||||
icon: "file-text", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
|
||||
icon: "file-lines", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
|
||||
.col-sm-3.col-xs-3
|
||||
= render "big_statistic",
|
||||
icon: "archive", subtitle: "Withdrawn", value: @total_withdrawn, delta: @new_withdrawn, reverse: true
|
||||
icon: "box-archive", subtitle: "Withdrawn", value: @total_withdrawn, delta: @new_withdrawn, reverse: true
|
||||
|
||||
.row#registrations
|
||||
.col-md-8
|
||||
|
|
@ -33,15 +33,15 @@
|
|||
%ul.nav.nav-tabs#recentTable
|
||||
%li.active
|
||||
%a{ href: '#recent_user', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-user
|
||||
%span.fa-solid.fa-user
|
||||
Recent Users
|
||||
%li
|
||||
%a{ href: '#recent_reg', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-check-square
|
||||
%span.fa-solid.fa-square-check
|
||||
Recent Registrations
|
||||
%li
|
||||
%a{ href: '#recent_submissions', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-file-text
|
||||
%span.fa-solid.fa-file-lines
|
||||
Recent Submissions
|
||||
.tab-content
|
||||
.tab-pane.active#recent_user
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
%h1
|
||||
%span.fa.fa-tachometer
|
||||
%span.fa-solid.fa-gauge-high
|
||||
Dashboard for #{@conference.title}
|
||||
%hr
|
||||
.row
|
||||
|
|
@ -8,13 +8,13 @@
|
|||
icon: "user", subtitle: "Registration", value: @total_reg, delta: @new_reg
|
||||
.col-sm-3.col-xs-3
|
||||
= render "big_statistic",
|
||||
icon: "check-square", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
|
||||
icon: "square-check", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
|
||||
.col-sm-3.col-xs-3
|
||||
= render "big_statistic",
|
||||
icon: "file-text", subtitle: "Hour", value: @program_length, delta: @new_program_length
|
||||
icon: "file-lines", subtitle: "Hour", value: @program_length, delta: @new_program_length
|
||||
.col-sm-3.col-xs-3
|
||||
= render "big_statistic",
|
||||
icon: "archive", subtitle: "Withdrawn", value: @total_withdrawn, delta: @new_withdrawn
|
||||
icon: "box-archive", subtitle: "Withdrawn", value: @total_withdrawn, delta: @new_withdrawn
|
||||
|
||||
.row
|
||||
.col-md-12
|
||||
|
|
@ -41,15 +41,15 @@
|
|||
%ul.nav.nav-tabs#doughnut_tabs
|
||||
%li.active
|
||||
%a{ href: '#distribution_all', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-star
|
||||
%span.fa-solid.fa-star
|
||||
All
|
||||
%li
|
||||
%a{ href: '#distribution_confirmed', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-comment
|
||||
%span.fa-solid.fa-comment
|
||||
Confirmed
|
||||
%li
|
||||
%a{ href: '#distribution_withdrawn', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-archive
|
||||
%span.fa-solid.fa-box-archive
|
||||
Withdrawn
|
||||
.tab-content
|
||||
.tab-pane.active#distribution_all
|
||||
|
|
@ -91,11 +91,11 @@
|
|||
%ul.nav.nav-tabs#recentTable
|
||||
%li{ 'class' => "active #{hidden_if_conference_over(@conference)}" }
|
||||
%a{ href: '#recent_reg', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-user
|
||||
%span.fa-solid.fa-user
|
||||
Recent Registrations
|
||||
%li{ 'class' => "#{hidden_if_conference_over(@conference)}" }
|
||||
%a{ href: '#recent_submissions', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-file-text
|
||||
%span.fa-solid.fa-file-lines
|
||||
Recent Submissions
|
||||
.tab-content
|
||||
.tab-pane.active#recent_reg
|
||||
|
|
|
|||
|
|
@ -69,4 +69,4 @@
|
|||
= link_to new_admin_conference_survey_path(@conference.short_title,
|
||||
survey: { surveyable_type: 'Event', surveyable_id: event.id }),
|
||||
class: 'btn btn-success' do
|
||||
.fa.fa-plus
|
||||
.fa-solid.fa-plus
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@
|
|||
%th
|
||||
%b State
|
||||
%th
|
||||
.fa.fa-comment
|
||||
.fa-solid.fa-comment
|
||||
%th Add Survey
|
||||
- @events.each do |event|
|
||||
= render 'datatable_row',
|
||||
|
|
|
|||
|
|
@ -35,6 +35,6 @@
|
|||
= check_box_tag @conference.short_title, @event.id, event_registration.attended, class: 'switch-checkbox', url: "#{toggle_attendance_admin_conference_program_event_path(@conference, @event, events_registration_id: event_registration)}&&event_registration[attended]="
|
||||
%td
|
||||
- if event_registration.registration.attended
|
||||
%i.fa.fa-check.text-success
|
||||
%i.fa-solid.fa-check.text-success
|
||||
- else
|
||||
%i.fa.fa-close.text-danger
|
||||
%i.fa-solid.fa-xmark.text-danger
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
.thumbnail
|
||||
- unless lodging.picture?
|
||||
%p.text-center
|
||||
%i.fa.fa-home.fa-5x
|
||||
%i.fa-solid.fa-house.fa-5x
|
||||
- else
|
||||
- if lodging.website_link.present?
|
||||
= link_to(lodging.website_link, class: 'thumbnail') do
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
= organization.conferences.past.count
|
||||
%td.text-center
|
||||
- unless organization.code_of_conduct.blank?
|
||||
= fa_icon 'check', title: 'yes'
|
||||
= icon 'fa-solid', 'check', title: 'yes'
|
||||
%td
|
||||
.btn-group
|
||||
= link_to 'Admins', admins_admin_organization_path(organization),
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
checkboxSwitch("[class='switch-checkbox']");
|
||||
if (codeOfConductPresent) {
|
||||
iconize("td.code-of-conduct", "true", "check", "accepted");
|
||||
iconize("td.code-of-conduct", "false", "exclamation-circle", "Has not accepted Code of Conduct");
|
||||
iconize("td.code-of-conduct", "false", "circle-exclamation", "Has not accepted Code of Conduct");
|
||||
};
|
||||
// truncatify("td.truncate");
|
||||
},
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
= sponsorship_level.position
|
||||
.btn-group-vertical{role: "group"}
|
||||
= link_to(up_admin_conference_sponsorship_level_path(@conference.short_title, sponsorship_level.id), method: :patch, class: 'btn btn-default btn-xs') do
|
||||
%i.fa.fa-chevron-up
|
||||
%i.fa-solid.fa-chevron-up
|
||||
= link_to(down_admin_conference_sponsorship_level_path(@conference.short_title, sponsorship_level.id), method: :patch, class: 'btn btn-default btn-xs') do
|
||||
%i.fa.fa-chevron-down
|
||||
%i.fa-solid.fa-chevron-down
|
||||
%td
|
||||
= link_to 'Edit', edit_admin_conference_sponsorship_level_path(@conference.short_title, sponsorship_level.id),
|
||||
method: :get, class: 'btn btn-primary'
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
.form-group
|
||||
%select.selectpicker.form-control{ id: 'survey_question_kind', name: 'survey_question[kind]' }
|
||||
- SurveyQuestion.kinds.each do |kind|
|
||||
%option{ id: "#{kind.second}", 'data-icon' => "fa fa-#{SurveyQuestion::ICONS[kind.first.to_sym]}", selected: @survey_question.kind == kind.first }
|
||||
%option{ id: "#{kind.second}", 'data-icon' => "fa-solid fa-#{SurveyQuestion::ICONS[kind.first.to_sym]}", selected: @survey_question.kind == kind.first }
|
||||
= kind.first
|
||||
= f.submit nil, class: 'btn btn-primary'
|
||||
.col-md-6
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
.form-group{ class: 'datetimepicker' }
|
||||
.input-group
|
||||
.input-group-addon
|
||||
%span.fa.fa-calendar
|
||||
%span.fa-solid.fa-calendar
|
||||
%input.form-control{ readonly: 'readonly' }
|
||||
.kinds.numeric{ class: @survey_question.numeric? ? '' : 'hidden' }
|
||||
%input.form-control{ type: 'number' }
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
.form-group{ class: 'datetimepicker' }
|
||||
.input-group
|
||||
.input-group-addon
|
||||
%span.fa.fa-calendar
|
||||
%span.fa-solid.fa-calendar
|
||||
%input.form-control{ readonly: 'readonly', name: "survey_submission[#{survey_question.id}][]", value: survey_reply.text, required: survey_question.mandatory }
|
||||
- elsif survey_question.numeric?
|
||||
%input.form-control{ type: 'number', name: "survey_submission[#{survey_question.id}][]", value: survey_reply.text, required: survey_question.mandatory }
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@
|
|||
= survey_question.max_choices
|
||||
choices )
|
||||
- if survey_question.mandatory
|
||||
%span.fa.fa-asterisk.text-danger
|
||||
%span.fa-solid.fa-asterisk.text-danger
|
||||
- if can? :edit, @survey
|
||||
%p.pull-right
|
||||
= "(#{survey_question.survey_replies.count} replies)"
|
||||
= link_to edit_admin_conference_survey_survey_question_path(@conference.short_title, @survey, survey_question) do
|
||||
%span.fa.fa-edit
|
||||
%span.fa-solid.fa-pen-to-square
|
||||
= link_to admin_conference_survey_survey_question_path(@conference.short_title, @survey, survey_question), method: :delete, data: { confirm: 'Are you sure you want to delete this question?' } do
|
||||
%span.fa.fa-times
|
||||
%span.fa-solid.fa-xmark
|
||||
|
|
|
|||
|
|
@ -20,6 +20,6 @@
|
|||
%td= link_to event.title, admin_conference_program_event_path(event.program.conference.short_title, event)
|
||||
%td
|
||||
- if @user.attended_event?(event)
|
||||
%i.fa.fa-check.text-success
|
||||
%i.fa-solid.fa-check.text-success
|
||||
- else
|
||||
%i.fa.fa-times.text-danger
|
||||
%i.fa-solid.fa-xmark.text-danger
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue