Commit 82996bc1 by Nate Hardison Committed by Jason Bau

Base password reset templates on main layout

Adjust the password reset templates to use the same base layout as
the rest of the Django templates: lms/templates/main_django.html.
parent 4b26cf82
{% extends "main_django.html" %}
{% load i18n %} {% load i18n %}
{% load compressed %}
{% load staticfiles %} {% load staticfiles %}
<!DOCTYPE html> {% block title %}<title>Your Password Reset is Complete</title>{% endblock %}
<html>
<head>
<title>Your Password Reset is Complete</title>
{% compressed_css 'application' %}
{% block headextra %}
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="{% static 'js/html5shiv.js' %}"></script> <script src="{% static 'js/html5shiv.js' %}"></script>
<![endif]--> <![endif]-->
...@@ -36,20 +31,11 @@ ...@@ -36,20 +31,11 @@
}); });
}); });
</script> </script>
{% endblock %}
</head> {% block bodyclass %}view-passwordreset{% endblock %}
<body class="view-passwordreset">
<header class="global">
<nav>
<h1 class="logo">
<a href="{{MKTG_URL_ROOT}}"><img src="/static/images/header-logo.png"></a>
</h1>
</nav>
</header>
<section class="content-wrapper"> {% block body %}
<section class="passwordreset container"> <section class="passwordreset container">
<section class="introduction"> <section class="introduction">
<header> <header>
...@@ -63,4 +49,4 @@ ...@@ -63,4 +49,4 @@
</section> </section>
{% endblock %} {% endblock %}
</section> </section>
</section> {% endblock %}
{% load compressed %} {% extends "main_django.html" %}
{% load staticfiles %} {% load staticfiles %}
<!DOCTYPE html> {% block title %}<title>Reset Your edX Password</title>{% endblock %}
<html>
<head>
<title>Reset Your edX Password</title>
{% compressed_css 'application' %}
{% block headextra %}
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="{% static 'js/html5shiv.js' %}"></script> <script src="{% static 'js/html5shiv.js' %}"></script>
<![endif]--> <![endif]-->
...@@ -35,20 +30,11 @@ ...@@ -35,20 +30,11 @@
}); });
}); });
</script> </script>
{% endblock %}
</head> {% block bodyclass %}view-passwordreset{% endblock %}
<body class="view-passwordreset">
<header class="global">
<nav>
<h1 class="logo">
<a href="{{MKTG_URL_ROOT}}"><img src="/static/images/header-logo.png"></a>
</h1>
</nav>
</header>
<section class="content-wrapper"> {% block body %}
<section class="passwordreset container"> <section class="passwordreset container">
<section class="introduction"> <section class="introduction">
<header> <header>
...@@ -128,4 +114,4 @@ ...@@ -128,4 +114,4 @@
</div> </div>
</aside> </aside>
</section> </section>
</section> {% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment