2013-11-24 16:11:44 +01:00
|
|
|
!!! 5
|
|
|
|
/[if IE]
|
2014-03-07 19:34:07 +01:00
|
|
|
%html.no-js(lang="#{I18n.locale}")
|
2013-11-24 16:11:44 +01:00
|
|
|
%head
|
2014-07-18 13:20:11 +02:00
|
|
|
= 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')
|
2014-06-29 11:36:17 +02:00
|
|
|
%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')
|
|
|
|
|
2014-06-27 10:02:31 +02:00
|
|
|
= 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
|
|
|
|
2014-06-26 01:13:39 +02: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
|
|
|
|
|
2014-01-05 18:50:37 +01:00
|
|
|
%body(class = "#{controller.controller_name} #{controller.action_name}")
|
2013-11-24 16:11:44 +01:00
|
|
|
%header.top
|
2014-06-27 13:46:37 +02:00
|
|
|
= 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
|
2013-12-29 14:32:38 +01:00
|
|
|
= link_to 'http://www.agendadulibre.org' do
|
2014-07-12 14:02:18 +02:00
|
|
|
= image_tag 'france.png', alt: ''
|
2014-06-27 13:46:37 +02:00
|
|
|
=t '.france'
|
2013-12-28 23:45:13 +01:00
|
|
|
%li
|
|
|
|
= link_to 'http://www.agendadulibre.qc.ca' do
|
2014-07-12 14:02:18 +02:00
|
|
|
= image_tag 'quebec.png', alt: ''
|
2014-06-27 13:46:37 +02:00
|
|
|
=t '.quebec'
|
2013-12-28 23:45:13 +01:00
|
|
|
%li
|
2013-12-29 14:32:38 +01:00
|
|
|
= link_to 'http://www.agendadulibre.be' do
|
2014-07-12 14:02:18 +02:00
|
|
|
= image_tag 'belgique.png', alt: ''
|
2014-06-27 13:46:37 +02:00
|
|
|
=t '.belgique'
|
2013-12-28 23:45:13 +01:00
|
|
|
%li
|
2013-12-29 14:32:38 +01:00
|
|
|
= link_to 'http://www.agendadulibre.ch' do
|
2014-07-12 14:02:18 +02:00
|
|
|
= image_tag 'suisse.png', alt: ''
|
2014-06-27 13:46:37 +02:00
|
|
|
=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
|
2014-07-20 14:18:38 +02:00
|
|
|
= 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
|
2014-07-21 23:17:11 +02:00
|
|
|
%em.fa.fa-signal
|
2014-07-20 14:18:38 +02:00
|
|
|
=t '.stats'
|
|
|
|
= link_to application_contact_url do
|
2014-07-21 23:17:11 +02:00
|
|
|
%em.fa.fa-envelope
|
2014-07-20 14:18:38 +02:00
|
|
|
=t '.contact'
|
|
|
|
= link_to moderations_url do
|
2014-07-21 23:17:11 +02:00
|
|
|
%em.fa.fa-gavel
|
2014-07-20 14:18:38 +02:00
|
|
|
=t '.moderation'
|
2014-07-17 16:45:12 +02:00
|
|
|
|
|
|
|
%em#loading.fa.fa-spin.fa-circle-o-notch
|