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 compressed %}
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
<title>Your Password Reset is Complete</title>
{% compressed_css 'application' %}
{% block title %}<title>Your Password Reset is Complete</title>{% endblock %}
{% block headextra %}
<!--[if lt IE 9]>
<script src="{% static 'js/html5shiv.js' %}"></script>
<![endif]-->
......@@ -36,20 +31,11 @@
});
});
</script>
{% endblock %}
</head>
<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>
{% block bodyclass %}view-passwordreset{% endblock %}
<section class="content-wrapper">
{% block body %}
<section class="passwordreset container">
<section class="introduction">
<header>
......@@ -63,4 +49,4 @@
</section>
{% endblock %}
</section>
</section>
{% endblock %}
{% load compressed %}
{% extends "main_django.html" %}
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
<title>Reset Your edX Password</title>
{% compressed_css 'application' %}
{% block title %}<title>Reset Your edX Password</title>{% endblock %}
{% block headextra %}
<!--[if lt IE 9]>
<script src="{% static 'js/html5shiv.js' %}"></script>
<![endif]-->
......@@ -35,20 +30,11 @@
});
});
</script>
{% endblock %}
</head>
<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>
{% block bodyclass %}view-passwordreset{% endblock %}
<section class="content-wrapper">
{% block body %}
<section class="passwordreset container">
<section class="introduction">
<header>
......@@ -128,4 +114,4 @@
</div>
</aside>
</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