Cleaning main layout

This commit is contained in:
echarp 2014-12-14 11:36:56 +01:00
parent e7190c62e6
commit ed1c1d6ed0

View File

@ -1,6 +1,6 @@
!!! 5
/[if IE]
%html.no-js(lang="#{I18n.locale}")
%html.no-js{ lang: I18n.locale }
%head
%meta(charset='utf-8')
%meta(name='viewport' content='width=device-width, initial-scale=1.0')
@ -9,13 +9,15 @@
= display_meta_tags site: t('.title')
= favicon_link_tag '/favicon.ico'
= auto_discovery_link_tag :rss, { controller: '/events', format: :rss }
= auto_discovery_link_tag :rss, controller: '/events', format: :rss
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true,
type: 'text/javascript'
= csrf_meta_tags
%body(class = "#{controller.controller_name} #{controller.action_name}")
%body{ class: controller.controller_name + ' ' + controller.action_name }
%header.top
= image_tag 'baby_gnu_adl.png', alt: 'Baby GNU', class: :logo,
width: 100, height: 83
@ -67,4 +69,4 @@
%em.fa.fa-gavel
= t '.moderation'
%em#loading.fa.fa-spin.fa-circle-o-notch
%em.fa.fa-spin.fa-circle-o-notch#loading