Added header
This commit is contained in:
@@ -4,6 +4,8 @@ AllCops:
|
||||
- config.ru
|
||||
Exclude:
|
||||
- bin/**
|
||||
- config/**/*
|
||||
- spec/**/*
|
||||
- spec/dummy/config/initializers/secret_token.rb
|
||||
Documentation:
|
||||
Enabled: false
|
||||
|
||||
@@ -23,8 +23,11 @@ $font-size-h3: $font-size-base
|
||||
@import "typeaheadjs"
|
||||
|
||||
body
|
||||
.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
|
||||
font-weight: normal
|
||||
.pagelogo
|
||||
|
||||
@@ -37,5 +37,6 @@ html lang="#{I18n.locale}"
|
||||
|
||||
/ = console if Rails.env.development?
|
||||
.container
|
||||
= render 'shared/header'
|
||||
= render 'shared/flashes'
|
||||
= 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
|
||||
.col-xs-12.col-md-7
|
||||
h2.sr-only =t('.form')
|
||||
|
||||
@@ -40,6 +40,10 @@ de:
|
||||
title: Besten Dank für deine Unterstützung!
|
||||
|
||||
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:
|
||||
supporters: "Unterstützer:"
|
||||
amount_of_supporters: Zurzeit haben wir %{amount} Unterstützer.
|
||||
|
||||
Reference in New Issue
Block a user