suite
This commit is contained in:
parent
7846687993
commit
f7621dc2e0
@ -73,14 +73,20 @@ img{
|
|||||||
}
|
}
|
||||||
|
|
||||||
#logo{
|
#logo{
|
||||||
|
position:relative;
|
||||||
|
z-index:2;
|
||||||
height:70px;
|
height:70px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu_top{
|
#menu_top{
|
||||||
|
position:relative;
|
||||||
|
z-index:2;
|
||||||
float:right;
|
float:right;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
margin-top:20px;
|
margin-top:20px;
|
||||||
|
|
||||||
|
color:white;
|
||||||
|
|
||||||
|
|
||||||
ul{
|
ul{
|
||||||
list-style:none;
|
list-style:none;
|
||||||
|
@ -114,9 +114,21 @@
|
|||||||
=flash[:alert]
|
=flash[:alert]
|
||||||
|
|
||||||
#header.with_ratio{:style => "position:relative;background-image:url('#{@img_url}');", :data => {:ratio => 0.30}}
|
#header.with_ratio{:style => "position:relative;background-image:url('#{@img_url}');", :data => {:ratio => 0.30}}
|
||||||
|
%div{:style => "position:absolute;top:0;right:0;left:0;bottom:0;"}
|
||||||
|
%h1.vertical_center=@title
|
||||||
|
|
||||||
|
|
||||||
#menu_top
|
#menu_top
|
||||||
%ul
|
%ul
|
||||||
|
%li
|
||||||
|
=ic :tel
|
||||||
|
+33 (0)4 65 84 48 38
|
||||||
|
="-"
|
||||||
|
=link_to "mailto:contact@pollen-concepts.fr" do
|
||||||
|
=ic :mail
|
||||||
|
contact@pollen-concepts.fr
|
||||||
|
|
||||||
|
|
||||||
-MenuItem.where(:parent_id => nil, :menu_id => 1).order(:position).each do |menu_item|
|
-MenuItem.where(:parent_id => nil, :menu_id => 1).order(:position).each do |menu_item|
|
||||||
-if menu_item_link(menu_item) and menu_item_link(menu_item) != ""
|
-if menu_item_link(menu_item) and menu_item_link(menu_item) != ""
|
||||||
%li
|
%li
|
||||||
@ -127,8 +139,7 @@
|
|||||||
|
|
||||||
.clear
|
.clear
|
||||||
|
|
||||||
%div{:style => "position:absolute;top:0;right:0;left:0;bottom:0;"}
|
|
||||||
%h1.vertical_center=@title
|
|
||||||
|
|
||||||
|
|
||||||
#main=yield
|
#main=yield
|
||||||
|
@ -15,10 +15,7 @@
|
|||||||
-@sidebar = false
|
-@sidebar = false
|
||||||
|
|
||||||
|
|
||||||
-if @menu_item_lang.permalink == "index"
|
-if true
|
||||||
.render_block.home_render_block
|
|
||||||
=render :partial => "public/blocks/block", :locals => {:block => @menu_item.menu_content.blocks.find_by_lang_site_id(@lang.id)}
|
|
||||||
-else
|
|
||||||
-if @menu_item.title_image
|
-if @menu_item.title_image
|
||||||
-if @menu_item.menu_item_langs.find_by_lang_site_id(@lang.id).image_file
|
-if @menu_item.menu_item_langs.find_by_lang_site_id(@lang.id).image_file
|
||||||
-@img_url = @menu_item.menu_item_langs.find_by_lang_site_id(@lang.id).image_file.file.large.url
|
-@img_url = @menu_item.menu_item_langs.find_by_lang_site_id(@lang.id).image_file.file.large.url
|
||||||
|
@ -911,7 +911,7 @@ Rails.application.routes.draw do
|
|||||||
|
|
||||||
get ':slug.html', to: 'public/m_odrs#show', :as => :public_m_odr
|
get ':slug.html', to: 'public/m_odrs#show', :as => :public_m_odr
|
||||||
|
|
||||||
root "public/menu_items#index"
|
root redirect('/fr/index.html')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user