Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

1.7 KB
Raw Blame
<!doctype html>
<html>
  <head>
    <title>Click Test</title>
    <style>
      body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        margin: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      }
      h1 {
        color: white;
        margin-bottom: 30px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
      }
      #click-me {
        padding: 20px 40px;
        font-size: 24px;
        font-weight: bold;
        color: white;
        background: #2196f3;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
      }
      #click-me:hover {
        background: #1976d2;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      }
      #click-me.clicked {
        background: #4caf50;
        cursor: default;
      }
      #status {
        color: white;
        margin-top: 20px;
        font-size: 18px;
      }
    </style>
  </head>
  <body>
    <h1>Simple Click Test</h1>
    <button id="click-me">Click Me!</button>
    <div id="status"></div>

    <script>
      window.__clicked = false;

      document.getElementById('click-me').addEventListener('click', function () {
        if (!window.__clicked) {
          window.__clicked = true;
          this.textContent = 'Clicked!';
          this.classList.add('clicked');
          document.getElementById('status').textContent = 'Task completed successfully!';
        }
      });
    </script>
  </body>
</html>