templates/front/inc/newsletter.html.twig line 1

Open in your IDE?
  1. <script type="text/javascript" src="https://forms.sbc33.com/form.js"></script>
  2. <style>
  3.     @import url(https://fonts.googleapis.com/css?family=Bree+Serif|Ubuntu|Dancing+Script|Droid+Sans|Lato|Lobster|Montserrat|Open+Sans|Pacifico|Raleway|Roboto|Source+Sans+Pro|Titillium+Web&amp;subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese);
  4.     #form-header-title {
  5.         color: #393939;
  6.         font-family: Arial, Verdana, sans-serif;
  7.         font-size: 25px;
  8.         display: block;
  9.         text-align: center;
  10.         margin-bottom: 30px;
  11.     }
  12.     #label-EMAIL_ID {
  13.         color: #393939;
  14.         font-family: Arial, Verdana, sans-serif;
  15.         font-size: 14px;
  16.         margin-bottom: 8px;
  17.     }
  18.     #input-email {
  19.         border: 1px solid #e6e4e4;
  20.         background-color: #f1f1f1;
  21.         height: 35px;
  22.         margin: 5px 0 18px 0;
  23.         font-size: 0.9em;
  24.         padding-left: 5px;
  25.         border-radius: 0px;
  26.         -webkit-border-radius: 0px;
  27.         -moz-border-radius: 0px;
  28.         -webkit-box-sizing: border-box;
  29.         box-sizing: border-box;
  30.         text-indent: 5px;
  31.         width: 100%;
  32.     }
  33.     #form-mandatory {
  34.         font-size: 13px;
  35.         margin-left: 5px;
  36.         font-family: Arial, Verdana, sans-serif;
  37.         color: #393939;
  38.     }
  39.     input::-webkit-input-placeholder, input:-moz-placeholder, input::-moz-placeholder, input:-ms-input-placeholder, input::-ms-input-placeholder {
  40.         color: #848484;
  41.         opacity: 0.6;
  42.     }
  43.     select {
  44.         -webkit-appearance:none;
  45.         -moz-appearance:none;
  46.         appearance:none;
  47.         cursor:pointer;
  48.     }
  49.     @media screen and (-webkit-min-device-pixel-ratio:0) {
  50.         select {padding-right:18px}
  51.     }
  52.     .select-arrow {
  53.         position:relative;
  54.     }
  55.     .select-arrow:after {
  56.         content:'^';
  57.         font:15px "Consolas", monospace;
  58.         color: #848484;
  59.         -webkit-transform:rotate(180deg);
  60.         -moz-transform:rotate(180deg);
  61.         -ms-transform:rotate(180deg);
  62.         transform:rotate(180deg);
  63.         right:8px; top:-3px;
  64.         padding:0 0 0px;
  65.         position:absolute;
  66.         pointer-events:none;
  67.     }
  68.     .control {
  69.         display: block;
  70.         position: relative;
  71.         padding-left: 30px;
  72.         margin-left: 5px;
  73.         margin-right: 6px;
  74.         cursor: pointer;
  75.         font-size: 18px;
  76.     }
  77.     .control input {
  78.         position: absolute;
  79.         z-index: -1;
  80.         opacity: 0;
  81.     }
  82.     .control__indicator {
  83.         position: absolute;
  84.         border: 1px solid;
  85.         top: 2px;
  86.         left: 0;
  87.         height: 20px;
  88.         width: 20px;
  89.         border-radius: 3px;
  90.         -webkit-border-radius: 3px;
  91.         -moz-border-radius: 3px;
  92.     }
  93.     .control--radio .control__indicator {
  94.         border-radius: 50%;
  95.     }
  96.     .control__indicator:after {
  97.         content: '';
  98.         position: absolute;
  99.         display: none;
  100.     }
  101.     .control input:checked ~ .control__indicator:after {
  102.         display: block;
  103.     }
  104.     .control--checkbox .control__indicator:after {
  105.         left: 8px;
  106.         top: 4px;
  107.         width: 3px;
  108.         height: 8px;
  109.         transform: rotate(45deg);
  110.         border-style: solid;
  111.         border-color: #848484;
  112.         border-width: 0 2px 2px 0;
  113.         position: absolute;
  114.     }
  115.     .control--radio .control__indicator:after {
  116.         left: 7px;
  117.         top: 7px;
  118.         height: 6px;
  119.         width: 6px;
  120.         border-radius: 50%;
  121.         background: #848484;
  122.         position: absolute;
  123.     }
  124.     input[type="number"]::-webkit-inner-spin-button {
  125.         -webkit-appearance: none;
  126.     }
  127.     input[type="number"] {
  128.         -moz-appearance: textfield;
  129.     }
  130.     input:focus {
  131.         outline: solid 1px #736F6F !important;
  132.     }
  133.     textarea:focus {
  134.         outline: solid 1px #736F6F !important;
  135.     }
  136.     select:focus {
  137.         outline: solid 1px #736F6F !important;
  138.     }
  139.     input:disabled,
  140.     input[disabled]{
  141.         opacity: 0.2;
  142.         cursor: default;
  143.     }
  144.     .loader,
  145.     .loader:after {
  146.         border-radius: 50%;
  147.         width: 1.8em;
  148.         height: 1.8em;
  149.     }
  150.     .loader {
  151.         margin-top: 5px;
  152.         margin-left: 10px;
  153.         font-size: 10px;
  154.         position: relative;
  155.         border: 0.5em solid #919798;
  156.         border-left-color: #3c9f51;
  157.         -webkit-transform: translateZ(0);
  158.         -ms-transform: translateZ(0);
  159.         transform: translateZ(0);
  160.         -webkit-animation: load8 1s infinite linear;
  161.         animation: load8 1s infinite linear;
  162.     }
  163.     @-webkit-keyframes load8 {
  164.         0% {
  165.             -webkit-transform: rotate(0deg);
  166.             transform: rotate(0deg);
  167.         }
  168.         100% {
  169.             -webkit-transform: rotate(360deg);
  170.             transform: rotate(360deg);
  171.         }
  172.     }
  173.     @keyframes load8 {
  174.         0% {
  175.             -webkit-transform: rotate(0deg);
  176.             transform: rotate(0deg);
  177.         }
  178.         100% {
  179.             -webkit-transform: rotate(360deg);
  180.             transform: rotate(360deg);
  181.         }
  182.     }
  183.     #sb_form {
  184.         background: #ffffff;
  185.         padding: 10px 20px 20px 20px;
  186.         border-radius: 0px;
  187.     }
  188.     input {
  189.         color: #848484 !important;
  190.     }
  191.     #div-submitInput {
  192.         display: flex;
  193.         flex-direction: row;
  194.         justify-content: flex-start;
  195.     }
  196.     #submitInput {
  197.         border-style: solid;
  198.         text-align: center;
  199.         color: #ffffff;
  200.         border-color: #ffffff;
  201.         border-width: 1px;
  202.         border-radius: 5px;
  203.         padding: 10px 25px;
  204.         text-decoration: none;
  205.         display: block;
  206.         font-family: &#x27;Arial&#x27;;
  207.         font-style: inherit;
  208.         font-weight: inherit;
  209.         font-size: 15px;
  210.         background-color:#0595d6;
  211.         cursor: pointer;
  212.     }
  213.     #form-footer-mandatory {
  214.         color: #393939;
  215.         font-family: Arial, Verdana, sans-serif;
  216.         font-size: 12px;
  217.         display: block;
  218.         margin-top: 20px;
  219.     }
  220. </style>
  221. <form id="sb_form"
  222.       onsubmit="process2(
  223. 'https://services.sarbacane.com/core/v1/forms/contacts/upsert?listID&#x3D;tJ1tPNW5RNWaP5_DkytH-A&amp;formID&#x3D;IFfOBkq1TUazwnzLt6zMnw&amp;timezone&#x3D;Europe/Paris', 'https://forms.sbc33.com/', '5e833f98b95cee23e8abf69a', 'false', 'message',
  224. '', 'https://services.sarbacane.com/core/v1/transactional/sendmessage/optin', 'Merci', 'Vos informations ont été ajoutées avec succès.',
  225. 'Vous allez recevoir un email', 'Vous devrez cliquer sur le lien de confirmation pour valider votre inscription', 'Erreur',
  226. 'Une erreur inattendue s%27est produite.', 'Le formulaire est en cours d%27édition, veuillez patienter quelques minutes avant d%27essayer à nouveau.', '',
  227. '', ''
  228. );
  229. return false;"
  230.       method="post">
  231.     <label id="form-header-title"></label>
  232.     <span style="display: flex;flex-direction: row;">
  233. <label id="label-EMAIL_ID">Email</label>
  234. <div id="form-mandatory">*</div>
  235. </span>
  236.     <input id="input-email" type="email" name="email" required="true" sb-form-input>
  237.     <div id="div-submitInput" align="left">
  238.         <button id="submitInput" type="submit" value="VALIDER" class="mobile-FW" ><span style="margin:0;">VALIDER</span>
  239.         </button>
  240.         <div class="loader" style="display:none"></div>
  241.     </div>
  242.     <label id="form-footer-mandatory">* Champs obligatoires</label>
  243. </form>