diff --git a/Gemfile b/Gemfile index df84bb580..9658b645f 100644 --- a/Gemfile +++ b/Gemfile @@ -11,6 +11,8 @@ gem 'bootstrap-sass', '~> 3.3.5' gem 'sass-rails', '~> 5.0' gem 'bootstrap_form' gem 'yomu' +gem 'font-awesome-rails', '~> 4.6' + # JS datetime library, requirement of datetime picker gem 'momentjs-rails', '>= 2.9.0' # JS datetime picker @@ -52,7 +54,7 @@ gem 'aws-sdk', '~> 2.2.8' gem 'aws-sdk-v1' gem 'delayed_job_active_record' gem 'devise-async' -gem 'ruby-graphviz', '~> 1.2' # Graphviz for rails +gem 'ruby-graphviz', '~> 1.2' # Graphviz for rails group :development, :test do gem 'byebug' diff --git a/Gemfile.lock b/Gemfile.lock index f008db80c..32f598656 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -110,6 +110,8 @@ GEM i18n (~> 0.5) figaro (1.1.1) thor (~> 0.14) + font-awesome-rails (4.6.3.1) + railties (>= 3.2, < 5.1) globalid (0.3.6) activesupport (>= 4.1.0) hammerjs-rails (2.0.4) @@ -305,6 +307,7 @@ DEPENDENCIES devise_invitable faker figaro + font-awesome-rails (~> 4.6) hammerjs-rails i18n-js (>= 3.0.0.rc11) introjs-rails diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 7f2c9605a..32c8f3c51 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -16,4 +16,5 @@ @import "bootstrap-tagsinput-typeahead"; @import "handsontable.full.min"; @import "extend/bootstrap"; +@import "font-awesome"; @import "themes/scinote"; diff --git a/app/views/reports/elements/_experiment_element.html.erb b/app/views/reports/elements/_experiment_element.html.erb index fde6f41dc..372defcb0 100644 --- a/app/views/reports/elements/_experiment_element.html.erb +++ b/app/views/reports/elements/_experiment_element.html.erb @@ -5,7 +5,7 @@ data-type="experiment" data-id="<%= experiment.id %>" data-modal-title="<%=t "projects.reports.elements.modals.experiment_contents.head_title", - experiment: experiment.name %>" data-name="<%= name %>" data-icon-class="glyphicon-filter"> + experiment: experiment.name %>" data-name="<%= name %>" data-icon-class="fa fa-flask">