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
|
2013-12-28 15:45:21 +01:00
|
|
|
%title=t '.title'
|
2013-11-24 16:11:44 +01:00
|
|
|
|
|
|
|
%meta(http-equiv='Content-Type' content='text/html; charset=utf-8')
|
|
|
|
|
2013-12-28 15:45:21 +01:00
|
|
|
%meta(name='description' content='Agende du Libre. Free Software Calendar')
|
2013-11-24 16:11:44 +01:00
|
|
|
%meta(name='author' content='Emmanuel Charpentier')
|
|
|
|
%meta(name='robots' content='index, follow')
|
2013-12-28 15:45:21 +01:00
|
|
|
%meta(name='keywords' content='calendar, agenda, date')
|
2013-11-24 16:11:44 +01:00
|
|
|
|
2013-12-28 15:45:21 +01:00
|
|
|
%meta(name='dcterms.title' content='Free Calendar' lang='en')
|
|
|
|
%meta(name='dcterms.title' content='Agenda du Libre' lang='fr')
|
|
|
|
%meta(name='dcterms.subject' content='agenda')
|
2013-11-24 16:11:44 +01:00
|
|
|
|
2013-12-29 00:23:08 +01:00
|
|
|
%link(rel='shortcut icon' href='/favicon.ico')
|
2013-11-24 16:11:44 +01:00
|
|
|
= auto_discovery_link_tag :atom, { format: :atom }
|
|
|
|
|
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
|
|
|
/[if lt IE 9]
|
|
|
|
%script(src='http://html5shiv.googlecode.com/svn/trunk/html5.js')
|
|
|
|
= csrf_meta_tags
|
|
|
|
|
|
|
|
// = javascript_include_tag 'html5'
|
|
|
|
// = javascript_include_tag 'PIE'
|
|
|
|
// /https://github.com/aFarkas/iepp/wiki
|
|
|
|
|
2014-01-05 18:50:37 +01:00
|
|
|
%body(class = "#{controller.controller_name} #{controller.action_name}")
|
2013-11-24 16:11:44 +01:00
|
|
|
= render 'layouts/flash', flash: flash if flash.present?
|
|
|
|
|
|
|
|
%header.top
|
2014-06-26 01:13:39 +02:00
|
|
|
= image_tag 'baby_gnu_adl.png', alt: 'baby gnu logo', class: :logo
|
2013-12-28 15:45:21 +01:00
|
|
|
%h1= link_to t('.title'), root_url
|
|
|
|
%h2=t '.subtitle'
|
2013-11-24 16:11:44 +01:00
|
|
|
|
2014-06-26 01:13:39 +02:00
|
|
|
%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-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
|
2013-12-28 23:45:13 +01:00
|
|
|
= image_tag 'france.png'
|
|
|
|
France
|
|
|
|
%li
|
|
|
|
= link_to 'http://www.agendadulibre.qc.ca' do
|
|
|
|
= image_tag 'quebec.png'
|
|
|
|
Québec
|
|
|
|
%li
|
2013-12-29 14:32:38 +01:00
|
|
|
= link_to 'http://www.agendadulibre.be' do
|
2013-12-28 23:45:13 +01:00
|
|
|
= image_tag 'belgique.png'
|
|
|
|
Belgique
|
|
|
|
%li
|
2013-12-29 14:32:38 +01:00
|
|
|
= link_to 'http://www.agendadulibre.ch' do
|
2013-12-28 23:45:13 +01:00
|
|
|
= image_tag 'suisse.png'
|
|
|
|
Suisse
|
|
|
|
|
2013-12-10 23:49:01 +01: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
|
2014-01-04 11:34:50 +01:00
|
|
|
= link_to t('.ical'), icallist_regions_url
|
2014-04-28 00:33:21 +02:00
|
|
|
= link_to t('.map'), maps_url
|
2014-01-05 22:10:11 +01:00
|
|
|
= link_to t('.tags'), tags_url
|
2014-05-17 17:40:17 +02:00
|
|
|
= link_to t('.infos'), application_infos_url
|
2014-01-05 18:48:32 +01:00
|
|
|
= link_to t('.stats'), stats_regions_url
|
2014-05-17 17:48:55 +02:00
|
|
|
= link_to t('.contact'), application_contact_url
|
2014-01-06 11:22:39 +01:00
|
|
|
= link_to t('.moderation'), moderations_url
|