Sfoglia il codice sorgente

fix bug form devis

ouidade 2 anni fa
parent
commit
c7262233b2

+ 7 - 7
user/config/plugins/email.yaml

@@ -1,6 +1,6 @@
 enabled: true
-from: dev@figureslibres.io
-from_name: null
+from: contact@figureslibres.io
+from_name: 'Le Campus'
 to: ouidade@figureslibres.io
 to_name: null
 queue:
@@ -11,16 +11,16 @@ queue:
 mailer:
   engine: sendmail
   smtp:
-    server: smtp.mailtrap.io
-    port: 2525
+    server: null
+    port: null
     encryption: none
-    user: 5d9e29d57426c3
+    user: null
     password: a207c1682777ef
     auth_mode: null
   sendmail:
-    bin: '/usr/sbin/sendmail -bs'
+    bin: '/usr/sbin/sendmail -t'
 content_type: text/html
-debug: false
+debug: true
 charset: null
 cc: null
 cc_name: null

+ 2 - 1
user/themes/lecampus/css-compiled/theme.css

@@ -1778,7 +1778,8 @@ header nav.dropmenu > ul {
         border-radius: 30px;
         padding: 10px 35px;
         box-shadow: none;
-        border: 0; }
+        border: 0;
+        cursor: pointer; }
   .start#form .body-wrapper #send-valide {
     -webkit-transform: translate(-50%, -50%);
     transform: translate(-50%, -50%);

+ 3 - 3
user/themes/lecampus/js/site.js

@@ -105,7 +105,7 @@ function links() {
 }
 
 function clickbutton() {
-  var $button = $('#ajax-test-form .radio label');
+  var $button = $('#devis-form .radio label');
 
   $button.on('click', function(){
     $(this).parents('.form-data').find('.check').removeClass('check');
@@ -183,7 +183,7 @@ function ajaxformulaire() {
     location.reload();
   });
 
-  var form = $('#ajax-test-form');
+  var form = $('#devis-form');
   form.submit(function(e) {
       // prevent form submission
       e.preventDefault();
@@ -272,7 +272,7 @@ jQuery(document).ready(function(){
     "readmoreLink": "/cookiespolicy" /* Change the default readmore link */
   });
 
-  // ajaxformulaire();
+  ajaxformulaire();
   addclass();
   mapsalles();
   clickbutton();

+ 1 - 0
user/themes/lecampus/scss/theme/_form.scss

@@ -89,6 +89,7 @@
           padding: 10px 35px;
           box-shadow:none;
           border:0;
+          cursor: pointer;
         }
       }
     }