From 6f37cbf8ac1e762cd92e63295077a65e967b737d Mon Sep 17 00:00:00 2001 From: benji Date: Thu, 10 Sep 2015 22:57:00 +0200 Subject: [PATCH] Add font awesome --- Gemfile | 2 ++ Gemfile.lock | 3 +++ app/views/users/show.html.haml | 4 +++- 3 files changed, 8 insertions(+), 1 deletion(-) 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