Commit e09310e9 by Kyle Fiedler

added fix for error pages and for password reset page

parent 3966a068
<%inherit file="main.html" /> <%inherit file="main.html" />
<section class="activation"> <section class="outside-app">
<h1>Page not found</h1> <h1>Page not found</h1>
<p>The page that you were looking for was not found. Go back to the <a href="/">homepage</a> or let us know about any pages that may have been moved at <a href="mailto:technical@mitx.mit.edu">technical@mitx.mit.edu</a>.</p> <p>The page that you were looking for was not found. Go back to the <a href="/">homepage</a> or let us know about any pages that may have been moved at <a href="mailto:technical@mitx.mit.edu">technical@mitx.mit.edu</a>.</p>
</section> </section>
<!DOCTYPE html>
<html>
<head>
<title>Reset password - MITx 6.002x</title>
<link rel="stylesheet" href="/static/css/application.css" type="text/css" media="all" />
<!--[if lt IE 9]>
<script src="/static/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
{% block content %} {% block content %}
<section class="outside-app">
{% if validlink %} {% if validlink %}
...@@ -22,4 +38,8 @@ ...@@ -22,4 +38,8 @@
{% endif %} {% endif %}
</section>
{% endblock %} {% endblock %}
</body>
</html>
...@@ -29,5 +29,15 @@ html { ...@@ -29,5 +29,15 @@ html {
margin-top: lh(.5); margin-top: lh(.5);
} }
} }
section.outside-app {
@extend .main-content;
max-width: 600px;
padding: lh();
#{$all-text-inputs} {
display: block;
}
}
} }
} }
<%inherit file="main.html" /> <%inherit file="main.html" />
<section class="activation"> <section class="outside-app">
<h1>Currently the <em>MITx</em> servers are down</h1> <h1>Currently the <em>MITx</em> servers are down</h1>
<p>Our staff is currently working to get the site back up as soon as possible. Please email us at <a href="mailto:technical@mitx.mit.edu">technical@mitx.mit.edu</a> to report any problems or downtime.</p> <p>Our staff is currently working to get the site back up as soon as possible. Please email us at <a href="mailto:technical@mitx.mit.edu">technical@mitx.mit.edu</a> to report any problems or downtime.</p>
</section> </section>
<%inherit file="main.html" /> <%inherit file="main.html" />
<section class="activation"> <section class="outside-app">
<h1>There has been an error on the <em>MITx</em> servers</h1> <h1>There has been an error on the <em>MITx</em> servers</h1>
<p>Our staff is currently working to get the site back up as soon as possible. Please email us at <a href="mailto:technical@mitx.mit.edu">technical@mitx.mit.edu</a> to report any problems or downtime.</p> <p>Our staff is currently working to get the site back up as soon as possible. Please email us at <a href="mailto:technical@mitx.mit.edu">technical@mitx.mit.edu</a> to report any problems or downtime.</p>
</section> </section>
<%inherit file="main.html" /> <%inherit file="main.html" />
<section class="activation"> <section class="outside-app">
<h1>Currently the <em>MITx</em> servers are overloaded</h1> <h1>Currently the <em>MITx</em> servers are overloaded</h1>
<p>Our staff is currently working to get the site back up as soon as possible. Please email us at <a href="mailto:technical@mitx.mit.edu">technical@mitx.mit.edu</a> to report any problems or downtime.</p> <p>Our staff is currently working to get the site back up as soon as possible. Please email us at <a href="mailto:technical@mitx.mit.edu">technical@mitx.mit.edu</a> to report any problems or downtime.</p>
</section> </section>
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