Added header
This commit is contained in:
@@ -4,6 +4,8 @@ AllCops:
|
|||||||
- config.ru
|
- config.ru
|
||||||
Exclude:
|
Exclude:
|
||||||
- bin/**
|
- bin/**
|
||||||
|
- config/**/*
|
||||||
|
- spec/**/*
|
||||||
- spec/dummy/config/initializers/secret_token.rb
|
- spec/dummy/config/initializers/secret_token.rb
|
||||||
Documentation:
|
Documentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|||||||
@@ -23,7 +23,10 @@ $font-size-h3: $font-size-base
|
|||||||
@import "typeaheadjs"
|
@import "typeaheadjs"
|
||||||
|
|
||||||
body
|
body
|
||||||
padding-top: 20px
|
.container
|
||||||
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
|
||||||
|
padding-top: 20px
|
||||||
|
|
||||||
|
|
||||||
.lead
|
.lead
|
||||||
font-weight: normal
|
font-weight: normal
|
||||||
|
|||||||
@@ -37,5 +37,6 @@ html lang="#{I18n.locale}"
|
|||||||
|
|
||||||
/ = console if Rails.env.development?
|
/ = console if Rails.env.development?
|
||||||
.container
|
.container
|
||||||
|
= render 'shared/header'
|
||||||
= render 'shared/flashes'
|
= render 'shared/flashes'
|
||||||
= yield
|
= yield
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
header
|
||||||
|
.row
|
||||||
|
.col-md-1.col-xs-4
|
||||||
|
= image_tag('ch420_logo.png', class:'img-responsive pagelogo', alt: t('.logo'))
|
||||||
|
.col-md-8.col-xs-8
|
||||||
|
h1
|
||||||
|
= title t('.title_html')
|
||||||
|
.col-xs-12.col-md-3
|
||||||
|
nav.pull-right
|
||||||
|
h2.sr-only =t('.lang')
|
||||||
|
a href='/' lang='de'
|
||||||
|
| Deutsch
|
||||||
|
| |
|
||||||
|
a href='/it' lang='it'
|
||||||
|
| Italiano
|
||||||
|
| |
|
||||||
|
a href='/fr' lang='fr'
|
||||||
|
| Français
|
||||||
|
br/
|
||||||
|
= render 'shared/counter'
|
||||||
@@ -1,22 +1,3 @@
|
|||||||
.row
|
|
||||||
.col-md-1.col-xs-4
|
|
||||||
= image_tag('ch420_logo.png', class:'img-responsive pagelogo', alt: t('.logo'))
|
|
||||||
.col-md-8.col-xs-8
|
|
||||||
h1
|
|
||||||
= title t('.title_html')
|
|
||||||
.col-xs-12.col-md-3
|
|
||||||
nav.pull-right
|
|
||||||
h2.sr-only =t('.lang')
|
|
||||||
a href='/' lang='de'
|
|
||||||
| Deutsch
|
|
||||||
| |
|
|
||||||
a href='/it' lang='it'
|
|
||||||
| Italiano
|
|
||||||
| |
|
|
||||||
a href='/fr' lang='fr'
|
|
||||||
| Français
|
|
||||||
br/
|
|
||||||
= render 'shared/counter'
|
|
||||||
.row
|
.row
|
||||||
.col-xs-12.col-md-7
|
.col-xs-12.col-md-7
|
||||||
h2.sr-only =t('.form')
|
h2.sr-only =t('.form')
|
||||||
|
|||||||
@@ -38,12 +38,16 @@ de:
|
|||||||
pages:
|
pages:
|
||||||
thanks:
|
thanks:
|
||||||
title: Besten Dank für deine Unterstützung!
|
title: Besten Dank für deine Unterstützung!
|
||||||
|
|
||||||
shared:
|
shared:
|
||||||
|
header:
|
||||||
|
logo: Logo der Initiative
|
||||||
|
title_html: Ja, ich will <strong class="text-success">Cannabis</strong> in der Schweiz <strong class="text-success">legalisieren</strong>
|
||||||
|
|
||||||
counter:
|
counter:
|
||||||
supporters: "Unterstützer:"
|
supporters: "Unterstützer:"
|
||||||
amount_of_supporters: Zurzeit haben wir %{amount} Unterstützer.
|
amount_of_supporters: Zurzeit haben wir %{amount} Unterstützer.
|
||||||
|
|
||||||
mongoid:
|
mongoid:
|
||||||
attributes:
|
attributes:
|
||||||
supporter:
|
supporter:
|
||||||
|
|||||||
Reference in New Issue
Block a user