{% load static %}
{% load i18n %}
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{{ GLOBAL_APPNAME|default:"Cavaliba" }} — {% translate "Password changed" %}</title>
  <link rel="stylesheet" href="{% static 'v2/bootstrap533.min.css' %}" crossorigin="anonymous">
  <link rel="stylesheet" href="{% static 'v2/font-awesome-4.7.0/css/font-awesome.min.css' %}">
</head>

<body class="min-vh-100 d-flex p-0">
  <div class="row g-0 w-100">

    <!-- Left panel -->
    <div class="col-md-6 d-flex flex-column justify-content-center align-items-center bg-white py-5">
      <div class="row justify-content-center w-100 px-3">
        <div class="col-12 col-sm-10 col-lg-9 text-center">

          <img src="{% static 'logo.png' %}" alt="logo" width="48" height="48" class="mb-3">
          <h1 class="h4 fw-bold text-dark mb-1">{{ GLOBAL_APPNAME|default:"Cavaliba" }}</h1>

          <div class="alert alert-success mt-4 py-4 px-4">
            <i class="fa fa-check-circle fa-2x text-success mb-3 d-block"></i>
            <p class="fw-semibold mb-1">{% translate "Password changed successfully." %}</p>
            <p class="small mb-0">{% translate "Your new password is now active." %}</p>
          </div>

          <a href="{% url 'login' %}" class="btn btn-primary w-100 py-2 fw-semibold mt-3">
            {% translate "Back to sign in" %}
          </a>

          <p class="text-muted small mt-5">&copy; cavaliba.com</p>

        </div>
      </div>
    </div>

    <!-- Right panel: photo -->
    <div class="col-md-6 d-none d-md-block position-relative">
      <img
        src="{% static 'queyras2.jpg' %}"
        alt="Queyras"
        class="position-absolute top-0 start-0 w-100 h-100 object-fit-cover"
      >
      <div class="position-absolute top-0 start-0 w-100 h-100 bg-primary bg-opacity-25"></div>
    </div>

  </div>

  <script src="{% static 'v2/jquery.371.min.js' %}" crossorigin="anonymous"></script>
  <script src="{% static 'v2/bootstrap533.bundle.min.js' %}" crossorigin="anonymous"></script>

</body>
</html>
