agenda-libre-ruby/app/views/layouts/application.html.haml

68 lines
2.0 KiB
Plaintext

!!! 5
/[if IE]
%html.no-js(lang="#{I18n.locale}")
%head
= display_meta_tags site: t('.title')
%meta(http-equiv='Content-Type' content='text/html; charset=utf-8')
%meta(name='viewport' content='width=device-width, initial-scale=1.0')
%meta(name='robots' content='index, follow')
= favicon_link_tag '/favicon.ico'
= 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
= csrf_meta_tags
%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
%ul.countries
%li.map_france
= link_to t('.france'), 'http://www.agendadulibre.org'
%li.map_quebec
= link_to t('.quebec'), 'http://www.agendadulibre.qc.ca'
%li.map_belgique
= link_to t('.belgique'), 'http://www.agendadulibre.be'
%li.map_suisse
= link_to t('.suisse'), 'http://www.agendadulibre.ch'
%h1= link_to t('.title'), root_url
%h2=t '.subtitle'
= render 'layouts/flash', flash: flash if flash.present?
%main= yield
%footer.bottom
%nav
= link_to new_event_path do
%em.fa.fa-pencil
=t '.propose'
= link_to regions_url do
%em.fa.fa-rss
=t '.feeds'
= link_to maps_url do
%em.fa.fa-map-marker
=t '.map'
= link_to tags_url do
%em.fa.fa-tags
=t '.tags'
= link_to application_infos_url do
%em.fa.fa-info
=t '.infos'
= link_to stats_regions_url do
%em.fa.fa-signal
=t '.stats'
= link_to application_contact_url do
%em.fa.fa-envelope
=t '.contact'
= link_to moderations_url do
%em.fa.fa-gavel
=t '.moderation'
%em#loading.fa.fa-spin.fa-circle-o-notch