diff --git a/Gemfile b/Gemfile index f4a9c65..0c579b9 100644 --- a/Gemfile +++ b/Gemfile @@ -88,3 +88,5 @@ gem 'high_voltage', '~> 2.4.0' # Errors on errbit gem 'airbrake' + +gem 'font-awesome-sass' diff --git a/Gemfile.lock b/Gemfile.lock index 8ee9fb8..ab5d11e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -101,6 +101,8 @@ GEM i18n (~> 0.5) faraday (0.9.1) multipart-post (>= 1.2, < 3) + font-awesome-sass (4.4.0) + sass (>= 3.2) globalid (0.3.6) activesupport (>= 4.1.0) haml (4.0.7) @@ -292,6 +294,7 @@ DEPENDENCIES devise factory_girl_rails faker + font-awesome-sass haml-rails (~> 0.9) high_voltage (~> 2.4.0) jbuilder (~> 2.0) diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index cfd2ce2..dfbea28 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -6,7 +6,9 @@ .panel-body .pure-g .bound.input-listen.pure-u-1{ 'data-input-type': 'date-range' } - %input.lower-bound{type: 'date', placeholder: 'after'} + %fieldset.pure-group-inline + %span.fa.fa-calendar.pure-group-addon + %input.lower-bound{type: 'date', placeholder: 'after'} \- %input.upper-bound{type: 'date', placeholder: 'before'} .pure-g