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

73 lines
2.1 KiB
Plaintext
Raw Normal View History

2013-11-24 16:11:44 +01:00
!!! 5
/[if IE]
2014-12-14 11:36:56 +01:00
%html.no-js{ lang: I18n.locale }
2013-11-24 16:11:44 +01:00
%head
%meta(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')
2014-10-09 12:23:32 +02:00
= display_meta_tags site: t('.title')
= favicon_link_tag '/favicon.ico'
= auto_discovery_link_tag :rss, controller: '/events', format: :rss
2013-11-24 16:11:44 +01:00
2014-12-14 11:36:56 +01:00
= stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true,
type: 'text/javascript'
2013-11-24 16:11:44 +01:00
= csrf_meta_tags
2014-12-14 11:36:56 +01:00
%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,
width: 100, height: 83
2014-03-06 23:10:36 +01:00
2013-12-28 23:45:13 +01:00
%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'
2013-12-28 23:45:13 +01:00
%h1= link_to t('.title'), root_path
2014-12-14 11:36:56 +01:00
%h2= t '.subtitle'
2014-07-02 00:37:53 +02:00
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
= link_to new_event_path do
%em.fa.fa-pencil
2014-12-14 11:36:56 +01:00
= t '.propose'
= link_to regions_path do
%em.fa.fa-rss
2014-12-14 11:36:56 +01:00
= t '.feeds'
= link_to maps_path do
%em.fa.fa-map-marker
2014-12-14 11:36:56 +01:00
= t '.map'
= link_to tags_path do
%em.fa.fa-tags
2014-12-14 11:36:56 +01:00
= t '.tags'
2015-02-15 17:10:17 +01:00
= link_to orgas_path do
2014-10-31 14:03:35 +01:00
%em.fa.fa-users
2015-02-15 17:10:17 +01:00
= Orga.model_name.human.pluralize
= link_to application_infos_path do
%em.fa.fa-info
2014-12-14 11:36:56 +01:00
= t '.infos'
= link_to stats_path do
2014-07-21 23:17:11 +02:00
%em.fa.fa-signal
2014-12-14 11:36:56 +01:00
= t '.stats'
= link_to application_contact_path do
2014-07-21 23:17:11 +02:00
%em.fa.fa-envelope
2014-12-14 11:36:56 +01:00
= t '.contact'
= link_to moderations_path do
2014-07-21 23:17:11 +02:00
%em.fa.fa-gavel
2014-12-14 11:36:56 +01:00
= t '.moderation'
2014-12-14 11:36:56 +01:00
%em.fa.fa-spin.fa-circle-o-notch#loading