vlcsolutions commited on
Commit
6e6ab76
·
verified ·
1 Parent(s): 0ff458a

Manual changes saved

Browse files
Files changed (1) hide show
  1. index.html +22 -17
index.html CHANGED
@@ -473,10 +473,7 @@
473
  <img src="http://static.photos/technology/320x240/1" alt="Questions" class="w-full h-40 object-cover rounded mb-4">
474
  <h4 class="text-xl font-bold text-[var(--vlc-navy)] mb-2">Essential Questions to Ask</h4>
475
  <p class="text-gray-600 mb-4">With a cloud-based solution, these are some of the main questions that should be asked to potential providers.</p>
476
- <form action="Ask_sendEmailToCustomer.php" method="post" class="w-full">
477
- <input type="hidden" name="resource" value="Essential Questions to Ask">
478
- <button type="submit" class="btn-primary w-full py-2 rounded-md font-medium">Download</button>
479
- </form>
480
  </div>
481
  <div class="bg-white p-6 rounded-lg shadow-md" data-aos="fade-up" data-aos-delay="100">
482
  <img src="http://static.photos/technology/320x240/2" alt="Migrating From GP to dynamics 365 business central" class="w-full h-40 object-cover rounded mb-4">
@@ -488,26 +485,20 @@
488
  <img src="http://static.photos/technology/320x240/3" alt="Empower your Organization in the Cloud" class="w-full h-40 object-cover rounded mb-4">
489
  <h4 class="text-xl font-bold text-[var(--vlc-navy)] mb-2">Enhance Your Organization in the Cloud</h4>
490
  <p class="text-gray-600 mb-4">Learn how the cloud-based ERP in Microsoft can enable your business to be efficient and grow.</p>
491
- <form action="empower_organization.php" method="post" class="w-full">
492
- <input type="hidden" name="resource" value="Enhance Your Organization in the Cloud">
493
- <button type="submit" class="btn-primary w-full py-2 rounded-md font-medium">Download</button>
494
- </form>
495
  </div>
496
  <div class="bg-white p-6 rounded-lg shadow-md" data-aos="fade-up" data-aos-delay="200">
497
  <img src="http://static.photos/technology/320x240/4" alt="Accurate Business Decision" class="w-full h-40 object-cover rounded mb-4">
498
  <h4 class="text-xl font-bold text-[var(--vlc-navy)] mb-2">Make intelligent Business Decisions</h4>
499
  <p class="text-gray-600 mb-4">By using Business Central, transform data into intelligent insights and make smart and quick decisions with the help of administrators and employees.</p>
500
- <form action="sendEmailtoABD.php" method="post" class="w-full">
501
- <input type="hidden" name="resource" value="Make intelligent Business Decisions">
502
- <button type="submit" class="btn-primary w-full py-2 rounded-md font-medium">Download</button>
503
- </form>
504
  </div>
505
  </div>
506
  </div>
507
  </section>
508
  <!-- Download Modal -->
509
- <form id="send_email_to_vM_customer" action="./sendEmailtoABD.php" method="post">
510
- <div id="downloadModal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
511
  <div class="bg-white p-8 rounded-lg max-w-md w-full mx-4 relative">
512
  <button onclick="closeDownloadModal()" class="absolute top-4 right-4 text-gray-500 hover:text-gray-700" style="cursor:pointer;">
513
  <i data-feather="x" class="w-6 h-6"></i>
@@ -520,8 +511,8 @@
520
  <span id="VMerror" style="display:none;color:red;">Please enter valid business email.</span>
521
  <input style="width: 100%; border-radius: 5px;" name="vM_customer_email" id="vM_customer_email"
522
  type="text" placeholder="EMail*" required autocomplete="off"/>
523
- <input type="hidden" id="downloadResource" name="resource" value="">
524
- <input type="submit" value="Submit" id="VMask_question" class="w-full btn-primary py-3 rounded-md font-medium"/>
525
  <input type="hidden" id="g-recaptcha-response-three" name="g-recaptcha-response-three">
526
  <input type="hidden" name="action" value="validate_captcha_three">
527
  </div>
@@ -586,7 +577,21 @@
586
  </div>
587
  </footer>
588
  <script>
589
- // Keep only the form validation function
 
 
 
 
 
 
 
 
 
 
 
 
 
 
590
  // Handle form submission
