<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Homguru - Change Password</title>
    <meta charset="utf-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, shrink-to-fit=no"
    />
    <link
      rel="icon"
      type="image/x-icon"
      href="<%- baseUrl %>/images/favicon.png"
    />
    <link
      href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
      rel="stylesheet"
    />

    <link
      rel="stylesheet"
      href="<%- baseUrl %>/css/open-iconic-bootstrap.min.css"
    />
    <link rel="stylesheet" href="<%- baseUrl %>/css/animate.css" />

    <link rel="stylesheet" href="<%- baseUrl %>/css/owl.carousel.min.css" />
    <link
      rel="stylesheet"
      href="<%- baseUrl %>/css/owl.theme.default.min.css"
    />
    <link rel="stylesheet" href="<%- baseUrl %>/css/magnific-popup.css" />

    <link rel="stylesheet" href="<%- baseUrl %>/css/aos.css" />

    <link rel="stylesheet" href="<%- baseUrl %>/css/ionicons.min.css" />

    <link rel="stylesheet" href="<%- baseUrl %>/css/bootstrap-datepicker.css" />
    <link rel="stylesheet" href="<%- baseUrl %>/css/jquery.timepicker.css" />

    <link rel="stylesheet" href="<%- baseUrl %>/css/flaticon.css" />
    <link rel="stylesheet" href="<%- baseUrl %>/css/icomoon.css" />
    <link rel="stylesheet" href="<%- baseUrl %>/css/style.css" />
    <style>
      @media screen and (max-width: 600px) {
        .contact-form {
          width: 100% !important;
        }
        .forget-password {
          text-align: left !important;
        }
      }
    </style>
  </head>
  <body style="overflow: hidden">
    <div
      class="hero-wrap"
      style="background-image: url('<%- baseUrl %>/images/bg_2.jpg')"
      data-stellar-background-ratio="0.5"
    >
      <div class="overlay"></div>
      <div class="overlay-2"></div>
      <div class="container">
        <div
          class="row no-gutters slider-text justify-content-center align-items-center"
          style="width: 100% !important"
        >
          <div
            class="row block-9 justify-content-center mb-5"
            style="width: 100%"
          >
            <div
              class="col-md-12 align-items-stretch d-flex"
              style="display: flex !important; justify-content: center"
            >
              <form
                action="/confirmPasswordProcess"
                method="post"
                class="bg-light p-5 contact-form"
                style="width: 44%"
              >
                <h2 style="display: flex; justify-content: center">
                  Change Password
                </h2>
                <% if(successMessage){ %>
                <div class="alert alert-success">
                  <strong>Success!</strong> <%- successMessage %>
                </div>
                <% } %> <% if(errorMessage){ %>
                <div class="alert alert-danger">
                  <strong>Error!</strong> <%- errorMessage %>
                </div>
                <% } %>
                <div class="form-group">
                  <input
                    type="text"
                    class="form-control"
                    name="password"
                    placeholder="New Password"
                    required
                  />
                </div>
                <input type="hidden" name="code" value="<%- code %>" />
                <div class="form-group">
                  <input
                    type="text"
                    class="form-control"
                    name="confirmPassword"
                    placeholder="Confirm Password"
                    required
                  />
                </div>
                <div class="row">
                  <div class="col-md-6 col-sm-12">
                    <div class="form-group">
                      <input
                        type="submit"
                        value="Confirm Password"
                        class="btn btn-primary py-3 px-5"
                      />
                    </div>
                  </div>
                </div>
                <div class="row">
                  <div class="col-md-6 col-sm-12">
                    <span>Have an account? </span><a href="/login">Login</a>
                  </div>
                  <div class="col-md-6 col-sm-6"></div>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- loader -->
    <div id="ftco-loader" class="show fullscreen">
      <svg class="circular" width="48px" height="48px">
        <circle
          class="path-bg"
          cx="24"
          cy="24"
          r="22"
          fill="none"
          stroke-width="4"
          stroke="#eeeeee"
        />
        <circle
          class="path"
          cx="24"
          cy="24"
          r="22"
          fill="none"
          stroke-width="4"
          stroke-miterlimit="10"
          stroke="#F96D00"
        />
      </svg>
    </div>

    <script src="<%- baseUrl %>/js/jquery.min.js"></script>
    <script src="<%- baseUrl %>/js/jquery-migrate-3.0.1.min.js"></script>
    <script src="<%- baseUrl %>/js/popper.min.js"></script>
    <script src="<%- baseUrl %>/js/bootstrap.min.js"></script>
    <script src="<%- baseUrl %>/js/jquery.easing.1.3.js"></script>
    <script src="<%- baseUrl %>/js/jquery.waypoints.min.js"></script>
    <script src="<%- baseUrl %>/js/jquery.stellar.min.js"></script>
    <script src="<%- baseUrl %>/js/owl.carousel.min.js"></script>
    <script src="<%- baseUrl %>/js/jquery.magnific-popup.min.js"></script>
    <script src="<%- baseUrl %>/js/aos.js"></script>
    <script src="<%- baseUrl %>/js/jquery.animateNumber.min.js"></script>
    <script src="<%- baseUrl %>/js/bootstrap-datepicker.js"></script>
    <script src="<%- baseUrl %>/js/jquery.timepicker.min.js"></script>
    <script src="<%- baseUrl %>/js/scrollax.min.js"></script>
    <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBVWaKrjvy3MaE7SQ74_uJiULgl1JY0H2s&sensor=false"></script>
    <script src="<%- baseUrl %>/js/google-map.js"></script>
    <script src="<%- baseUrl %>/js/main.js"></script>
    <script>
      setTimeout(() => {
        $(".alert").hide();
      }, 4000);
    </script>
  </body>
</html>
