ets-project-summaries.azurewebsites.net Open in urlscan Pro
20.48.202.165  Public Scan

URL: https://ets-project-summaries.azurewebsites.net/
Submission: On April 27 via api from US — Scanned from CA

Form analysis 1 forms found in the DOM

<form>
  <!-- Email input -->
  <div class="form-outline mb-4">
    <input type="email" id="email" class="form-control form-control-lg" placeholder="Enter a valid email address">
    <label class="form-label" for="email">Email address</label>
  </div>
  <!-- Password input -->
  <div class="form-outline mb-3">
    <input type="password" id="pw" class="form-control form-control-lg" placeholder="Enter password">
    <label class="form-label" for="pw">Password</label>
  </div>
  <div class="d-flex justify-content-between align-items-center">
    <!-- Checkbox -->
    <div class="form-check mb-0">
      <input class="form-check-input me-2" type="checkbox" value="" id="form2Example3" disabled="">
      <label class="form-check-label" for="form2Example3"> Remember me </label>
    </div>
    <!-- <a href="#!" class="text-body" onclick="alert('Please contact your ETOS Representative for password resets.')">Forgot password?</a> -->
  </div>
  <div class="text-center text-lg-start mt-4 pt-2">
    <button type="button" class="btn btn-dark rounded-0 btn-lg" style="padding-left: 2.5rem; padding-right: 2.5rem;" onclick="tryLogin()">Login</button>
  </div>
  <script>
    function tryLogin() {
      const email = document.getElementById('email').value;
      const password = document.getElementById('pw').value;
      fetch('/login', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json'
        },
        body: JSON.stringify({
          email: email,
          password: password
        })
      }).then(response => {
        if (response.redirected) {
          setTimeout(() => {
            window.location = '/ProjectUpdates';
          }, 500);
        } else {
          console.log('Login failed');
        }
      }).catch(error => {
        console.error('An error occurred:', error);
      });
    }
  </script>
</form>

Text Content

PROJECT SUMMARY APP


PLEASE LOG IN:

Email address
Password
Remember me
Login