{% extends "main_django.html" %}
{% load i18n %}
{% load staticfiles %}
{% block title %}<title>Your Password Reset is Complete</title>{% endblock %}

{% block headextra %}
  <!--[if lt IE 9]>
  <script src="{% static 'js/html5shiv.js' %}"></script>
  <![endif]-->

  <script type="text/javascript">
    $(function() {

      var view_name = 'view-passwordreset';

      // adding js class for styling with accessibility in mind
      $('body').addClass('js').addClass(view_name);

      // new window/tab opening
      $('a[rel="external"], a[class="new-vp"]')
      .click( function() {
      window.open( $(this).attr('href') );
      return false;
      });

      // form field label styling on focus
      $("form :input").focus(function() {
        $("label[for='" + this.id + "']").parent().addClass("is-focused");
      }).blur(function() {
        $("label").parent().removeClass("is-focused");
      });
    });
  </script>
{% endblock %}

{% block bodyclass %}view-passwordreset{% endblock %}

{% block body %}
  <section class="passwordreset container">
    <section class="introduction">
      <header>
        <h1>Your Password Reset is Complete</h1>
      </header>
    </section>

    {% block content %}
    <section role="main" class="content">
      <p>Your password has been set.  You may go ahead and <a href="/login">log in</a> now.</a>.</p>
    </section>
    {% endblock %}
  </section>
{% endblock %}
