Add font awesome

This commit is contained in:
benji 2015-09-10 22:57:00 +02:00
parent 80befb41c6
commit 6f37cbf8ac
3 changed files with 8 additions and 1 deletions

View file

@ -88,3 +88,5 @@ gem 'high_voltage', '~> 2.4.0'
# Errors on errbit # Errors on errbit
gem 'airbrake' gem 'airbrake'
gem 'font-awesome-sass'

View file

@ -101,6 +101,8 @@ GEM
i18n (~> 0.5) i18n (~> 0.5)
faraday (0.9.1) faraday (0.9.1)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
font-awesome-sass (4.4.0)
sass (>= 3.2)
globalid (0.3.6) globalid (0.3.6)
activesupport (>= 4.1.0) activesupport (>= 4.1.0)
haml (4.0.7) haml (4.0.7)
@ -292,6 +294,7 @@ DEPENDENCIES
devise devise
factory_girl_rails factory_girl_rails
faker faker
font-awesome-sass
haml-rails (~> 0.9) haml-rails (~> 0.9)
high_voltage (~> 2.4.0) high_voltage (~> 2.4.0)
jbuilder (~> 2.0) jbuilder (~> 2.0)

View file

@ -6,6 +6,8 @@
.panel-body .panel-body
.pure-g .pure-g
.bound.input-listen.pure-u-1{ 'data-input-type': 'date-range' } .bound.input-listen.pure-u-1{ 'data-input-type': 'date-range' }
%fieldset.pure-group-inline
%span.fa.fa-calendar.pure-group-addon
%input.lower-bound{type: 'date', placeholder: 'after'} %input.lower-bound{type: 'date', placeholder: 'after'}
\- \-
%input.upper-bound{type: 'date', placeholder: 'before'} %input.upper-bound{type: 'date', placeholder: 'before'}