120 lines
4.7 KiB
Plaintext
120 lines
4.7 KiB
Plaintext
!!!
|
|
|
|
%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"}
|
|
%head
|
|
%title=@title.to_s+" "
|
|
|
|
%meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1"}
|
|
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
|
|
%meta{ :"name" => "Description", :content => @description }
|
|
%meta{ :"name" => "Keywords", :content => @keywords }
|
|
|
|
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
|
|
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
|
|
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
|
|
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
|
|
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
|
|
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
|
|
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
|
|
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
|
|
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
|
|
<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
|
|
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
|
|
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
|
|
<link rel="manifest" href="/manifest.json">
|
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
|
<meta name="msapplication-TileColor" content="#da532c">
|
|
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
=raw '<meta property="og:image" content="https://sideplace.com/sideplace-fb.jpg" />'
|
|
=raw '<meta property="og:title" content="Sideplace, nouveau site gratuit de petites annonces" />'
|
|
=raw '<meta property="og:site_name" content="Sideplace.com" />'
|
|
|
|
-@img_size = FastImage.size('https://sideplace.com/sideplace-fb.jpg')
|
|
|
|
-if @img_size and @img_size.size > 0
|
|
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
|
|
=raw '<meta property="og:image:height" content="'+@img_size[1].to_s+'"/>'
|
|
|
|
= javascript_include_tag "public"
|
|
|
|
= csrf_meta_tag
|
|
|
|
= stylesheet_link_tag 'public'
|
|
= stylesheet_link_tag '/fonts/Stylograph/stylesheet.css'
|
|
<script src="https://use.typekit.net/iju0phf.js"></script>
|
|
<script>try{Typekit.load({ async: true });}catch(e){}</script>
|
|
=javascript_include_tag "https://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"
|
|
=render :partial => "public/shared/ga"
|
|
%body
|
|
|
|
|
|
|
|
|
|
.top_home
|
|
#menu
|
|
=link_to image_tag("/logo.png", :id => "logo"), root_path
|
|
=render :partial => "public/shared/menu"
|
|
.clear
|
|
|
|
#sub_menu
|
|
=yield :sub_menu
|
|
|
|
%h1=t("home-baseline")
|
|
=render :partial => "public/annonces/search_form"
|
|
|
|
|
|
|
|
#main
|
|
|
|
|
|
-if 0==1
|
|
.logo{:style => "height:200px;margin:auto;display:block;"}
|
|
=image_tag "/logo-3.png", :style => "margin:auto;display:block;height:100%"
|
|
|
|
=yield
|
|
=render :partial => "public/shared/categories"
|
|
=render :partial => "public/shared/bottom"
|
|
|
|
#flashs= bootstrap_flash
|
|
|
|
|
|
%div{:style => "display:none;"}
|
|
#search_map
|
|
=t("search")
|
|
=":"
|
|
.select_radius#no-radius-label{:onclick => '$("#with_radius_check").prop("checked", false);init_radius_form();$("#search_form form").submit();'}
|
|
=t("exactly-place")
|
|
|
|
.select_radius#with-radius-label{:onclick => '$("#with_radius_check").prop("checked", true);init_radius_form();$("#search_form form").submit();'}
|
|
=t("in-radius")
|
|
|
|
%span.radius_detail
|
|
=t("de")
|
|
=text_field_tag :radius_value_field, params[:place_dist], :id => "radius_value_field", :onkeydown => "update_radius();update_bounds();", :onkeyup => "update_radius();update_bounds();", :onkeychange => "update_radius();update_bounds();"
|
|
km
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#map-canvas{:style => "background:gray;height:300px;"}
|
|
#specific_search_container
|
|
.inner
|
|
=form_tag search_public_annonces_path, {:authenticity_token => false, :onsubmit => "$('#search_form form').submit();return false;", :onchange => "$('#search_form form').submit();"} do
|
|
#specific_search
|
|
=render :partial => "public/annonce_cats/specific_search_form"
|
|
=submit_tag t("search"), :class => "btn btn-primary"
|
|
|
|
|
|
#info
|
|
|
|
=render :partial => "public/annonces/search_js"
|
|
|
|
:javascript
|
|
var home = true; |