591
  document.getElementById('send_email_to_vM_customer').addEventListener('submit', function(e) {
592
  e.preventDefault();
 
473
  <img src="http://static.photos/technology/320x240/1" alt="Questions" class="w-full h-40 object-cover rounded mb-4">
474
  <h4 class="text-xl font-bold text-[var(--vlc-navy)] mb-2">Essential Questions to Ask</h4>
475
  <p class="text-gray-600 mb-4">With a cloud-based solution, these are some of the main questions that should be asked to potential providers.</p>
476
+ <button class="btn-primary w-full py-2 rounded-md font-medium" onclick="document.getElementById('downloadResource').value='Essential Questions to Ask'; openDownloadModal()">Download</button>
 
 
 
477
  </div>
478
  <div class="bg-white p-6 rounded-lg shadow-md" data-aos="fade-up" data-aos-delay="100">
479
  <img src="http://static.photos/technology/320x240/2" alt="Migrating From GP to dynamics 365 business central" class="w-full h-40 object-cover rounded mb-4">
 
485
  <img src="http://static.photos/technology/320x240/3" alt="Empower your Organization in the Cloud" class="w-full h-40 object-cover rounded mb-4">
486
  <h4 class="text-xl font-bold text-[var(--vlc-navy)] mb-2">Enhance Your Organization in the Cloud</h4>
487
  <p class="text-gray-600 mb-4">Learn how the cloud-based ERP in Microsoft can enable your business to be efficient and grow.</p>
488
+ <button class="btn-primary w-full py-2 rounded-md font-medium" onclick="document.getElementById('downloadResource').value='Enhance Your Organization in the Cloud'; openDownloadModal()">Download</button>
 
 
 
489
  </div>
490
  <div class="bg-white p-6 rounded-lg shadow-md" data-aos="fade-up" data-aos-delay="200">
491
  <img src="http://static.photos/technology/320x240/4" alt="Accurate Business Decision" class="w-full h-40 object-cover rounded mb-4">
492
  <h4 class="text-xl font-bold text-[var(--vlc-navy)] mb-2">Make intelligent Business Decisions</h4>
493
  <p class="text-gray-600 mb-4">By using Business Central, transform data into intelligent insights and make smart and quick decisions with the help of administrators and employees.</p>
494
+ <button class="btn-primary w-full py-2 rounded-md font-medium" onclick="document.getElementById('downloadResource').value='Make intelligent Business Decisions'; openDownloadModal()">Download</button>
 
 
 
495
  </div>
496
  </div>
497
  </div>
498
  </section>
499
  <!-- Download Modal -->
500
+ <form id="send_email_to_vM_customer" action="./sendEmailtoABD.php"" method="post">
501
+ <div id="downloadModal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
502
  <div class="bg-white p-8 rounded-lg max-w-md w-full mx-4 relative">
503
  <button onclick="closeDownloadModal()" class="absolute top-4 right-4 text-gray-500 hover:text-gray-700" style="cursor:pointer;">
504
  <i data-feather="x" class="w-6 h-6"></i>
 
511
  <span id="VMerror" style="display:none;color:red;">Please enter valid business email.</span>
512
  <input style="width: 100%; border-radius: 5px;" name="vM_customer_email" id="vM_customer_email"
513
  type="text" placeholder="EMail*" required autocomplete="off"/>
514
+ <input type="hidden" id="downloadResource" name="resource">
515
+ <input type="submit" value="Submit" id="VMask_question" class="w-full btn-primary py-3 rounded-md font-medium"/>
516
  <input type="hidden" id="g-recaptcha-response-three" name="g-recaptcha-response-three">
517
  <input type="hidden" name="action" value="validate_captcha_three">
518
  </div>
 
577
  </div>
578
  </footer>
579
  <script>
580
+ // Download modal functions
581
+ function openDownloadModal(resourceName) {
582
+ document.getElementById('downloadResource').value = resourceName;
583
+ document.getElementById('downloadModal').classList.remove('hidden');
584
+ document.body.style.overflow = 'hidden';
585
+ document.getElementById('downloadModal').style.display = 'flex';
586
+ }
587
+ function closeDownloadModal() {
588
+ const modal = document.getElementById('downloadModal');
589
+ modal.classList.add('hidden');
590
+ document.body.style.overflow = 'auto';
591
+ setTimeout(() => {
592
+ modal.style.display = 'none';
593
+ }, 300); // Match the CSS transition duration
594
+ }
595
  // Handle form submission
596
  document.getElementById('send_email_to_vM_customer').addEventListener('submit', function(e) {
597
  e.preventDefault();