diff --git a/.gitignore b/.gitignore index 4c6fb00..431afe9 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,5 @@ yarn-debug.log* /pdf/* /.sass_cache/* +/test* diff --git a/app/assets/stylesheets/config_public/_general_rules.scss b/app/assets/stylesheets/config_public/_general_rules.scss index fa6d825..71df6d2 100644 --- a/app/assets/stylesheets/config_public/_general_rules.scss +++ b/app/assets/stylesheets/config_public/_general_rules.scss @@ -7,6 +7,10 @@ body { padding: 0; } +.content { + min-height: calc(100vh - 450px) +} + a { text-decoration: none !important; color: #CC4B14; diff --git a/app/assets/stylesheets/pages/_pneus.scss b/app/assets/stylesheets/pages/_pneus.scss new file mode 100644 index 0000000..3ea1d05 --- /dev/null +++ b/app/assets/stylesheets/pages/_pneus.scss @@ -0,0 +1,112 @@ +.pages-pneus { + margin: 10px; +} + +.pages-pneus .more-infos { + position: absolute; + right: 25px; + bottom: 22px; + a { + vertical-align: middle; + font-weight: 600; + font-size: 16px; + font-family: 'Fugaz One', cursive; + text-transform: uppercase; + font-weight: 500 !important; + padding: 10px 20px; + } +} + +.pages-pneus .top-banner { + position: relative; + background-color: #ffdd00; + margin-bottom: 30px; + padding: 20px; + span { + color: #e3000b; + font-size: 32px; + text-transform: uppercase; + font-style: italic; + font-weight: 800; + } + p { + font-size: 20px; + color: #000; + font-style: italic; + font-weight: 500; + } + img { + height: 40px; + } + .more-infos a { + color: #fff; + background-color: #e3000b; + } +} +.pages-pneus .block-pneu { + display: flex; +} + +.pages-pneus .block-pneu .description { + width: 80%; + > * { + padding: 10px; + } + iframe { + width: 100%; + height: 370px; + } + p { + font-size: 16px; + font-weight: 500; + } + p span { + color: #cc4b14; + } +} + +.pages-pneus .block-pneu .synthese { + margin-left: 40px; + padding: 20px; + position: relative; + img { + width: 100%; + height: auto; + margin: 5px 5px 25px 5px; + } + p { + margin: 10px 0 20px 0; + font-weight: 600; + font-size: 16px; + } + .more-infos { + margin-top: 15px; + } + .more-infos a { + background-color: #ffdd00; + color: #000; + } +} + +.pages-pneus { + .barre_percent { + background-color: #ccc; + width: 100%; + height: 20px; + position: relative; + } + .progression { + position: absolute; + height: 20px; + background-color: #cc4b14; + bottom: 0; + left: 0; + } +} + +.pages-pneus hr { + width: 100%; + display: block; + margin: 30px 0px; + border-bottom: 5px solid #000; +} diff --git a/app/assets/stylesheets/pages/_public_menu_items.scss b/app/assets/stylesheets/pages/_public_menu_items.scss new file mode 100644 index 0000000..8e5c2d7 --- /dev/null +++ b/app/assets/stylesheets/pages/_public_menu_items.scss @@ -0,0 +1,277 @@ +.avantage { + background-image: url(/images/interface/slide5.jpg); + background-size: cover; + padding: 70px 0px; + position: relative; + text-align: center; + &:after { + background-color: rgba(0, 0, 0, 0.7); + content: ''; + display: block; + position: absolute; + z-index: 1; + width: 100%; + left: 0; + top: 0; + bottom: 0; + } + .banner { + position: relative; + z-index: 3; + } + h4 { + font-size: 40px; + color: #fff; + font-family: 'Fugaz One', cursive !important; + text-transform: uppercase; + letter-spacing: 2px; + margin-bottom: 60px; + text-align: center; + margin-top: 0px; + } +} + +.numbers{ + background-color: #cc4b14; + padding: 30px 0px; +} + +.center_programme { + font-size: 0; + max-width: 1140px; + margin: auto; + .primes_left { + display: inline-block; + width: 70%; + vertical-align: middle; + .bloc_primes_img { + width: 100%; + display: block; + margin-bottom: 30px; + .primes_img { + display: inline-block; + vertical-align: bottom; + } + .primes_legende_img { + display: inline-block; + vertical-align: bottom; + font-size: 16px; + padding-left: 10px; + font-size: 20px; + font-style: italic; + } + } + p { + font-size: 16px; + margin-bottom: 20px; + } + p.chevrons { + &:before { + content: '>'; + color: #cc4b14; + font-weight: 600; + padding-right: 6px; + } + } + span { + font-size: 26px; + font-style: italic; + color: #e40011; + font-weight: 800; + text-transform: uppercase; + } + .soulign { + color: #000; + text-decoration: underline !important; + } + } + .primes_right { + display: inline-block; + width: 30%; + vertical-align: middle; + a { + font-family: 'Fugaz One', cursive !important; + background-color: #ffe500; + font-size: 20px; + color: #000; + text-transform: uppercase; + letter-spacing: 1px; + font-size: 22px; + padding: 5px 15px; + display: inline-block; + margin-top: 10px; + } + } +} + +.banner { + max-width: 1140px; + margin: auto; + .desc_actu { + text-align: center; + width: 100%; + box-sizing: border-box; + } +} + +.row_avantage { + font-size: 0; + margin-left: -1.5%; + margin-right: -1.5%; +} + +.block_avantage { + &:nth-child(1) { + .container_picto { + width: 70px; + } + &:hover { + .container_picto { + width: 90px; + height: 120px; + } + } + background-image: url(/images/interface/background_bloc_left_transp.png); + } + &:nth-child(2) { + .container_picto { + width: 88px; + } + &:hover { + .container_picto { + width: 112px; + height: 120px; + } + } + background-image: url(/images/interface/background_bloc_left2_transp.png); + } + &:nth-child(3) { + .container_picto { + width: 73px; + } + &:hover { + .container_picto { + width: 94px; + height: 120px; + } + } + background-image: url(/images/interface/background_bloc_right2_transp.png); + } + &:last-child { + .container_picto { + width: 149px; + } + &:hover { + .container_picto { + width: 191px; + height: 120px; + } + } + } + vertical-align: top; + display: inline-block; + width: 22%; + background-color: #fff; + margin: 0 1.5%; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -ms-transition: all 0.3s; + -o-transition: all 0.3s; + transition: all 0.3s; + border-radius: 10px; + background-repeat: no-repeat; + background-size: cover; + text-align: center; + padding: 10px; + padding-bottom: 20px; + min-height: 330px; + &:hover { + background-color: #000; + h5 { + color: #cd4a12; + font-size: 18px; + } + .img_av_hover { + opacity: 1; + } + .img_av { + opacity: 0; + } + img { + max-height: 90px; + position: absolute; + top: 0px; + left: 0; + } + p { + color: #fff; + font-size: 20px !important; + } + } + &:nth-child(4) { + background-image: url(/images/interface/background_bloc_right_transp.png); + } + img { + max-height: 70px; + margin-top: 30px; + -webkit-transition: max-height 0.3s; + -moz-transition: max-height 0.3s; + -ms-transition: max-height 0.3s; + -o-transition: max-height 0.3s; + transition: max-height 0.3s; + left: 0; + position: absolute; + } + h5 { + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -ms-transition: all 0.3s; + -o-transition: all 0.3s; + transition: all 0.3s; + font-size: 25px; + font-weight: 500; + font-family: 'Russo One', sans-serif !important; + margin-top: 20px; + margin-bottom: 20px; + } + p { + font-size: 18px !important; + line-height: 20px !important; + color: #CC4B14; + font-family: 'Montserrat', sans-serif !important; + font-weight: 700 !important; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -ms-transition: all 0.3s; + -o-transition: all 0.3s; + transition: all 0.3s; + } +} + +@media screen and (max-width: 950px) { + .avantage { + h4 { + font-size: 30px; + } + } + .row_avantage { + margin: 0; + padding: 20px; + } + .block_avantage { + width: 47%; + max-width: 350px; + margin-bottom: 30px; + } +} + +@media screen and (max-width: 540px) { + .block_avantage { + width: 100%; + max-width: 350px; + margin-bottom: 30px; + } + .numbers { + padding: 30px 20px; + } +} diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index 9f2c3f3..3017571 100644 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -12,6 +12,7 @@ @import "config_public/*"; @import "shared/*"; +@import "pages/*"; .datepicker { table { @@ -30,10 +31,7 @@ .color_orange { color: #cc4b14; } -.num_programme { - background-color: #cc4b14; - padding: 30px 0px; -} + .chiffre { font-size: 30px; vertical-align: middle; @@ -167,77 +165,7 @@ font-weight: 600; padding-left: 15px; } -.block_num { - display: inline-block; - width: 25%; -} -.center_programme { - font-size: 0; - max-width: 1140px; - margin: auto; - .primes_left { - display: inline-block; - width: 70%; - vertical-align: middle; - .bloc_primes_img { - width: 100%; - display: block; - margin-bottom: 30px; - .primes_img { - display: inline-block; - vertical-align: bottom; - } - .primes_legende_img { - display: inline-block; - vertical-align: bottom; - font-size: 16px; - padding-left: 10px; - font-size: 20px; - font-style: italic; - } - } - p { - font-size: 16px; - margin-bottom: 20px; - } - p.chevrons { - &:before { - content: '>'; - color: #cc4b14; - font-weight: 600; - padding-right: 6px; - } - } - span { - font-size: 26px; - font-style: italic; - color: #e40011; - font-weight: 800; - text-transform: uppercase; - } - .soulign { - color: #000; - text-decoration: underline !important; - } - } - .primes_right { - display: inline-block; - width: 30%; - vertical-align: middle; - a { - font-family: 'Fugaz One', cursive !important; - background-color: #ffe500; - font-size: 20px; - color: #000; - text-transform: uppercase; - letter-spacing: 1px; - font-size: 22px; - padding: 5px 15px; - display: inline-block; - margin-top: 10px; - } - } -} + .catch_programme { padding: 40px 0px; background-color: #cc4b14; @@ -322,20 +250,6 @@ display: inline-block; vertical-align: middle; } -.hover_carousel { - position: absolute; - top: 50%; - width: 100%; - z-index: 100; - margin-top: -100px; - .promo_dunlop { - position: absolute; - max-width: 100%; - left: 50%; - margin-left: -520px; - top: 260px; - } -} .bg_all.active { background-color: rgba(0,0,0,0.5); left: 0; @@ -350,24 +264,7 @@ -webkit-transition: all 280ms ease-in-out; transition: all 280ms ease-in-out; } -.PGS_ROULAGE { - #centreetdroite { - width: 100%; - padding-top: 0px; - } - #contenu { - width: 100%; - padding-top: 0px; - } -} -.centre_filtre { - max-width: 1140px; - margin: auto; - font-size: 0; - form { - margin: 0 -15px; - } -} + .mor_date { display: block; color: #fff; @@ -406,58 +303,7 @@ max-width: 1140px; margin: auto; } -.recherche_filtre { - padding-top: 40px; - padding-bottom: 30px; - background: #cc4b14 url('/fond-recherche.jpg?m=mm') no-repeat center top; - .group_valider { - text-align: right; - margin-top: 20px; - input { - background-color: #000; - font-size: 20px !important; - width: calc(20% - 30px); - margin-right: 15px; - } - } - .group_form { - input[type="submit"] { - background-color: #000; - font-size: 20px !important; - width: calc(20% - 30px); - margin-right: 15px; - width: 100%; - } - display: inline-block; - width: 20%; - vertical-align: top; - padding: 0 15px; - position: relative; - } - input[type="text"] { - font-size: 15px; - padding: 15px 20px; - line-height: 16px; - border: 0px; - width: 100%; - } - h4 { - font-family: 'Montserrat' !important; - font-size: 30px; - font-weight: 700; - color: #111111; - text-transform: uppercase; - margin-bottom: 30px; - &:before { - content: '-'; - display: inline-block; - margin-right: 15px; - vertical-align: middle; - color: #ffdd00; - font-size: 30px; - } - } -} + .villeSuggestionBox { cursor: pointer; background-color: #fff; @@ -481,32 +327,6 @@ } } } -.PGS_ANNUAIRE_CIRCUIT { - .recherche_filtre { - padding-bottom: 40px; - } - #centreetdroite { - width: 100%; - padding-top: 0px; - } - #contenu { - width: 100%; - padding-top: 0px; - } -} -.PGS_ANNUAIRE_ORGA { - .recherche_filtre { - padding-bottom: 40px; - } - #centreetdroite { - width: 100%; - padding-top: 0px; - } - #contenu { - width: 100%; - padding-top: 0px; - } -} .bg_all { z-index: 0; position: absolute; @@ -727,38 +547,7 @@ } } } -.avantage { - background-image: url(/images/interface/slide5.jpg); - background-size: cover; - padding: 70px 0px; - position: relative; - text-align: center; - &:after { - background-color: rgba(0, 0, 0, 0.7); - content: ''; - display: block; - position: absolute; - z-index: 1; - width: 100%; - left: 0; - top: 0; - bottom: 0; - } - .center_home { - position: relative; - z-index: 3; - } - h4 { - font-size: 40px; - color: #fff; - font-family: 'Fugaz One', cursive !important; - text-transform: uppercase; - letter-spacing: 2px; - margin-bottom: 60px; - text-align: center; - margin-top: 0px; - } -} + .recherche_home { h5 { font-size: 40px; @@ -851,11 +640,7 @@ } } } -.row_avantage { - font-size: 0; - margin-left: -1.5%; - margin-right: -1.5%; -} + .container_picto { position: relative; text-align: center; @@ -868,133 +653,7 @@ -o-transition: all 0.3s; transition: all 0.3s; } -.block_avantage { - &:nth-child(1) { - .container_picto { - width: 70px; - } - &:hover { - .container_picto { - width: 90px; - height: 120px; - } - } - background-image: url(/images/interface/background_bloc_left_transp.png); - } - &:nth-child(2) { - .container_picto { - width: 88px; - } - &:hover { - .container_picto { - width: 112px; - height: 120px; - } - } - background-image: url(/images/interface/background_bloc_left2_transp.png); - } - &:nth-child(3) { - .container_picto { - width: 73px; - } - &:hover { - .container_picto { - width: 94px; - height: 120px; - } - } - background-image: url(/images/interface/background_bloc_right2_transp.png); - } - &:last-child { - .container_picto { - width: 149px; - } - &:hover { - .container_picto { - width: 191px; - height: 120px; - } - } - } - vertical-align: top; - display: inline-block; - width: 22%; - background-color: #fff; - margin: 0 1.5%; - -webkit-transition: all 0.3s; - -moz-transition: all 0.3s; - -ms-transition: all 0.3s; - -o-transition: all 0.3s; - transition: all 0.3s; - border-radius: 10px; - background-repeat: no-repeat; - background-size: cover; - text-align: center; - padding: 10px; - padding-bottom: 20px; - min-height: 330px; - &:hover { - background-color: #000; - h5 { - color: #cd4a12; - font-size: 18px; - } - .img_av_hover { - opacity: 1; - } - .img_av { - opacity: 0; - } - img { - max-height: 90px; - position: absolute; - top: 0px; - left: 0; - } - p { - color: #fff; - font-size: 20px !important; - } - } - &:nth-child(4) { - background-image: url(/images/interface/background_bloc_right_transp.png); - } - img { - max-height: 70px; - margin-top: 30px; - -webkit-transition: max-height 0.3s; - -moz-transition: max-height 0.3s; - -ms-transition: max-height 0.3s; - -o-transition: max-height 0.3s; - transition: max-height 0.3s; - left: 0; - position: absolute; - } - h5 { - -webkit-transition: all 0.3s; - -moz-transition: all 0.3s; - -ms-transition: all 0.3s; - -o-transition: all 0.3s; - transition: all 0.3s; - font-size: 25px; - font-weight: 500; - font-family: 'Russo One', sans-serif !important; - margin-top: 20px; - margin-bottom: 20px; - } - p { - font-size: 18px !important; - line-height: 20px !important; - color: #CC4B14; - font-family: 'Montserrat', sans-serif !important; - font-weight: 700 !important; - -webkit-transition: all 0.3s; - -moz-transition: all 0.3s; - -ms-transition: all 0.3s; - -o-transition: all 0.3s; - transition: all 0.3s; - } -} + .img_av_hover { opacity: 0; } @@ -1126,24 +785,6 @@ } } } -.PGS_QUI_SOMMES_NOUS { - #centreetdroite { - width: 100%; - padding-bottom: 0px; - } - #contenu { - width: 100%; - padding-top: 0px; - } - .paragraphe { - margin-bottom: 0px !important; - } - #contenu_scroller { - >br { - display: none; - } - } -} .center_qsn { max-width: 1200px; margin: auto; @@ -1541,33 +1182,6 @@ ul.round_puce { .num_list { color: #CC4B14; } -.PGS_SPECIALE_5 { - #centreetdroite { - >br { - display: none; - } - width: 100%; - padding-bottom: 0px; - padding-left: 0px; - padding-right: 0px; - } - #contenu { - >br { - display: none; - } - width: 100%; - width: 100%; - padding-top: 0px; - } - #contenu_scroller { - >br { - display: none; - } - } - .paragraphe { - margin-bottom: 0px !important; - } -} .clr { clear: both; } @@ -2290,39 +1904,6 @@ select { display: inline-block; width: 5%; } -.center_home { - max-width: 1140px; - margin: auto; - .desc_actu { - text-align: center; - width: 100%; - box-sizing: border-box; - } -} -.carousel_partenaire { - max-width: 1140px; - margin: auto; - img { - opacity: 0.5; - &:hover { - opacity: 1; - } - } - .block { - img { - width: auto !important; - display: block; - margin: auto; - width: 100% !important; - padding: 0 15px; - height: auto !important; - } - a { - display: inline-block; - } - text-align: center; - } -} .style_arrow { .owl-controls { position: absolute; @@ -2655,72 +2236,6 @@ select { } } } -.prof-carousel { - .owl-dots { - .owl-dot { - span { - width: 15px !important; - height: 15px !important; - } - } - .owl-dot.active { - span { - background-color: #CC4B14 !important; - } - } - } - .block { - padding: 12px; - } - .owl-stage-outer { - padding-bottom: 30px !important; - } -} -.desc_actu { - padding-top: 15px; - font-size: 16px !important; - padding-bottom: 15px !important; - h4 { - margin: 0px; - a { - color: #cc4b14; - font-weight: 400; - font-family: 'Russo One', sans-serif !important; - font-size: 22px !important; - padding-top: 10px !important; - } - } - p { - color: #000000; - font-size: 15px !important; - line-height: 18px !important; - padding-top: 10px; - padding-bottom: 10px; - padding-left: 5px; - padding-right: 5px; - font-weight: 500 !important; - >br { - display: none; - } - } - >a { - &:hover { - color: #CC4B14 !important; - text-decoration: underline !important; - } - } -} -.actu_sec { - .desc_actu { - background-color: #fff; - text-align: left; - padding: 15px 20px; - } - background-color: #d0cfd2; -} -.row_prof { - font-size: 0; -} .partenaires { padding: 80px; padding-bottom: 120px; @@ -2811,58 +2326,6 @@ select { #header_popup { display: none; } -.PGS_PNEUS { - #contenu { - width: 100%; - } -} -.PGS_PRIMES { - #contenu { - width: 100%; - } - #centreetdroite { - width: 100%; - padding-bottom: 0px; - padding-left: 0px; - padding-right: 0px; - } -} -.page_liquid { - #contenu { - width: 100% !important; - } - #centreetdroite { - width: 100% !important; - padding-bottom: 0px; - } -} - -.mdlPanier { - h3 { - + { - p { - + { - table { - >tbody { - >tr { - >td { - display: inline-block; - width: 47% !important; - border: 1px solid #ccc; - box-sizing: border-box; - padding: 30px; - &:nth-child(1) { - margin-right: 4%; - } - } - } - } - } - } - } - } - } -} a[name="formIdentificationLog"] { + { h3 { @@ -3078,45 +2541,6 @@ input[type=checkbox] { input[type=radio] { margin: 0; } -.picto_inscription { - text-align: left; - font-size: 0; - a { - display: inline-block; - vertical-align: top; - text-align: center; - margin-bottom: 30px; - box-sizing: border-box; - margin-right: 30px; - &:nth-child(3) { - margin-bottom: 0px; - img { - max-width: 100px; - margin-top: 30px; - margin-bottom: 20px; - } - } - &:nth-child(4) { - margin-bottom: 0px; - } - span { - font-size: 18px; - display: block; - } - &:last-child { - margin-right: 0; - } - &:nth-child(2) { - margin-right: 0; - } - } - img { - width: 100%; - max-width: 90px; - margin-bottom: 10px; - margin-top: 10px; - } -} #contenu_scroller { &:after { content: ''; @@ -3188,34 +2612,7 @@ input[type=radio] { } } } -#centreetdroite { - width: 1170px; - margin: auto; - padding-bottom: 20px; - .news { - h4 { - a { - font-size: 18px !important; - } - } - } - div.paragraphe { - margin: 0 0 10px 0; - } - .mdl_immo { - table { - .insertion { - display: block; - text-align: center; - background-color: transparent; - padding: 0px; - padding-left: 5px; - margin: 0px; - margin-right: -3px; - } - } - } -} + .center_partenaire { max-width: 1140px; margin: auto; @@ -4509,71 +3906,6 @@ div.modeles_similaires { margin: 0px !important; } } -.list_pneus_all { - .info_lien { - >div { - a { - color: #fff; - display: inline-block; - vertical-align: middle; - font-weight: 600; - background-color: #e3000b; - } - } - width: 20%; - display: inline-block; - vertical-align: bottom; - padding: 10px 20px; - } - .titre_list { - margin-bottom: 20px; - color: #e3000b; - font-size: 32px; - text-transform: uppercase; - font-style: italic; - font-weight: 800; - img { - width: 10%; - height: auto; - } - } - .bloc_list_lien { - background-color: #ffdd00; - display: block; - margin-bottom: 30px; - } - .img_lien { - display: inline-block; - width: 268px; - position: relative; - vertical-align: top; - height: 268px; - border: 1px solid #ccc; - border-right: 0px; - overflow: hidden; - } - .intro_lien { - font-size: 20px; - color: #000; - font-style: italic; - font-weight: 500; - img { - max-width: 20%; - height: auto; - } - .rouge { - margin-bottom: 20px; - color: #e3000b; - font-size: 30px; - text-transform: uppercase; - font-style: italic; - font-weight: 800; - } - } - .desc_list_lien { - width: 80%; - } -} .club { display: inline-block; font-size: 18px; @@ -4590,225 +3922,6 @@ div.modeles_similaires { font-size: 0; display: flex; } -.list_roulage { - .bloc_list_lien { - background-color: #ffdd00; - } - .img_lien { - background-color: #fff; - height: auto; - width: 160px; - border: 1px solid #ccc; - border-right: 0px; - img { - max-width: 100% !important; - position: relative !important; - height: auto !important; - left: 0px !important; - } - } - h3 { - color: #111; - font-family: 'Montserrat', sans-serif !important; - font-size: 20px !important; - font-weight: 600; - span { - font-family: 'Fugaz One', cursive; - text-transform: uppercase; - font-size: 24px; - font-weight: 500; - } - } - .desc_list_lien { - width: calc(100% - 180px); - } - .titre_list { - margin-bottom: 15px; - } - .intro_lien { - margin-bottom: 10px; - color: #000; - font-size: 16px; - font-weight: 600; - } -} -.list_pneus { - font-size: 0; - width: 100%; - display: block; - padding: 30px 0; - border-bottom: 5px solid #000; - .desc_list_pneus { - font-size: 15px; - width: 60%; - display: inline-block; - vertical-align: top; - .titre_pneus { - margin-bottom: 30px; - img { - width: 100%; - height: auto; - } - } - .intro_pneus { - font-size: 16px; - font-weight: 500; - } - .video_pneus { - position: relative; - padding-bottom: 56.25%; - padding-top: 30px; - height: 0; - overflow: hidden; - margin-top: 30px; - iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - } - object { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - } - embed { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - } - } - .orange { - color: #cc4b14; - } - } - .img_pneus { - font-size: 15px; - width: 40%; - display: inline-block; - vertical-align: top; - padding-left: 40px; - .barre_pourcent { - background-color: #ccc; - width: 100%; - height: 20px; - position: relative; - } - .p10 { - position: absolute; - height: 20px; - width: 10%; - background-color: #cc4b14; - bottom: 0; - left: 0; - } - .p20 { - position: absolute; - height: 20px; - width: 20%; - background-color: #cc4b14; - bottom: 0; - left: 0; - } - .p30 { - position: absolute; - height: 20px; - width: 30%; - background-color: #cc4b14; - bottom: 0; - left: 0; - } - .p40 { - position: absolute; - height: 20px; - width: 40%; - background-color: #cc4b14; - bottom: 0; - left: 0; - } - .p50 { - background-color: #cc4b14; - width: 50%; - height: 20px; - position: absolute; - bottom: 0; - left: 0; - } - .p60 { - background-color: #cc4b14; - width: 60%; - height: 20px; - position: absolute; - bottom: 0; - left: 0; - } - .p70 { - background-color: #cc4b14; - width: 70%; - height: 20px; - position: absolute; - bottom: 0; - left: 0; - } - .p80 { - background-color: #cc4b14; - width: 80%; - height: 20px; - position: absolute; - bottom: 0; - left: 0; - } - .p90 { - position: absolute; - height: 20px; - width: 90%; - background-color: #cc4b14; - bottom: 0; - left: 0; - } - .p100 { - background-color: #cc4b14; - width: 100%; - height: 20px; - position: absolute; - bottom: 0; - left: 0; - } - p { - margin: 10px 0 20px 0; - font-weight: 600; - font-size: 16px; - } - .bloc_btn { - text-align: right; - } - .btn_fiche_pneus { - background-color: #ffdd00; - color: #000; - font-size: 16px; - display: inline-block; - font-family: 'Fugaz One', cursive; - text-transform: uppercase; - font-weight: 500 !important; - padding: 10px 20px; - margin: 20px 0; - a { - color: #000; - } - } - img { - max-width: 100%; - margin-bottom: 30px; - padding: 10px; - height: auto; - } - } -} .left_roulage { vertical-align: bottom; display: inline-block; @@ -7512,11 +6625,7 @@ a.sp-video { margin: 0; } } - .avantage { - h4 { - font-size: 30px; - } - } + .actualites { h3 { font-size: 30px; @@ -7546,11 +6655,6 @@ a.sp-video { } } } - .picto_inscription { - a { - margin-right: 30px !important; - } - } .carousel-inner { width: 100% !important; @@ -7600,20 +6704,6 @@ a.sp-video { } } } - #centreetdroite { - .transport-king { - .about-us { - p { - width: auto; - } - } - } - width: 100% !important; - width: 100% !important; - margin: auto; - padding: 0 15px; - height: auto !important; - } .SF { fieldset { p { @@ -7672,50 +6762,6 @@ a.sp-video { padding: 25px 15px; margin: auto; } - .PGS_QUI_SOMMES_NOUS { - #centreetdroite { - padding: 0px; - .center_qsn { - padding: 0 15px; - } - } - } - .PGS_ROULAGE { - #centreetdroite { - padding: 0px; - } - #contenu { - padding: 0px; - } - .recherche_filtre { - padding-left: 15px; - padding-right: 15px; - } - } - .PGS_ANNUAIRE_CIRCUIT { - #centreetdroite { - padding: 0px; - } - #contenu { - padding: 0px; - } - .recherche_filtre { - padding-left: 15px; - padding-right: 15px; - } - } - .PGS_ANNUAIRE_ORGA { - #centreetdroite { - padding: 0px; - } - #contenu { - padding: 0px; - } - .recherche_filtre { - padding-left: 15px; - padding-right: 15px; - } - } .nav_qsn { display: none; } @@ -7872,11 +6918,6 @@ a.sp-video { } } } - .row_avantage { - margin: 0; - } -} -@media screen and (max-width: 950px) { .par_fixe { form { background-color: #ededed; @@ -7958,73 +6999,13 @@ a.sp-video { display: block; } } - .block_num { - width: 50%; - } - .PGS_ROULAGE { - .recherche_filtre { - .group_form { - width: 33.33333%; - margin-bottom: 30px; - } - } - .group_valider { - width: 33.33333%; - display: inline-block; - margin-top: 0px; - padding: 0 15px; - input { - width: 100%; - } - } - } - .PGS_ANNUAIRE_CIRCUIT { - .recherche_filtre { - .group_form { - width: 33.33333%; - margin-bottom: 30px; - } - } - .group_valider { - width: 33.33333%; - display: inline-block; - margin-top: 0px; - padding: 0 15px; - input { - width: 100%; - } - } - } - .PGS_ANNUAIRE_ORGA { - .recherche_filtre { - .group_form { - width: 33.33333%; - margin-bottom: 30px; - } - } - .group_valider { - width: 33.33333%; - display: inline-block; - margin-top: 0px; - padding: 0 15px; - input { - width: 100%; - } - } - } + .par_style_3 { form { padding: 20px; } } - .block_avantage { - width: 47%; - max-width: 350px; - margin-bottom: 30px; - } - .row_avantage { - padding: 20px; - } + .left_fiche_lien { width: 300px; } @@ -8378,13 +7359,6 @@ a.sp-video { .info_lien { width: 100% !important; } - .desc_list_pneus { - width: 100% !important; - } - .img_pneus { - width: 100% !important; - padding-left: 0px !important; - } .right_catch { h5 { font-size: 30px; @@ -8510,42 +7484,6 @@ a.sp-video { } } @media screen and (max-width: 670px) { - .PGS_ROULAGE { - .recherche_filtre { - .group_form { - width: 50%; - margin-bottom: 30px; - } - .group_valider { - width: 50%; - margin-bottom: 30px; - } - } - } - .PGS_ANNUAIRE_CIRCUIT { - .recherche_filtre { - .group_form { - width: 50%; - margin-bottom: 30px; - } - .group_valider { - width: 50%; - margin-bottom: 30px; - } - } - } - .PGS_ANNUAIRE_ORGA { - .recherche_filtre { - .group_form { - width: 50%; - margin-bottom: 30px; - } - .group_valider { - width: 50%; - margin-bottom: 30px; - } - } - } .fiche_lien { .recherche_filtre { .group_form { @@ -8801,65 +7739,9 @@ a.sp-video { font-size: 17px; } } - .block_avantage { - width: 100%; - max-width: 350px; - margin-bottom: 30px; - } - .picto_inscription { - a { - margin: 20px 15px !important; - width: calc((100% - 35px) / 2); - height: 180px; - &:nth-child(odd) { - margin-left: 0px !important; - } - &:nth-child(even) { - margin-right: 0px !important; - } - } - } } @media screen and (min-width: 0px) and (max-width: 500px) { - .block_num { - width: 100%; - } - .PGS_ROULAGE { - .recherche_filtre { - .group_form { - width: 100%; - margin-bottom: 30px; - } - .group_valider { - width: 100%; - margin-bottom: 30px; - } - } - } - .PGS_ANNUAIRE_CIRCUIT { - .recherche_filtre { - .group_form { - width: 100%; - margin-bottom: 30px; - } - .group_valider { - width: 100%; - margin-bottom: 30px; - } - } - } - .PGS_ANNUAIRE_ORGA { - .recherche_filtre { - .group_form { - width: 100%; - margin-bottom: 30px; - } - .group_valider { - width: 100%; - margin-bottom: 30px; - } - } - } + .fiche_lien { .recherche_filtre { .group_form { @@ -8946,54 +7828,14 @@ a.sp-video { padding-top: 65%; } } - .picto_inscription { - a { - margin-bottom: 20px; - height: 160px; - margin-left: 0px !important; - img { - width: 60px !important; - } - span { - font-size: 16px; - } - &:nth-child(3) { - img { - margin-top: 20px; - } - } - } - } } + @media screen and (min-width: 0px) and (max-width: 400px) { - .center_home { - .desc_actu { - h4 { - a { - font-size: 15px !important; - } - } - } - } .bloc_list_lien { padding: 0px; } } -@media screen and (min-width: 0px) and (max-width: 380px) { - .picto_inscription { - a { - width: 100%; - margin-top: 0px !important; - width: 180px; - height: 180px; - margin-left: 0px !important; - margin-right: 0px !important; - img { - width: 80px !important; - } - } - } -} + @media screen and (min-width: 1000px) { .th_resp { display: none; @@ -9725,14 +8567,8 @@ img{ } } - - .num_programme{ - padding:30px 20px; - } } - - .country_icon{ height:1em !important; padding:0 !important; diff --git a/app/assets/stylesheets/shared/_recherche_filtre.scss b/app/assets/stylesheets/shared/_recherche_filtre.scss new file mode 100644 index 0000000..7017c0f --- /dev/null +++ b/app/assets/stylesheets/shared/_recherche_filtre.scss @@ -0,0 +1,60 @@ +.recherche_filtre { + padding-top: 40px; + padding-bottom: 30px; + background: #cc4b14 url('/fond-recherche.jpg?m=mm') no-repeat center top; + .group_valider { + text-align: right; + margin-top: 20px; + input { + background-color: #000; + font-size: 20px !important; + width: calc(20% - 30px); + margin-right: 15px; + } + } + .group_form { + input[type="submit"] { + background-color: #000; + font-size: 20px !important; + width: calc(20% - 30px); + margin-right: 15px; + width: 100%; + } + display: inline-block; + width: 20%; + vertical-align: top; + padding: 0 15px; + position: relative; + } + input[type="text"] { + font-size: 15px; + padding: 15px 20px; + line-height: 16px; + border: 0px; + width: 100%; + } + h4 { + font-family: 'Montserrat' !important; + font-size: 30px; + font-weight: 700; + color: #111111; + text-transform: uppercase; + margin-bottom: 30px; + &:before { + content: '-'; + display: inline-block; + margin-right: 15px; + vertical-align: middle; + color: #ffdd00; + font-size: 30px; + } + } +} +.centre_filtre { + max-width: 1140px; + margin: auto; + font-size: 0; + form { + margin: 0 -15px; + } +} diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 3af514b..dc979b8 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -75,5 +75,6 @@ %body =render partial: 'public/shared/header' =render partial: 'public/shared/flashes' - =yield + .content + =yield =render partial: 'public/shared/footer' diff --git a/app/views/public/m_events/_search.html.haml b/app/views/public/m_events/_search.html.haml index c9b14ae..59a4d7a 100644 --- a/app/views/public/m_events/_search.html.haml +++ b/app/views/public/m_events/_search.html.haml @@ -3,9 +3,8 @@ -params[:search][:m_event_type_title] = params[:search][:m_event_type_title] || [] .centre_filtre - =#link_to image_tag('/images/interface/btn_inscription.png'), public_my_account_path(), :class => "ins" %h4 Trouvez votre journée sur circuit - + =form_tag public_m_events_path, :method => "get", :onsubmit => "" do %p @@ -14,33 +13,32 @@ .select.inline_large_input=select_tag "search[circuit_id]", options_for_select([["Circuit",""]]+Circuit.order(:name).all.map{|a| [a.name, a.id]}, params[:search][:circuit_id]), :place_holder => "" .select.inline_large_input=select_tag "search[organisateur_id]", options_for_select([["Organisateur",""]]+Organisateur.order(:name).all.map{|a| [a.name, a.id]}, params[:search][:organisateur_id]), :place_holder => "" - + .no-mobile.right{:style => "position:relative;top:10px;"} =submit_tag "Rechercher", :class => "submit" - + %p - + =text_field_tag :start, params[:start],:class => "form-control datepicker date inline_input", :placeholder => "Début" - + =text_field_tag :stop, params[:stop],:class => "form-control datepicker date inline_input ", :placeholder => "Fin" - - + + %p.inline_check_boxes %strong Type de journée : - - + + -["Ecole / Stage de pilotage", "Roulage encadré", "Roulage libre"] .each do |pdt| - + = check_box_tag :"search[m_event_type_title][]", pdt, (true if params[:search][:m_event_type_title].include?(pdt.to_s)), {:id => "p_document_type_ids_#{pdt.to_slug}"} = label_tag "p_document_type_ids_"+pdt.to_slug, pdt .clear - + .mobile-block =submit_tag "Rechercher", :class => "submit" - \ No newline at end of file diff --git a/app/views/public/menu_items/index.html.haml b/app/views/public/menu_items/index.html.haml index 271d626..ee9bb98 100644 --- a/app/views/public/menu_items/index.html.haml +++ b/app/views/public/menu_items/index.html.haml @@ -1,72 +1,68 @@ =render :partial => "public/m_events/search" -.intro_home - .center_home - .row_home.row1 - .block_intro - %h3 Ma moto sur circuit - %p - La 1 - %sup ère - plateforme de stages et de roulages qui rapporte des primes offertes par Dunlop et ses partenaires - .block_intro - %img{:src => "/images/interface/logo_intro.png"}/ - .row_home.row2 - .block_intro - %img{:src => "/images/interface/produits-offre-mamotosurcircuit.jpg"}/ - .right_intro - %h3 Dunlop sponsor program - %p Des avantages pour vous et votre moto - %a{:href => "/fr/primes.html"} Le programme - %br - .block_intro{:style => "position:relative;"} - =image_tag "/Sticker_mockup_mmsc.png", :style => "position:absolute;top:10px;right:0px;width:280px;" - %h3 - Devenez membre - %br - de la communauté - %p - Recevez gratuitement - %br - 1 planche de stickers - - - %a{:href => public_my_account_path} S'inscrire +.banner + .row_home.row1 + .block_intro + %h3 Ma moto sur circuit + %p + La 1 + %sup ère + plateforme de stages et de roulages qui rapporte des primes offertes par Dunlop et ses partenaires + .block_intro + =image_tag "/images/interface/logo_intro.png" + .row_home.row2 + .block_intro + %img{:src => "/images/interface/produits-offre-mamotosurcircuit.jpg"}/ + .right_intro + %h3 Dunlop sponsor program + %p Des avantages pour vous et votre moto + %a{:href => "/fr/primes.html"} Le programme + %br + .block_intro{:style => "position:relative;"} + =image_tag "/Sticker_mockup_mmsc.png", :style => "position:absolute;top:10px;right:0px;width:280px;" + %h3 + Devenez membre + %br + de la communauté + %p + Recevez gratuitement + %br + 1 planche de stickers -#paragraphe339.paragraphe{:style => "padding:0;margin:0;"} - %a{:name => "paragraphe339"} - .num_programme - .center_programme - .block_num + %a{:href => public_my_account_path} S'inscrire + +.numbers + .container + .row + .col-xs-12.col-md-6.col-lg-3 %span.chiffre =PCustomer.where(:enabled => true, :test_user => false).count %span.label-chiffre Membres - .block_num + .col-xs-12.col-md-6.col-lg-3 %span.chiffre - -r = 0 + -r = 0 -MEvent.where("start_at > ?", Date.today.beginning_of_year.beginning_of_year).all.each do |m_event| -r+=(m_event.end_at - m_event.start_at ).to_i / (24 * 60 * 60) +1 =r - %span.label-chiffre Dates - .block_num + .col-xs-12.col-md-6.col-lg-3 %span.chiffre =Circuit.count %span.label-chiffre Circuits - .block_num + .col-xs-12.col-md-6.col-lg-3 %span.chiffre =Organisateur.count %span.label-chiffre Organisateurs - + .avantage - .center_home + .banner %h4 Les 4 avantages du programme .row_avantage .block_avantage %a{:href => "/fr/primes.html"} .container_picto %img.img_av{:src => "/images/interface/bonus_left.png"}/ - %img.img_av_hover{:src => "/images/interface/bonus_left_white.png"}/ + %img.img_av_hover{:src => "/images/interface/bonus_left_white.png"}/ %h5 Prime de roulage pneus Dunlop %p Achetez, roulez et soyez remboursé .block_avantage diff --git a/app/views/public/shared/_header.html.haml b/app/views/public/shared/_header.html.haml index 2060bf6..5186083 100644 --- a/app/views/public/shared/_header.html.haml +++ b/app/views/public/shared/_header.html.haml @@ -28,13 +28,13 @@ =menu_item_link(menu_item) -if false - %li.PGS_ROULAGE + %li =link_to "Trouvez votre journée", public_m_events_path - %li.PGS_ANNUAIRE_CIRCUIT + %li =link_to "Circuits", public_circuits_path, :class => ("active" if @circuits_active) - %li.PGS_ANNUAIRE_ORGA + %li =link_to "Organisateurs", public_organisateurs_path, :class => ("active" if @organisateurs_active) - %li.PGS_DISTRIBUTEUR + %li %a{:href => "https://www.dunlop.eu/fr_fr/motorcycle/dealers/find-a-dealer.html", :target => "_blank", :title => "Distributeurs"} %span Distributeurs diff --git a/app/views/public/shared/_mobile_menu.html.haml b/app/views/public/shared/_mobile_menu.html.haml index 02212cd..ab16115 100644 --- a/app/views/public/shared/_mobile_menu.html.haml +++ b/app/views/public/shared/_mobile_menu.html.haml @@ -33,16 +33,16 @@ -if false - %li.PGS_ROULAGE + %li =link_to "Trouvez votre journée", public_m_events_path - %li.PGS_ANNUAIRE_CIRCUIT + %li =link_to "Circuits", public_circuits_path, :class => ("active" if @circuits_active) - %li.PGS_ANNUAIRE_ORGA + %li =link_to "Organisateurs", public_organisateurs_path, :class => ("active" if @organisateurs_active) - %li.PGS_DISTRIBUTEUR + %li %a{:href => "https://www.dunlop.eu/fr_fr/motorcycle/dealers/find-a-dealer.html", :target => "_blank", :title => "Distributeurs"} %span Distributeurs diff --git a/config/routes.rb b/config/routes.rb index 4df17f8..578a1ff 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,197 +1,197 @@ Rails.application.routes.draw do - - + + get "/122-journees.html" => redirect("/fr/journees-de-roulage.html") - + get "/USER_CREATION/1/104--36-mon-compte.html" => redirect("/fr/mon-compte.html") get "/:lang/mon-compte.html" => "public/my_account#index", :as => :public_my_account - + get "/:lang/se-connecter.html" => "public/p_customer_auths#new", :as => :new_public_p_customer_auth get "/:lang/creer-mon-compte.html" => "public/p_customers#new", :as => :new_public_p_customer post "/:lang/creer-mon-compte.html" => "public/p_customers#create", :as => :public_p_customers get "/:lang/circuits/:id.html" => "public/circuits#show", :as => :public_circuit get "/:lang/circuits.html" => "public/circuits#index", :as => :public_circuits - - + + get "/:lang/organisateurs/:id.html" => "public/organisateurs#show", :as => :public_organisateur get "/:lang/organisateurs.html" => "public/organisateurs#index", :as => :public_organisateurs - + get "/:lang/journees-de-roulage.html" => "public/m_events#index", :as => :public_m_events - - - + + + namespace :admin do - resources :departement_frances do + resources :departement_frances do member do - + end collection do - + end - end + end end namespace :admin do - resources :mail_type_cats do + resources :mail_type_cats do member do - + end collection do - + end - end + end end namespace :admin do - resources :circuit_regions do + resources :circuit_regions do member do - + end collection do - + end - end + end end namespace :admin do - resources :m_odr_product_sizes do + resources :m_odr_product_sizes do member do - + end collection do - + end - end + end end namespace :admin do - resources :m_odr_prime_files do + resources :m_odr_prime_files do member do - + end collection do - + end - end + end end namespace :admin do - resources :m_odr_primes do + resources :m_odr_primes do member do get :generate_virement get :send_mail get :refuse - + end collection do - + end - end + end end namespace :admin do - resources :m_odr_file_roulages do + resources :m_odr_file_roulages do member do - + end collection do - + end - end + end end namespace :admin do - resources :import_csv_champs do + resources :import_csv_champs do member do - + end collection do - + end - end + end end namespace :admin do - resources :import_csv_headers do + resources :import_csv_headers do member do - + end collection do - + end - end + end end namespace :admin do - resources :import_csvs do + resources :import_csvs do member do get :charge end collection do - + end - end + end end namespace :admin do - resources :m_odr_file_products do + resources :m_odr_file_products do member do - - end - collection do - - end - end - - resources :m_events do - member do - - end - collection do - - end - end - resources :mail_types do - member do - end collection do - + end - end - - resources :organisateurs do + end + + resources :m_events do member do - + + end + collection do + + end + end + + resources :mail_types do + member do + + end + collection do + + end + end + + resources :organisateurs do + member do + end collection do get :autocomplete end - end - - resources :circuits do + end + + resources :circuits do member do - + end collection do get :autocomplete end - end + end end get "qi_help" => "admin/qi_helps#update", :as => :admin_qi_helps namespace :admin do - resources :m_odr_product_cats do + resources :m_odr_product_cats do member do - + end collection do - + end - end + end end namespace :public do @@ -206,397 +206,397 @@ Rails.application.routes.draw do resources :m_odr_primes - resources :file_tunel_downloads do + resources :file_tunel_downloads do member do get :thank get :download get :fili end collection do - + end - end - - resources :file_tunel_sends do + end + + resources :file_tunel_sends do member do - + end collection do - + end - end + end end - - - - + + + + namespace :admin do - resources :file_tunel_files do + resources :file_tunel_files do member do - + end collection do - + end - end - - resources :file_tunel_downloads do + end + + resources :file_tunel_downloads do member do - + end collection do - + end - end - - resources :file_tunel_sends do + end + + resources :file_tunel_sends do member do get :send_mail end collection do - + end - end - - resources :file_tunels do + end + + resources :file_tunels do member do - + end collection do - + end - end - - resources :mail_hists do + end + + resources :mail_hists do member do - + end collection do - + end - end - - resources :m_odr_remises do + end + + resources :m_odr_remises do member do get :confirm get :export_sepa end collection do get :generate_all - + end - end - - resources :m_odr_virements do + end + + resources :m_odr_virements do member do get :admin_valid get :refuse end collection do - + end - end - - resources :m_odr_trackers do + end + + resources :m_odr_trackers do member do - + end collection do - + end - end - - resources :odr_trackers do + end + + resources :odr_trackers do member do - + end collection do - + end - end - - resources :m_odr_places do + end + + resources :m_odr_places do member do - + end collection do - + end - end - - resources :m_odr_product_remises do + end + + resources :m_odr_product_remises do member do - + end collection do - + end - end - - resources :m_odr_file_types do + end + + resources :m_odr_file_types do member do - + end collection do - + end - end - - resources :m_odr_brands do + end + + resources :m_odr_brands do member do - + end collection do - + end - end - - resources :m_odr_products do + end + + resources :m_odr_products do member do - + end collection do - + end - end - - resources :m_odr_files do + end + + resources :m_odr_files do member do get :download get :send_mail get :rotate end collection do - + end - end - - resources :m_odr_reps do + end + + resources :m_odr_reps do member do get :generate_virement get :send_mail get :refuse - + end collection do - + end - end - - resources :m_odr_rep_ribs do + end + + resources :m_odr_rep_ribs do member do get :send_mail end collection do - + end - end - - resources :m_odrs do + end + + resources :m_odrs do member do - + end collection do - + end - end - - + end + + resources :timer_watchers - - resources :open_ranges do + + resources :open_ranges do member do - + end collection do - + end - end - + end + resources :admin_permissions - resources :p_product_sub_cats do + resources :p_product_sub_cats do member do - + end collection do post :reorder end - end - - resources :market_discounts do + end + + resources :market_discounts do member do - + end collection do - + end - end - - resources :p_commercial_cats do + end + + resources :p_commercial_cats do member do - + end collection do - + end - end - - resources :p_product_features do + end + + resources :p_product_features do member do - + end collection do - + end - end - resources :p_product_feature_cats do + end + resources :p_product_feature_cats do member do - + end collection do - + end - end + end resources :p_product_refs do collection do get :autocomplete end - + member do get :autocomplete_apercu get :get_infos end - + end - resources :p_product_prices do + resources :p_product_prices do member do - + end collection do - + end - end - resources :p_price_cats do + end + resources :p_price_cats do member do - + end collection do - + end - end - - resources :s_brands do + end + + resources :s_brands do member do - + end collection do - + end - end - - resources :tva_rates do + end + + resources :tva_rates do member do - + end collection do - + end - end - - resources :accounting_zones do + end + + resources :accounting_zones do member do - + end collection do - + end - end - - resources :price_documents do + end + + resources :price_documents do member do get :print end collection do get :search_to_affect - - end - end - - resources :price_line_blocks do - member do - - end - collection do - - end - end - - resources :price_lines do - member do - - end - collection do - - end - end - - - + end + end + + resources :price_line_blocks do + member do + + end + collection do + + end + end + + resources :price_lines do + member do + + end + collection do + + end + end + + + + get "navision/index" => "navision#index" get "navision/show" => "navision#show" - + get "navision/export_a_sale" => "navision#export_a_sale" get "navision/export_sale" => "navision#export_sale" get "navision/export_purchase" => "navision#export_purchase" - - get "navision/get_account" => "navision#get_account" - - get "navision/file" => "navision#file" - - - resources :s_compta_accounts do + get "navision/get_account" => "navision#get_account" + + get "navision/file" => "navision#file" + + + + resources :s_compta_accounts do member do - + end collection do - + end - end - + end + resources :i_tasks - resources :i_task_projects do + resources :i_task_projects do member do - + end collection do - + end - end - - resources :s_organisations do + end + + resources :s_organisations do member do - + end collection do - + end - end + end end get ":lang/blog/tags/:tag_id.html"=> "public/articles#tags", :as => :tag_public_articles, :lang => "fr" - - + + get "robots.:f" => "public/seo#robots" get "sitemap.:f" => "public/seo#sitemap" - - - + + + get '/fr', :to => redirect("/fr/index.html") get '/en', :to => redirect("/en/index.html") @@ -604,64 +604,64 @@ Rails.application.routes.draw do scope "(:lang)", locale: /#{I18n.available_locales.join("|")}/ do get "contact.html" =>"public/contacts#new", :defaults => {:raison_id => 1}, :as => :general_contact end - - - get 'u/:id' => 'tiny_urls#show', :as => :tiny_url - - - + + get 'u/:id' => 'tiny_urls#show', :as => :tiny_url + + + + get ":lang/search" => "public/search#search", :as => :search - - - + + + get "evenements/:id.html" => "public/events#show", :as => "public_event" get "evenements.html" => "public/events#index", :as => "public_events" get 'blog/:id.html' => "public/articles#show", :as => "public_article" - - + + get ":lang/blog/archives/:year/:month.html"=> "public/articles#archives", :as => :archive_public_article, :lang => "fr" get ":lang/blog/tags/:id.html"=> "public/articles#tags", :as => :public_tag, :lang => "fr" - - + + get ":lang/blog/categorie/:slug.:f"=> "public/articles#category", :as => :category_public_article, :f => "html", :lang => "fr" - - + + get ':lang/blog/:slug.:f' => 'public/articles#show', :as => :article, :f => "html" get ':lang/blog.:f' => 'public/articles#index', :as => :articles, :f => "html" - - get ':lang/petitions/:slug.:f' => 'public/petitions#show', :as => :petition, :f => "html" - - post ':lang/petitions/:slug.:f' => 'public/petition_signators#create', :as => :public_petition_signators, :f => "html" - - get ':lang/petitions/:slug/sign_by_facebook.:f' => 'public/petition_signators#create', :as => :facebook_public_petition_signator, :f => "html", :by_facebook => true - - - - + get ':lang/petitions/:slug.:f' => 'public/petitions#show', :as => :petition, :f => "html" + + post ':lang/petitions/:slug.:f' => 'public/petition_signators#create', :as => :public_petition_signators, :f => "html" + + get ':lang/petitions/:slug/sign_by_facebook.:f' => 'public/petition_signators#create', :as => :facebook_public_petition_signator, :f => "html", :by_facebook => true + + + + + namespace :public do get "my_account" => "my_account#index" - - + + resources :particulars resources :p_customers - + resources :p_customer_auths do - collection do - + collection do + get :valid_account - + get :password_reset post :save_password_reset - + get :edit_password_reset put :save_edit_password_reset - + get :logout - + get :edit_password put :update_password @@ -670,22 +670,22 @@ Rails.application.routes.draw do resources :contacts resources :m_odr_reps do - + member do get :thank end end - - - - resources :specific_maps + + + + resources :specific_maps resources :specific_map_items - - + + resources :comments - + end - + namespace :portlet do resources :share_contents resources :slide_contents @@ -725,23 +725,23 @@ Rails.application.routes.draw do end end end - + namespace :admin do - + resources :s_site_types resources :s_sites resources :s_module_configurations resources :s_modules resources :s_modules_states resources :a_sites - + resources :p_compta_exports do - member do + member do get :lock end end resources :export_comptas - + resources :p_commercials resources :particulars resources :p_sheet_lines do @@ -750,14 +750,14 @@ Rails.application.routes.draw do get :cancel end end - + resources :p_ship_tour_truck_sheet_lines - + resources :p_remises do collection do post :new_f end - + member do get :print end @@ -775,7 +775,7 @@ Rails.application.routes.draw do post :import get :import_arrondis get :import_lettrage - + end end resources :p_drivers @@ -799,8 +799,8 @@ Rails.application.routes.draw do get :export end end - - + + resources :p_brut_products resources :p_tanks resources :p_products do @@ -809,47 +809,47 @@ Rails.application.routes.draw do get :import get :import2 end - + member do get :autocomplete_apercu end - + end resources :p_fournisseurs do collection do get :import - - + + end - + end - + resources :p_customers do - + resources :p_documents - + member do get :etat get :archive_import end - + collection do get :etat get :autocomplete get :import get :import_cat - + get :import3 - + end - + member do get :autocomplete_apercu end end - + resources :p_customer_cats - + resources :p_ship_tours do member do get :generate_bills @@ -862,23 +862,23 @@ Rails.application.routes.draw do end end resources :p_volucompteurs - - + + resources :p_ship_tour_trucks do - member do + member do post :update_ship_tour_truck_sheet_lines get :urg_ship - + get :new_volucompteur post :create_volucompteur - - - + + + end end resources :p_trucks resources :p_truck_spaces - + resources :p_customer_sheets do member do get :generate_d @@ -890,20 +890,20 @@ Rails.application.routes.draw do get :unreject get :cancel get :uncancel - + get :urg_ship - - + + get :set_sheet_line_ship post :set_sheet_line_ship_save - + end collection do get :affects get :update_stocks end end - + resources :mail_contents resources :mail_templates @@ -915,7 +915,7 @@ Rails.application.routes.draw do end end - + resources :specific_maps do resources :specific_map_items do @@ -923,33 +923,33 @@ Rails.application.routes.draw do get :geoloc end end - + end - - + + resources :edit_watchers resources :specific_preferences resources :popups resources :tiny_urls - + resources :article_authors resources :home_sliders resources :home_slider_slides do - + collection do get :reorder end - + end - - + + resources :timeline_histories resources :timeline_years resources :timeline_contents - - - - + + + + resources :categories do collection do post :reorder @@ -961,27 +961,27 @@ Rails.application.routes.draw do get :edit_menu_items end end - + resources :tags resources :password_resets - + resources :admin_auths do - collection do + collection do get :logout end end - + resources :admins resources :admin_roles - - + + resources :external_links do collection do get :cible end end - - + + resources :menus resources :menu_items do collection do @@ -1023,46 +1023,32 @@ Rails.application.routes.draw do member do get :change_album end - + end resources :cibles - + end - + resources :audio_files resources :video_files resources :download_data_files - + resources :download_odr_files - + get 'fr/read/:token' => "public/data_files#read", :as => :read_data_file get 'admin' => "admin/admin_auths#index" get 'admin/new_site' => "admin/admin_auths#new_site" - - - - get ':lang/*url.html' => 'public/menu_items#show', :as => :menu_item, :f => "html" get ':lang/*url.:f' => 'public/menu_items#redirect', :f => "html" - - get "home2" => redirect('/') - get "plan" => "public/home#plan" - - - get ':slug.html', to: 'public/menu_items#show', :as => :public_m_odr - + root "public/menu_items#index" - - - - - + if !Rails.env.development? #get '*path', to: 'public/menu_items#show' end diff --git a/html_saves/2020_06_07_pneus.html b/html_saves/2020_06_07_pneus.html new file mode 100644 index 0000000..64095e8 --- /dev/null +++ b/html_saves/2020_06_07_pneus.html @@ -0,0 +1,111 @@ + + +
+ + + +
+
+
+
+
+
+

économisez

+
+

30€ remboursés sur vos pneus

+ +

1 planche de stickers

+
+ +
+
+
+
+
+
+

Sa conception Dynamic Front Formula (DDF) associée à une composition de gommes innovante offre une adhérence et des performances améliorées, quelles que soient les conditions.

+

Cela garantit que le Mk3 repousse les limites de ce qui est possible, pour correspondre aux performances des dernières Hypersportives ou Roadster sur vitmainés.

+
+
+
+
+
+
+

90% route

+
+
+
+

10% circuit

+ +
+
+
+
+
+
+
+

La forme du moule du pneu avant a été revue en fonction des besoins des pilotes sur route mais aussi sur circuit. Cela permet un excellent équilibre entre effort au guidon et sensation de grip, une formidable remontée d'information, une grande confiance lors des phases de freinage. La plus haute performance sur vos routes favorites ou sur circuit.

+
+
+
+
+
+
+

50% route

+
+
+
+

50% circuit

+ +
+
+
+
+
+
+
+

Directement dérivé du D212 GP Pro vainqueur à de nombreuses reprises du Isle of Man TT, le GP Racer D212 homologué route procure des performances qui jusqu'à présent étaient réservées aux pneus destinés aux pilotes professionnels.

+
+
+
+
+
+
+

Usage circuit

+ +
+
+
+
+
+
+
+

Directement dérivé du D212 GP Pro, le GP Racer SLICK D212 procure un niveau de performance ultime en terme de grip pour les pilotes engagés en course d'endurance, ou en journée circuit.

+
+
+
+
+
+
+

100% circuit

+ +
+
+ + +
+
+
+
+ +
diff --git a/html_saves/2020_07_08_pneus.html b/html_saves/2020_07_08_pneus.html new file mode 100644 index 0000000..0007159 --- /dev/null +++ b/html_saves/2020_07_08_pneus.html @@ -0,0 +1,95 @@ +
+
+
+

économisez

+

30€ remboursés sur vos pneus

+

1 planche de stickers

+
+ +
+ +
+
+ +

Sa conception Dynamic Front Formula (DDF) associée à une composition de gommes innovante offre une adhérence et des performances améliorées, quelles que soient les conditions.

+

Cela garantit que le Mk3 repousse les limites de ce qui est possible, pour correspondre aux performances des dernières Hypersportives ou Roadster sur vitmainés.

+ +
+
+ +
+
+
+

90% route

+
+
+
+

10% circuit

+ + +
+
+ +
+ +
+
+ +

La forme du moule du pneu avant a été revue en fonction des besoins des pilotes sur route mais aussi sur circuit. Cela permet un excellent équilibre entre effort au guidon et sensation de grip, une formidable remontée d'information, une grande confiance lors des phases de freinage. La plus haute performance sur vos routes favorites ou sur circuit.

+ +
+
+ +
+
+
+

50% route

+
+
+
+

50% circuit

+ + +
+
+ +
+ +
+
+ +

Directement dérivé du D212 GP Pro vainqueur à de nombreuses reprises du Isle of Man TT, le GP Racer D212 homologué route procure des performances qui jusqu'à présent étaient réservées aux pneus destinés aux pilotes professionnels.

+ +
+
+ +
+
+
+

Usage circuit

+ + +
+
+ +
+ +
+
+ +

Directement dérivé du D212 GP Pro, le GP Racer SLICK D212 procure un niveau de performance ultime en terme de grip pour les pilotes engagés en course d'endurance, ou en journée circuit.

+ +
+
+ +
+
+
+

100% circuit

+ + +
+
+ +
+