Added EU cookie compliance handling.

Adds an annoying bar at the bottom to comply with EU
cookie privacy law (while the secret services strip us naked
and craps on our privacy big time).
This commit is contained in:
Christoph Haas 2015-04-19 11:32:02 +02:00
parent 8c3de4c142
commit 3d297b0cb6
5 changed files with 13 additions and 0 deletions

View file

@ -90,3 +90,6 @@ gem 'slim-rails'
# Attachment/image handling
gem "paperclip", "~> 4.2"
# Comply with stupid european cookie law
gem 'cookies_eu'

View file

@ -60,6 +60,9 @@ GEM
execjs
coffee-script-source (1.9.1.1)
columnize (0.9.0)
cookies_eu (1.0.19)
jquery-cookie-rails
jquery-rails
debug_inspector (0.0.2)
erubis (2.7.0)
execjs (2.5.2)
@ -74,6 +77,8 @@ GEM
jbuilder (2.2.13)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jquery-cookie-rails (1.3.1.1)
railties (>= 3.2.0, < 5.0)
jquery-rails (4.0.3)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
@ -187,6 +192,7 @@ DEPENDENCIES
binding_of_caller
byebug
coffee-rails (~> 4.1.0)
cookies_eu
fancybox2-rails (~> 0.2.8)
foundation-rails
jbuilder (~> 2.0)

View file

@ -14,4 +14,5 @@
//= require jquery_ujs
//= require foundation
//= require fancybox
//= require cookies_eu
//= require_tree .

View file

@ -9,6 +9,7 @@
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
*= require cookies_eu
*= require fancybox
*/

View file

@ -11,3 +11,5 @@
a href="mailto:email@christoph-haas.de" feedback?
' | Kindly hosted by
a href="http://vexxhost.com/" VEXXHOST
= render 'cookies_eu/cookies_eu', link: '/cookies'