Use the new_application layout for the landing page

This commit is contained in:
gregoirenovel 2017-04-04 14:41:13 +02:00
parent f9b4469660
commit e504531ca0
2 changed files with 8 additions and 4 deletions

View file

@ -39,6 +39,6 @@ class RootController < ApplicationController
@demo_environment_host = "https://tps-dev.apientreprise.fr" unless Rails.env.development?
render 'landing'
render 'landing', :layout => 'new_application'
end
end

View file

@ -1,7 +1,7 @@
%html
%head
%meta{ "http-equiv" => "Content-Type", :content => "text/html; charset=UTF-8" }
%meta{ "http-equiv" => "X-UA-Compatible", :content => "IE=edge"}
%meta{ "http-equiv" => "X-UA-Compatible", :content => "IE=edge" }
%meta{ :name => "turbolinks-cache-control", :content => "no-cache" }
= csrf_meta_tags
= action_cable_meta_tag
@ -9,13 +9,17 @@
%title
= t("dynamics.page_title")
= favicon_link_tag(image_url("favicons/16x16.png"), type: "image/png", sizes: "16x16")
= favicon_link_tag(image_url("favicons/32x32.png"), type: "image/png", sizes: "32x32")
= favicon_link_tag(image_url("favicons/96x96.png"), type: "image/png", sizes: "96x96")
= stylesheet_link_tag "application", :media => "all", "data-turbolinks-track" => true
= stylesheet_link_tag "print", :media => "print", "data-turbolinks-track" => true
%body
= render :partial => "layouts/support_navigator_banner"
= render :partial => "layouts/ie_lt_10"
#beta{class:(Rails.env == "production" ? "" : "beta_staging")}
#beta{ class:(Rails.env == "production" ? "" : "beta_staging") }
- if Rails.env == "production"
Beta
- else
@ -33,5 +37,5 @@
= javascript_include_tag "application", "data-turbolinks-track" => true
- if Rails.env == "test"
%script{ :type => "text/javascript"}
%script{ :type => "text/javascript" }
(typeof jQuery !== "undefined") && (jQuery.fx.off = true);