diff --git a/app/assets/stylesheets/new_design/accessibilite.scss b/app/assets/stylesheets/new_design/accessibilite.scss new file mode 100644 index 000000000..3b844f587 --- /dev/null +++ b/app/assets/stylesheets/new_design/accessibilite.scss @@ -0,0 +1,11 @@ +$default-space: 15px; + +.accessibilite { + width: 1040px; + margin: 0 auto; + padding-top: $default-space * 2; + + ul { + list-style-type: disc; + } +} diff --git a/app/controllers/accessibilite_controller.rb b/app/controllers/accessibilite_controller.rb new file mode 100644 index 000000000..1d2c7c4c3 --- /dev/null +++ b/app/controllers/accessibilite_controller.rb @@ -0,0 +1,6 @@ +class AccessibiliteController < ApplicationController + layout "new_application" + + def index + end +end diff --git a/app/views/accessibilite/index.html.haml b/app/views/accessibilite/index.html.haml new file mode 100644 index 000000000..c07140b08 --- /dev/null +++ b/app/views/accessibilite/index.html.haml @@ -0,0 +1,6 @@ +.accessibilite + + %h1.new-h1 Accessibilité + + %p + Nous travaillons à rendre ce site conforme avec les normes en matière d'accessibilité. Une premiere version est attendue pour août 2018 pour la partie "Usager" du site. diff --git a/app/views/layouts/_new_footer.html.haml b/app/views/layouts/_new_footer.html.haml index 97e7fb821..51d4b9945 100644 --- a/app/views/layouts/_new_footer.html.haml +++ b/app/views/layouts/_new_footer.html.haml @@ -22,6 +22,8 @@ = link_to "Statistiques", stats_path, :class => "footer-link" %li.footer-link = link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank" + %li.footer-link + = link_to "Mentions légales", "https://tps.gitbooks.io/tps-documentation/content/conditions-generales-dutilisation.html#4-mentions-l%C3%A9gales", :class => "footer-link", :target => "_blank" %li.footer-column %ul.footer-links @@ -35,3 +37,5 @@ = link_to "Documentation de l'API", "/docs", :class => "footer-link", :target => "_blank" %li.footer-link = link_to "FAQ", "http://tps.helpscoutdocs.com/", :class => "footer-link", :target => "_blank" + %li.footer-link + = link_to "Accessibilité", "", :class => "footer-link" diff --git a/config/routes.rb b/config/routes.rb index 6f0b37d8c..aece4acc4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -61,6 +61,7 @@ Rails.application.routes.draw do get 'admin' => 'admin#index' resources :stats, only: [:index] + resources :accessibilite, only: [:index] namespace :france_connect do get 'particulier' => 'particulier#login'