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

64 lines
2.2 KiB
Plaintext
Raw Normal View History

2013-11-24 16:11:44 +01:00
!!! 5
/[if IE]
%html.no-js(lang="#{I18n.locale}")
2013-11-24 16:11:44 +01:00
%head
= display_meta_tags site: t('.title')
2013-11-24 16:11:44 +01:00
%meta(http-equiv='Content-Type' content='text/html; charset=utf-8')
%meta(name='viewport' content='width=device-width, initial-scale=1.0')
2013-11-24 16:11:44 +01:00
%meta(name='robots' content='index, follow')
= favicon_link_tag '/favicon.ico'
2014-06-29 10:29:43 +02:00
= auto_discovery_link_tag :rss, { controller: '/events', format: :rss }
2013-11-24 16:11:44 +01:00
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
2013-11-24 16:11:44 +01:00
= csrf_meta_tags
%body(class = "#{controller.controller_name} #{controller.action_name}")
2013-11-24 16:11:44 +01:00
%header.top
= image_tag 'baby_gnu_adl.png', alt: 'Baby GNU', class: :logo
2014-03-06 23:10:36 +01:00
2013-12-28 23:45:13 +01:00
%ul.countries
%li
= link_to 'http://www.agendadulibre.org' do
= image_tag 'france.png', alt: ''
=t '.france'
2013-12-28 23:45:13 +01:00
%li
= link_to 'http://www.agendadulibre.qc.ca' do
= image_tag 'quebec.png', alt: ''
=t '.quebec'
2013-12-28 23:45:13 +01:00
%li
= link_to 'http://www.agendadulibre.be' do
= image_tag 'belgique.png', alt: ''
=t '.belgique'
2013-12-28 23:45:13 +01:00
%li
= link_to 'http://www.agendadulibre.ch' do
= image_tag 'suisse.png', alt: ''
=t '.suisse'
2013-12-28 23:45:13 +01:00
2014-07-02 00:37:53 +02:00
%h1= link_to t('.title'), root_url
%h2=t '.subtitle'
%a#banner(href='http://april.org/campagne')
%img(src='http://www.april.org/campagne/images/priorite-logiciel-libre-je-soutiens-april.png'
width='580' height='76' alt='Priorité au Logiciel Libre! Je soutiens l\'April.')
2014-06-29 10:29:43 +02:00
= render 'layouts/flash', flash: flash if flash.present?
2014-07-02 00:37:53 +02:00
%main= yield
2013-11-24 16:11:44 +01:00
%footer.bottom
%nav
2013-12-28 23:45:13 +01:00
= link_to t('.propose'), new_event_path
2014-01-02 00:21:49 +01:00
= link_to t('.rss'), regions_url
= link_to t('.ical'), icallist_regions_url
= link_to t('.map'), maps_url
2014-01-05 22:10:11 +01:00
= link_to t('.tags'), tags_url
= link_to t('.infos'), application_infos_url
= link_to t('.stats'), stats_regions_url
= link_to t('.contact'), application_contact_url
2014-01-06 11:22:39 +01:00
= link_to t('.moderation'), moderations_url
%em#loading.fa.fa-spin.fa-circle-o-notch