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

72 lines
2.2 KiB
Plaintext
Raw Normal View History

2013-11-24 16:11:44 +01:00
!!! 5
/[if IE]
%html(lang="#{I18n.locale}")
%head
%title=t '.title'
2013-11-24 16:11:44 +01:00
%meta(http-equiv='Content-Type' content='text/html; charset=utf-8')
%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')
%meta(name='keywords' content='calendar, agenda, date')
2013-11-24 16:11:44 +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-28 23:45:13 +01:00
= favicon_link_tag
2013-11-24 16:11:44 +01:00
= auto_discovery_link_tag :atom, { format: :atom }
= stylesheet_link_tag 'application', media: "all", "data-turbolinks-track" => true
= javascript_include_tag 'application', "data-turbolinks-track" => true
/[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
%body(class = "#{controller.controller_name}")
= render 'layouts/flash', flash: flash if flash.present?
%header.top
%h1= link_to t('.title'), root_url
%h2=t '.subtitle'
2013-11-24 16:11:44 +01:00
2013-12-28 23:45:13 +01:00
%ul.countries
%li
= link_to '/fr' do
= image_tag 'france.png'
France
%li
= link_to 'http://www.agendadulibre.qc.ca' do
= image_tag 'quebec.png'
Québec
%li
= link_to '/be' do
= image_tag 'belgique.png'
Belgique
%li
= link_to '/sw' do
= 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
-#= link_to t('.rss'), users_url
-#= link_to t('.ical'), users_url
-#= link_to t('.map'), users_url
-#= link_to t('.tags'), users_url
-#= link_to t('.infos'), users_url
-#= link_to t('.stats'), users_url
-#= link_to t('.contact'), users_url
-#= link_to t('.moderation'), users_url
-#= link_to t('.forge'), 'http://rubyforge.org/projects/parlement'
-#= link_to t('.agpl'), 'http://www.gnu.org/licenses/agpl.html'